Musical scale: Difference between revisions
Content deleted Content added
→Tcl: Added implementation |
m or midi file |
||
Line 3: | Line 3: | ||
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. |
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. |
For languages that cannot utilize a sound device, it is permissible to output to a musical score sheet or midi file or the task can be omitted. |
||
=={{header|Lilypond}}== |
=={{header|Lilypond}}== |