[Csnd] bug with cpsmidinn ?
Date | 2014-04-21 09:34 |
From | zappfinger |
Subject | [Csnd] bug with cpsmidinn ? |
When I have multiple instruments that use cpsmidinn(), only the last instrument in the csd gets triggered... instr 1 prints "instr1 triggered *******\n" kcps = cpsmidinn(p4) ... endin instr 2 prints "instr2 triggered *******\n" kcps = cpsmidinn(p4) ... endin This will result in only instr2 being triggered. Richard -- View this message in context: http://csound.1045644.n5.nabble.com/bug-with-cpsmidinn-tp5734504.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-21 10:57 |
From | Victor Lazzarini |
Subject | Re: [Csnd] bug with cpsmidinn ? |
I tried it here with the virtual keyboard and I can trigger either instrument 1 or instrument 2, with no problems. Note that by default, instr 1 will respond on channel 1, and instr 2 on channel 2. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 21 Apr 2014, at 09:34, zappfinger |
Date | 2014-04-21 11:20 |
From | zappfinger |
Subject | [Csnd] Re: bug with cpsmidinn ? |
Ok, but I use the same midi channel for both instruments. I know subinstr is better to use then, but I guess this should also work: massign 1, 1 massign 1, 2 -- View this message in context: http://csound.1045644.n5.nabble.com/bug-with-cpsmidinn-tp5734504p5734507.html Sent from the Csound - General mailing list archive at Nabble.com. Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2014-04-21 11:40 |
From | Victor Lazzarini |
Subject | Re: [Csnd] bug with cpsmidinn ? |
I actually don’t know if that would work, because it might make instr 2 only respond on channel 1, I think the second massign overrides the first. Of course, you can schedule an event from instr 1 too. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 21 Apr 2014, at 11:20, zappfinger |