On Thu, Nov 07, 2019 at 08:35:01PM -0500, Dave Seidel wrote: > I have been learning to use midiin (along with "massign 0,0") for a more > direct handling of MIDI input. I've noticed that I only get "note on" > messages (status 144) and never "note off" (status 128). Instead of "note > off", I see another "note on" but with velocity of 0. > > I've got logic to handle this fine, but I'd like to understand what's going > on. I can verify (using aseqdump on Linux and MIDI-Ox on Win) that my input > consists of note on and off messages, but Csound apparently translates the > "note off" messages. Is this by design? > That's very strange! It's not what I see at all. If I send a true Note-Off (status byte 128) to midiin, that's what it reports. (And if I send Note-On with velocity 0, that's what it reports.) I'm using Haiku, rather than Linux, but Csound is Csound... (I can set up a configuration where I can see the exact events I am sending to Csound. To get true Note-Offs, I do have to add in a converter, as it seems both my K/Bs use the "note-on-0" convention.) I'll go over to Linux, just to make sure... -- Pete -- 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