steven yi :: music
thoughts and experiences
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 *
Notify me of follow-up comments by email.
Notify me of new posts by email.
This site uses Akismet to reduce spam. Learn how your comment data is processed.