Hi. I have never heard of anything like that with Pd. Pd itself is pretty low-level with audio, but someone has probably written an external object for that at some point. It sounds like something that would be pretty complicated in pure Pd. First idea that comes to my mind would be to leave the sample intact in a table, and store a separate array of numbers telling where in that table the transients occur. The members of the array might be like: 0: 0 1: 870 2: 1589 3: 1800 Then instead of making smaller tables with parts of the sample, you just have each playback object reference the array first for 2 indexes, and play from one index to the other in the wave table.
Pure Data will let you save a separate pd file that does the lookup and then create any number of instances of it in your main patch. I don't know how efficient this would be for slicing samples; it would allow overlapping slices, basically. I tend to miss the simpler and more obvious ways of doing things, so there's probably a better solution....
-Chuckk
On 2/12/07, jared microcosm11@msn.com wrote:
Hello all,
First post! Glad to be here.
I'm in the middle of installing all of the PD goodies. I'll have some questions concerning installations and such...please bare with me! :-)
First off, I'm really interested in 'slicing' up samples with PD (beat/transient detection) and rearranging them....
Is there an object or abstraction that I should be using to achieve this? Does anyone have any patches that they'd like to share relating to this?
Thanks!
Jared
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list