Waveform analysis/Doh ray me: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Link to WP article, added hyphenation)
m (minor rewording)
Line 1: Line 1:
{{draft task}}
{{draft task}}
Analyse a given section of monophonic audio waveform, for average pitch and output one of the musical sol-fa trigraphs (like [[wp:Tonic_sol-fa|these]], except each has three letters) corresponding to average pitch level: Doh, Ray, Mee, Fah, Soh, Lah, Tee, doh.
Analyse a given section of monophonic audio waveform, for average pitch and output one of the sol-fa trigraphs (like [[wp:Tonic_sol-fa|these]], except each has three letters) 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. Extend the scale to cover 21 notes: DOH, RAY, MEE, FAH, SOH, LAH, TEE, Doh, Ray, Mee, Fah, Soh, Lah, Tee, doh, ray, mee, fah, soh, lah, tee.
Optionally, follow the trigraph with a plus or minus symbol, to indicate whether the note falls above or below the solfa. Extend the scale to cover 21 notes: DOH, RAY, MEE, FAH, SOH, LAH, TEE, Doh, Ray, Mee, Fah, Soh, Lah, Tee, doh, ray, mee, fah, soh, lah, tee.


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


{{omit from|AWK}}
{{omit from|AWK}}

Revision as of 21:03, 12 July 2011

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 monophonic audio waveform, for average pitch and output one of the sol-fa trigraphs (like these, except each has three letters) 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. Extend the scale to cover 21 notes: DOH, RAY, MEE, FAH, SOH, LAH, TEE, Doh, Ray, Mee, Fah, Soh, Lah, Tee, doh, ray, mee, fah, soh, lah, tee.

A calibration parameter can be provided to suit different voices. This can be provided as a variable defined within the code.