[PD] datastructures midirecorder

Patrice Colet colet.patrice at free.fr
Fri Oct 11 16:46:34 CEST 2013

Hello Rob,

 scalars can't be deleted actually without the GUI, but there are several tricks for doing something like it.

One is about using float indexes instead of using pointer order, and then set to -1 or another value that doesn't count
the scalars that have to be removed, and finally use a temporary structure for cleaning.
Another one is about using one scalar and an array for including your structure, so you can delete values inside element.
It's also possible to save, modify, and reload the structure with using a text file.

Just in case you are interested about using tcltk instead of datastructure for drawing your GUI (it still uses DS for sequencing)

I've shared a work in progress:


Colet Patrice

----- Mail original -----
> De: "Rob Bothof" <rbothof at xs4all.nl>
> À: pd-list at iem.at
> Envoyé: Vendredi 11 Octobre 2013 14:01:52
> Objet: [PD] datastructures midirecorder
> dear list,
> i've been working with pd for a couple of years and finally diving
> into
> data-structures/scalars
> to build a midi recorder / looper.
> is there a way to delete a scalar, without selecting it with the
> mouse ?
> or does one generally
> specify an active state parameter for each scalar.
> greets,
> Rob
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list