RosettaCodeData/Task/Musical-scale/Nanoquery/musical-scale.nanoquery

9 lines
162 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
import tonegen
note_freqs = {261.63, 293.66, 329.63, 349.23, 392.00, 440.00, 493.88, 523.25}
tg = new(tonegen)
for freq in note_freqs
tg.beep(freq)
end