[notein] returns both the note on event and the note off event (aka vel = 0), so that explains half of your events. If you only want to catch only note on events, you should use [stripnote]:
[notein]
|
[stripnote]
|
[select 36]
|
[bang< — now only bangs on a note on event
This probably solves half your problem ...
Dan Wilcox @danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Feb 6, 2015, at 8:30 PM, pd-list-request@lists.iem.at wrote:
From: jwind <wind@mikrokiko.de mailto:wind@mikrokiko.de> To: pd-list@lists.iem.at mailto:pd-list@lists.iem.at Date: February 6, 2015 at 8:24:43 PM GMT+1 Subject: [PD] notein midi bangs
hi list; quite dull i am... and didn't find anything on the list. trying to get my midi-in-device (mpc 1000) working for triggering simple bangs with [notein]. my current problem is:
- when i hit the sample pad it fires off too many bangs within a very short period of
time and it makes it unusable to trigger a single starting-operation (e.g. play a video once from the beginning when the pad is hit)
any idea how i can solve this? mute receiving bangs for apprx. 50 ms or any human time?
[notein] | \
[select 36 . . . ] | [bang( <- this bangs apprx 4 times within 200 ms?? thanks j ,.