What's new

Delaying the start of virtual notes

jfino

Member
Hi Everyone,
Quick question:

How do I delay the start of each generated note?

Code:
on note
  
    play_note($EVENT_NOTE-12,$EVENT_VELOCITY,0,-1)
    play_note($EVENT_NOTE-5,$EVENT_VELOCITY,0,-1)
    play_note($EVENT_NOTE+3,$EVENT_VELOCITY,0,-1)

end on
Thanks for your help!
 
OP
jfino

jfino

Member
Never mind found an example in the manual :)
Code:
on note
 ignore_event($EVENT_ID)
 wait (500000)
 play_note($EVENT_NOTE,$EVENT_VELOCITY,0,-1)
end on
 
Top Bottom