Created
October 11, 2020 12:18
-
-
Save zeffii/d43471626affe5220e74807d5ea8e1ed to your computer and use it in GitHub Desktop.
the commented code works, but not the loop code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i_num_notes = lenarray(i_notes) | |
;aNewVoice pad_voice i_notes[0], i_duration | |
;aSig += aNewVoice | |
;aNewVoice2 pad_voice i_notes[1], i_duration | |
;aSig += aNewVoice2 | |
;aNewVoice2 pad_voice i_notes[2], i_duration | |
;aSig += aNewVoice2 | |
;aNewVoice2 pad_voice i_notes[3], i_duration | |
;aSig += aNewVoice2 | |
i_index = 0 | |
until i_index == (i_num_notes-1) do | |
aNewVoice pad_voice i_notes[i_index], i_duration | |
aSig += aNewVoice | |
i_index += 1 | |
od | |
aSig /= i_num_notes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment