Waveform analysis/Doh ray me

From Rosetta Code
Revision as of 10:04, 12 July 2011 by rosettacode>Markhobley (initial draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Waveform analysis/Doh ray me is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Analyse a given section of audio waveform, for average pitch and output one of the musical solfa trigraphs corresponding to average pitch level: Doh, ray, mee, fah, soh, lah, tee, doh.

Optionally, follow the trigraph with a plus or minus symbol, to indicate whether the note falls above or below the solfa.

A calibration parameter can be provided to suit different voices. This can be provided as a variable at the top of the code.