summaryrefslogtreecommitdiff
path: root/scripts/bypass_all_plugins.lua
diff options
context:
space:
mode:
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2017-07-14 15:16:33 +0200
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>2017-07-14 15:16:33 +0200
commit3b1a6a350e1377e56be0725bb2a9819d992e426c (patch)
tree19ae58ce217744f3c3d3a5540f005b3b30ae53e0 /scripts/bypass_all_plugins.lua
parent812cbdaca9c8ced687e4dba11fb399535c96a5eb (diff)
Simplify _midifilter.lua example
Instead of and-ing the first byte to extract the event type, it is simpler and easier to understand to bitwise-shift it, so that we don't get the result as a multiple of 2^4, but as values corresponding to the MIDI specification. Currently, a guard is put against events with completely empty data, though maybe ardour discards those earlier on since that would not be valid MIDI.
Diffstat (limited to 'scripts/bypass_all_plugins.lua')
0 files changed, 0 insertions, 0 deletions