3 ms·
This looks wonderful. I may be missing it from the description, but when I think "procedural" I think that I should be able to change the variables with math,
by SamBam 6y ago
This looks wonderful.
I may be missing it from the description, but when I think "procedural" I think that I should be able to change the variables with math, or at the very least increment variables. Are there any examples of that?
For example, I would think I could play a scale with something like
save myPlayable = C1 for 1b
do
play myPlayable
myPlayable.note++
while (myPlayable.note < C2)
- ddj231 6y agoThanks! So by procedural what is meant is that the there are chunks (which are Handel's procedures/functions). Currently your code snippet can't be replicated in Handel. Looping is accomplished by telling a chunk to loop (giving it a number of times to loop). ex. run somechunk with loop for 100 But there is no arithmetic in the language. Adding arithmetic to playables like you mentioned could be a nice feature
- SamBam 6y agoThinking a little more, I guess I would actually expect it to look a bit more like save myNote as C1 save myPlayable = myNote for 1b do play myPlayable save myNote as myNote + 1 while (myNote < C2) (That is, the dot notation looked out of place given your language.)