On Tue, Feb 04, 2014 at 11:29:07PM +0100, Oeyvind Brandtsegg wrote: > There is a chance the midichn opcode is off by one, > when I play on midi channel 1 it returns the value 2 > > instr 5 > inote notnum > ivel veloc 0, 127 > ichn midichn > print inote, ivel, ichn > endin Are you sure that your input on "channel 1" is not using the "0..15" convention (so it's actually the *second* one)? midichn counts from 1..16. I'm still using Csound 5.19, but when I try the above orc, playing input from my keyboard on its usual (first) channel, it shows "ichn = 1" as expected. -- Pete -- ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net