0.5.5
New Features
- Adds variable reassignment. Variables can be reassigned using the
update
keyword. - Adds note shifting functionality. Note shifting is a kind of variable reassignment that shifts a note left or right by a number of semitones.
Examples:
The snippet below plays E5
for 1 beat.
start
save mynote = E4
update mynote = E5
play mynote for 1b
finish
The example program below uses the note shifting functionality and plays a major scale starting at Bb2
.
start
chunk majorscale using startnote
save mynote = startnote
block
play mynote for 1b
update mynote rshift 2
endblock loop for 3
update mynote lshift 1
block
play mynote for 1b
update mynote rshift 2
endblock loop for 4
update mynote lshift 1
play mynote for 1b
endchunk
save startnote = Bb2
run majorscale using startnote with sound piano
finish