-
nathan_s_giroux
Hi all,
I need a special kind of list filter that can get rid of unwanted pair of messages. The filtering is quite complex and can't figure out a way to do it neatly.I have midi messages flowing from an array with the syntax
TemporalIndex Midinote Velocitysuch as:
[1554 60 100]or polyphonic, in pairs:
[1554 60 100 72 124 84 112]I also have pedal information coming in:
[1554 p 127]sometimes it combines to:
[1554 p 127 60 100 72 84] etc.I would like to filter all the pedal information, to remove completely the indexes with only pedal information like: [1554 p 127]
and to remove pedal entries from combined lists so that
[1554 p 127 60 100]- - would become - - > [1554 60 100]I've tried many combinations without success,
any ideas?Thanks