Dear community,
when I design an instrument for use with midi I’ve normally the problem with release time. I know, that I can use opcodes like transegr or expsegr.
But I would like to design an instrument (as an opcode) that could be used with or without midi, if possible.
Could someone give me a hint as to how this could work?
Thanks,
Stefan
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Hi Stefan,
I'm not sure I understand your issue. linsegr and friends work with both score activated and MIDI activated evetns. What the *r envelopes do, is to add release time, i.e. extra time to the given duration of the note. Using a few of the other features to get realtime MIDI / score interoperability, you can design instruments that will work with either activation method.
If you have a particular problem, a practical situation or bit simplified instrument would help to suggest a solution.
Best wishes,
Jeanette
Dear Jeanette,
You’re right, I’ve obviously made a mistake.
If the problem does occur again, I’ll post to this list again.
Thanks,
Stefan