[PD] slicing samples

Alexandre Matheson amatheso at alcor.concordia.ca
Tue Feb 13 05:11:25 CET 2007


you can use bonk~ for peak detection and then store the info as  
Chuckk said. I built a simpler version that uses expr to divide a  
drum loop into 16 equal parts that you might want to take a look at.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drumslice.zip
Type: application/zip
Size: 9393 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070212/a6675e45/attachment.zip>
-------------- next part --------------
?lex
On 12-Feb-07, at 10:15 PM, jared wrote:

> Thanks Chuckk.  I'm not sure if the wave table way will result in the
> sounds I'm looking for.  Regardless, that is an interesting thought.
> One which could possibly lead to some wonderful sounds!
>
> Thanks,
>
> Jared
>
> -----Original Message-----
> From: Chuckk Hubbard [mailto:badmuthahubbard at gmail.com]
> Sent: Tuesday, February 13, 2007 2:37 AM
> To: jared; pd-list at iem.at
> Subject: Re: [PD] slicing samples
>
> 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 at 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 at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>>
>
>
> -- 
>
> -Chuckk
>
> http://www.badmuthahubbard.com
>
>
> _______________________________________________
> 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