denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] jackmidi check-in


From: Richard Shann
Subject: [Denemo-devel] jackmidi check-in
Date: Wed, 31 Mar 2010 11:23:25 +0100

Jeremiah - your latest check-in does not call jack_output_midi_event()
when it is NOTE_OFF. Is that intentional???
Richard
this is the diff reported by git:


-    if (DP && (si->end_time - event->time_seconds > 0.01)) //Do not
turn notes on too close to the end

-      jack_output_midi_event(event->midi_buffer, DP->device_number,
DP->port_number);

+    switch((event->midi_buffer[0] & SYS_EXCLUSIVE_MESSAGE1))

+    {

+      case NOTE_ON: {

+        if (DP && (si->end_time - event->time_seconds > 0.01)) //Do not turn 
notes on too close to the end

+        jack_output_midi_event(event->midi_buffer, DP->device_number, 
DP->port_number);

+      }

+      si->playhead += 0.001;//Make sure playhead is inside duration of note

+      break;

+      case NOTE_OFF:

+       si->playhead -= 0.001;//Make sure playhead is inside duration of note

+       break;

+    }

+





reply via email to

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