I’ve done this by configuring double buffer playback with two tables. I switch 
back and forth between playing the two arrays and fill the one not being played 
with soundfiler. It worked pretty well for me, and could do rather extreme 
varispeed. The only caveat is that soundfiler could take too long and you would 
miss a block.

The (rather ugly :) ) patch is on my computer at school, I’ll send it Monday.

Tom

> On Apr 21, 2017, at 1:24 PM, Christof Ressi <christof.re...@gmx.at> wrote:
> 
> The example is B16.long-varispeed.pd in 3.aduio.examples.
>  
>  
> 
> Gesendet: Freitag, 21. April 2017 um 18:42 Uhr
> Von: "William Huston" <williamahus...@gmail.com>
> An: "Antoine Villeret" <antoine.ville...@gmail.com>
> Cc: "pd-list@lists.iem.at" <pd-list@lists.iem.at>
> Betreff: Re: [PD] How to scratch large sound file ?
> It's supposed to be possible with tabread4~, by using the onset inlet. 
> There's an example in one of the help files. I looked at it a year ago and it 
> was incomprehensible. YMMV. 
>  
> If you figure it out, please post a simple example patch. This is my greatest 
> joy-killer in Pd, because I really want to work with audio files which may be 
> 1-2 hrs long. 
> 
> On Friday, April 21, 2017, Antoine Villeret 
> <antoine.ville...@gmail.com[mailto:antoine.ville...@gmail.com]> wrote:
> Hi, 
>  
> I'm looking for the best practice to scratch (change playback speed quickly) 
> large sound file.
>  
> I've already tried :
> - table and tabread4~ but table length is too limited 
> - readsf~ : can't change playback speed easily (I didn't try resampling with 
> block~ yet)
> - august/readanysf~ : seems pretty great but can't play backward, it also has 
> a great feature : the return
> - moonlib/sfread2~ : works with both positive and negative speed but only 
> with 16bit audio file and quite buggy (strange output when it can't find file)
> - moonlib/readsfv~ : works only with positive speed
>  
> Does someone know how to play large sound file with playback speed control 
> (positive and negative) ?
>  
> Thanks 
>  
> Antoine 
> 
> --
> do it yourself                      
> http://antoine.villeret.free.fr[http://antoine.villeret.free.fr]
> 
> --
> 
> --
> May you, and all beings
> be happy and free from suffering :)
> -- ancient Buddhist Prayer (Metta)
> _______________________________________________ Pd-list@lists.iem.at mailing 
> list UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]
> 
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to