I start playing with the NOTES commands, making an endless 'music' generator. The basis for that is the code herunder.
It occurred to me, that the two tracks, defined in the notes_gen() function are played sequentially and not simultaneously as expected (because they are different channels).
Can the be forced to play simultaneously? A second question: how can channels be indicated (suppose one want to play a percussion track on channel 10)?
Code: Select all
new_song: notes set n$ ! notes play
n$=notes_gen$()
wait: if notes_time()<notes_length() then wait else new_song
end
def notes_gen$()
a$="0:ccc ddd"",""19:we2 f"
return a$
end def