denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] [bug #29218] Double notes on midi controller entry.


From: Richard Shann
Subject: [Denemo-devel] [bug #29218] Double notes on midi controller entry.
Date: Mon, 15 Mar 2010 11:46:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.0.16) Gecko/20080528 Epiphany/2.22

Update of bug #29218 (project denemo):

                  Status:               Need Info => In Progress            
             Assigned to:                    None => jjbenham               

    _______________________________________________________

Follow-up Comment #2:

I have looked in the jackmidi.c code and it does not change the MIDI NOTEON
with zero velocity to a MIDI NOTEOFF
instead everything goes straight thru, thus:

for (i = 0; i < events; i++) {
    read = jack_midi_event_get(&event, port_buffer, i);
    process_midi_event(event.buffer);
  }


the corresponding code in midi.c for getting midi from gio is thus:

 if(command==MIDI_NOTEON && velocity==0) {//Zero velocity NOTEON is used as
NOTEOFF by some MIDI controllers
        buf[0]=MIDI_NOTEOFF;
        buf[2]=128;
      }
      process_midi_event(buf);

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29218>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]