Re: Filtering notes by velocity: using evpat?

From: Raphaël Mouneyres <rmouneyres_at_gmail.com>
Date: Sun, 5 Apr 2020 11:29:48 +0200
Hello,

in the manual, the filter section does not explicitely defines a filter 
on note velocity, but the event sections says that {non {2 9} 64 100} is 
a note-on event on device 2, channel 9, note 64 with velocity 100.

Have you tried using this complete definition (with the velocity number 
after the note number in your filter ?

something like the following (not tested) :

fnew myfilt
fmap {non {0 0} 1..128 0..64} {non {0 0} 1..128 0..64}
fmap {non {0 0} 1..128 65..127} {non {0 1} 1..128 0..64}

Raphaël

Le 04/04/2020 à 21:40, Jeanette C. a écrit :
> Hey hey,
> would it be possible to filter notes by velocity using evpat to define 
> the full note-on event with its velocity parameter and then use 
> either/both note number and velocity with ranges?
>
> The idea is to create a MIDI performance, where a certain 
> device/channel will only be triggered once velocity is above a 
> threshold for accenting.
>
> Best wishes and many thanks,
>
> Jeanette 
Received on Sun Apr 05 2020 - 11:29:48 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 06 2020 - 01:32:48 CEST