<div dir="ltr">yes, -resize flag and truncated output annoyed me, but making a table big enough at first and load without -resize flag works.<div><br></div><div>btw I do have a lots of high frequency artifacts.</div><div>in the example, the playback speed is limited to 1000 sample/sec.</div><div>But I need to play a 22 minutes long sound file with 44100 samples per second.</div><div>So I set the play speed to 44100 and here the troubles begin....</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div></div>
<br><div class="gmail_quote">2017-04-21 22:58 GMT+02:00 Christof Ressi <span dir="ltr"><<a href="mailto:christof.ressi@gmx.at" target="_blank">christof.ressi@gmx.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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)<br>
<br>
> Gesendet: Freitag, 21. April 2017 um 22:51 Uhr<br>
> Von: "Christof Ressi" <<a href="mailto:christof.ressi@gmx.at">christof.ressi@gmx.at</a>><br>
> An: "Antoine Villeret" <<a href="mailto:antoine.villeret@gmail.com">antoine.villeret@gmail.com</a>><br>
<div class="HOEnZb"><div class="h5">> Cc: Pd-List <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
> Betreff: Re: [PD] How to scratch large sound file ?<br>
><br>
> > but how to fill a table with a sound with more than 4000000 samples ?<br>
><br>
> what is the problem with that?<br>
><br>
> > also I need high fidelity playback at nominal speed.<br>
><br>
> Miller's varispeed example does achieve that. it uses the right inlet of [tabread4~] to prevent loss of precision.<br>
>  <br>
>  <br>
><br>
> Gesendet: Freitag, 21. April 2017 um 22:45 Uhr<br>
> Von: "Antoine Villeret" <<a href="mailto:antoine.villeret@gmail.com">antoine.villeret@gmail.com</a>><br>
> An: David <<a href="mailto:dfkettle@gmail.com">dfkettle@gmail.com</a>><br>
> Cc: Pd-List <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
> Betreff: Re: [PD] How to scratch large sound file ?<br>
><br>
> Thanks for the hint, <br>
>  <br>
> but how to fill a table with a sound with more than 4000000 samples ?<br>
> is there a direct-from-disk solution for that ?<br>
> also I need high fidelity playback at nominal speed.<br>
>  <br>
> Thanks <br>
>  <br>
> Antoine<br>
>  <br>
><br>
> --<br>
> do it yourself                      <br>
> <a href="http://antoine.villeret.free.fr" rel="noreferrer" target="_blank">http://antoine.villeret.free.<wbr>fr</a> <br>
> 2017-04-21 22:38 GMT+02:00 David <<a href="mailto:dfkettle@gmail.com">dfkettle@gmail.com</a>[mailto:<a href="mailto:dfkettle@gmail.com">dfk<wbr>ettle@gmail.com</a>]>:<br>
><br>
> Which one? <br>
>  It's supposed to be possible with tabread4~, by using the onset inlet.<br>
> There's an example in one of the help files. I looked at it a year ago and<br>
> it was incomprehensible. YMMV.<br>
><br>
> If you figure it out, please post a simple example patch. This is my<br>
> greatest joy-killer in Pd, because I really want to work with audio files<br>
> which may be 1-2 hrs long.<br>
><br>
> On Friday, April 21, 2017, Antoine Villeret <<a href="mailto:antoine.villeret@gmail.com">antoine.villeret@gmail.com</a>[<wbr>mailto:<a href="mailto:antoine.villeret@gmail.com">antoine.villeret@gmail.<wbr>com</a>]><br>
> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I'm looking for the best practice to scratch (change playback speed<br>
> > quickly) large sound file.<br>
> ><br>
> > I've already tried :<br>
> > - table and tabread4~ but table length is too limited<br>
> > - readsf~ : can't change playback speed easily (I didn't try resampling<br>
> > with block~ yet)<br>
> > - august/readanysf~ : seems pretty great but can't play backward, it also<br>
> > has a great feature : the return<br>
> > - moonlib/sfread2~ : works with both positive and negative speed but only<br>
> > with 16bit audio file and quite buggy (strange output when it can't find<br>
> > file)<br>
> > - moonlib/readsfv~ : works only with positive speed<br>
> ><br>
> > Does someone know how to play large sound file with playback speed control<br>
> > (positive and negative) ?<br>
> ><br>
> > Thanks<br>
> ><br>
> > Antoine<br>
> > --<br>
> > do it yourself<br>
> > <a href="http://antoine.villeret.free.fr" rel="noreferrer" target="_blank">http://antoine.villeret.free.<wbr>fr</a>[<a href="http://antoine.villeret.free.fr" rel="noreferrer" target="_blank">http://antoine.villeret.<wbr>free.fr</a>]<br>
> ><br>
> ______________________________<wbr>_________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a>[mailto:<a href="mailto:Pd-list@lists.iem.at">Pd<wbr>-list@lists.iem.at</a>] mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list[https://<wbr>lists.puredata.info/listinfo/<wbr>pd-list]</a><br>
>  _____________________________<wbr>__________________ <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list[https://<wbr>lists.puredata.info/listinfo/<wbr>pd-list]</a><br>
><br>
> ______________________________<wbr>_________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
><br>
</div></div></blockquote></div><br></div>