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

 
 

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

Submitted by:  Richard Shann <rshann>
Submitted on:  Sun 11 Jul 2010 10:41:42 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Richard Shann <rshann>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Dec 2010 12:20:21 PM UTCsteeleOpen/ClosedOpen=>Closed
    Mon 26 Jul 2010 09:58:20 AM UTCrshannStatusIn Progress=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1