[PD] note data record / playback
carmen
_ at whats-your.name
Tue Sep 12 20:28:13 CEST 2006
On Tue Sep 12, 2006 at 01:14:56PM -0500, David Powers wrote:
> What would be the comparitive efficiency, of keeping track of data
> with pyext and a simple Python script, versus creating a data
> structure to hold the data?
the main reason i dont use the millerstructures is their tight coupling to a crippled GUI, the inability to fix that without hacking voluminous C code, and the dearth of methods to manipulate and store the data (key/value arrays, queues that you can push/pop, etc), and the need to rigidly define the format of the data beforehand, SQL style. but that doesnt mean i go right to Python. you can do quite a bit with PDContainer, and using stock PD objects for the actual timestamping and playback of the data (del, pipe, timer, etc)..
>
> Many tasks that are annoying to do in Pure Data, take about two
> minutes to do in Python. At least for me.
i woudlnt want python driving the event loop for something like note playback... i'd maybe use PyGTK for a GUI, if Tk didnt kick ass, though... :)
there is a Python extnesion that someone came up with to give it better timing, for music applications, might want to search the recent linux-audio-{user,dev} archives..
>
More information about the Pd-list
mailing list