[PD] How to add/remove MIDI notes from a list using MIDI in and note on/off?

Ingo ingo at miamiwave.com
Tue Nov 11 14:43:33 CET 2014


If you are on Pd-extended I would suggest using [cyclone/coll].
That's what I am using. Much easier than working with regular lists.

Ingo


> -----Ursprüngliche Nachricht-----
> Von: Pd-list [mailto:pd-list-bounces at lists.iem.at] Im Auftrag von JC
> Pedroza
> Gesendet: Dienstag, 11. November 2014 13:54
> An: pd-list at lists.iem.at
> Betreff: [PD] How to add/remove MIDI notes from a list using MIDI in and
> note on/off?
> 
> I need to populate a list with the MIDI notes that are being pressed, and
> remove the note from the list when the key is released.
> 
> One idea is to use [notein], and if the velocity is> 0 then add the note
> to the list, and if the velocity == 0 then remove the note from the list.
> But I have no idea of how to implement this.
> 
> I think I need [list-extend], [list-find], and [list-delete], but I just
> can't figure out an implementation.
> 
> How can I do this?
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list