steven yi :: music
Composer, Performer, Developer
In Tutorial 2 the first proposed code seems to be a problem.
The entry “Add”, appearing in purple in the tutorial appears in red in Live Coding and the evaluation gives nothing.
I did not have an issues with the code here, but it requires that the preceding code–the definition of the Add instrument–be evaluated prior to the schedule. Also, the entire instrument definition must be evaluated all at once, from the beginning ‘instr’ to the ending ‘endin’. If you have the cursor within those boundaries and have nothing selected, then press ctrl-e or ctrl-enter, the live coding interface will search out for nearest instr/endin pair and evaluate the entire definition.
Sorry to take time for nothing, I made a mistake without the code. I wrote schedule with a capital S.
No worries, mistakes and typos are a part of live coding. 🙂 Glad that it’s all sorted out.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.