> but making a table big enough at first and load without -resize flag works.
why don't you use the "-maxsize" flag? > So I set the play speed to 44100 and here the troubles begin.... can you explain or provide a test patch? in Miller's example I set the speed to 44100, filled the table with a 440 Hz sine wave (since I wouldn't be able to hear that 22050 Hz tone at original speed) and it worked fine. Gesendet: Freitag, 21. April 2017 um 23:07 Uhr Von: "Antoine Villeret" <antoine.ville...@gmail.com> An: "Christof Ressi" <christof.re...@gmx.at> Cc: Pd-List <pd-list@lists.iem.at> Betreff: Re: Re: [PD] How to scratch large sound file ? yes, -resize flag and truncated output annoyed me, but making a table big enough at first and load without -resize flag works. btw I do have a lots of high frequency artifacts. in the example, the playback speed is limited to 1000 sample/sec. But I need to play a 22 minutes long sound file with 44100 samples per second. So I set the play speed to 44100 and here the troubles begin.... -- do it yourself http://antoine.villeret.free.fr 2017-04-21 22:58 GMT+02:00 Christof Ressi <christof.re...@gmx.at[mailto:christof.re...@gmx.at]>:ah, I see. you probably mean the "soundfiler_read: truncated to 4000000 elements" message in the Pd console. use the "-maxsize" flag to increase the maximum number of samples. on 64-bit Pd there's practically no limitation. with 32-bit you are limited to about 500 000 000 samples (~3 hours of mono audio) > Gesendet: Freitag, 21. April 2017 um 22:51 Uhr > Von: "Christof Ressi" <christof.re...@gmx.at[mailto:christof.re...@gmx.at]> > An: "Antoine Villeret" > <antoine.ville...@gmail.com[mailto:antoine.ville...@gmail.com]> > Cc: Pd-List <pd-list@lists.iem.at[mailto:pd-list@lists.iem.at]> > Betreff: Re: [PD] How to scratch large sound file ? > > > but how to fill a table with a sound with more than 4000000 samples ? > > what is the problem with that? > > > also I need high fidelity playback at nominal speed. > > Miller's varispeed example does achieve that. it uses the right inlet of > [tabread4~] to prevent loss of precision. > > > > Gesendet: Freitag, 21. April 2017 um 22:45 Uhr > Von: "Antoine Villeret" > <antoine.ville...@gmail.com[mailto:antoine.ville...@gmail.com]> > An: David <dfket...@gmail.com[mailto:dfket...@gmail.com]> > Cc: Pd-List <pd-list@lists.iem.at[mailto:pd-list@lists.iem.at]> > Betreff: Re: [PD] How to scratch large sound file ? > > Thanks for the hint, > > but how to fill a table with a sound with more than 4000000 samples ? > is there a direct-from-disk solution for that ? > also I need high fidelity playback at nominal speed. > > Thanks > > Antoine > > > -- > do it yourself > http://antoine.villeret.free.fr[http://antoine.villeret.free.fr] > 2017-04-21 22:38 GMT+02:00 David > <dfket...@gmail.com[mailto:dfket...@gmail.com][mailto:dfket...@gmail.com[mailto:dfket...@gmail.com]]>: > > Which one? > 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][mailto: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][http://antoine.villeret.free.fr[http://antoine.villeret.free.fr]] > > > _______________________________________________ > Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at][mailto:Pd-list@lists.iem.at[mailto: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][https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]] > _______________________________________________ > Pd-list@lists.iem.at[mailto: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][https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]] > > _______________________________________________ > Pd-list@lists.iem.at[mailto: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