This isn’t a Cabbage specific question but this forum seems more active than the Csound Slack so maybe someone has a suggestion…
I’m trying to launch named instances of an instrument with ‘schedwhen’ but it seems to keep returning the same ifxsno on each trigger. Shouldn’t they be on fractional or different instr numbers? schedkwhen
allows you to define the max number of named instances that can be instanced so how can I locate which instr numbers those are allocated to?
schedkwhen metro(1), 0, 5, gSeffectName, 0, -1 ;launch named instrument
ifxsno nstrnum gSeffectName ; get instrument number of named instrument
print ifxsno
Basically, I have a library of named instrument effect .orcs that I wish to compile “live” with compileorc
. Multiple instances of the same file can be instanced but I need to somehow keep track of them to turn individual ones off later.