bugDenemo - Bugs: bug #30411, Rapid MIDI note entry can beat...

 
 

bug #30411: Rapid MIDI note entry can beat MIDI filters

Submitter:  Richard Shann <rshann>
Submitted:  Sun 11 Jul 2010 10:41:42 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  rshann
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Jul 2010 09:58:20 AM UTC, comment #1: 

This is fixed in git. The Figured Bass filter shows how to use the fix.

Richard Shann <rshann>
Group administrator
Sun 11 Jul 2010 10:41:42 AM UTC, original submission:  

The action d-GetMidi calls a function intercept_midi() which diverts the next MIDI input event, restoring the usual path after it has intercepted one event.
MIDI filters are currently scripted to call this repeatedly, which means that if you play notes in rapidly you can get events past the filter during the time when the script is processing one MIDI event and before it has asked for another.
I think this could be fixed by creating a new command d-MidiDivert which would stop d-GetMidi turning off the divert mechanism. (d-MidiDivert #f) would turn this flag off so that the next MIDI event received would turn off the MIDI filtering.
That provides good backward compatibility, but it might be awkward to program, since you generally don't know you want to stop the filtering before you receive the last event.

Richard Shann <rshann>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by steele (Updated the item)
  • -email is unavailable- added by rshann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-04 steele Open/ClosedOpen Closed
    2010-07-26 rshann StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code