Musical scale

From Rosetta Code
Revision as of 21:10, 22 March 2013 by rosettacode>Markhobley (initial draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Musical scale 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.

Output 8 notes of the C major natural diatonic music scale (These are the notes C,D,E,F,G,A,B,c or Do, Ra, Me, Fa, So, La, Te, do on the solfa) to the default musical sound device on the system. For the purpose of this task, middle C should be used as the starting note, and crotchet notes should be used.

For languages that cannot utilize a sound device, it is permissible to output to a musical score or the task can be omitted.