On Thu, Nov 06, 2008 at 03:21:11AM +0100, ki.ber.kom.uni.st wrote: > i want to send single note (note on + note off).. i tried this: > > [0000:00]> dnew 0 "24:0" wo > [0000:00]> tnew traka > [0000:00]> taddev 0 0 0 {non {0 1} 49 120} > statelist_done: non {0 1} 31 78: unterminated frame > [0000:00]> taddev 0 0 1 {noff {0 1} 49 64} > [0000:00]> p > [0000:02]> s > > 24:0 is alsa's 24:Virtual Raw MIDI 2-0 > > for monitoring i did: > amidi -p hw:2,0 -d > > and it shows these notes: > 91 31 78 > 91 31 00 > that's correct, ``note on'' with zero velocity is an alias for ``note off''. This should be problem for no MIDI device. Let me know if so. > both korg padKontrol and korg electribe send this to trigger sound on > electribe: > > 99 31 78 > 89 31 40 > This is the same as above, but on channel 9 rather that channel 1. > am i doing something wrong? how would you send single notes around? Oh, I just play it on my keyboard :), but if i don't have a keyboard around, i put them as you do. I often prefer giving names to output channels: [0000:00]> onew drums {0 9} [0000:00]> tnew traka [0000:00]> taddev 0 0 0 {non drums 49 120} statelist_done: non {0 9} 31 78: unterminated frame [0000:00]> taddev 0 0 1 {noff drums 49 64} -- AlexandreReceived on Thu, 6 Nov 2008 08:05:24 +0100
This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:20 CET