Hi,
I'm looking for the best practice to scratch (change playback speed quickly) large sound file.
I've already tried :
with block~ yet)
has a great feature : the return
with 16bit audio file and quite buggy (strange output when it can't find file)
Does someone know how to play large sound file with playback speed control (positive and negative) ?
Thanks
do it yourself http://antoine.villeret.free.fr
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.villeret@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
The example is B16.long-varispeed.pd in 3.aduio.examples.
Gesendet: Freitag, 21. April 2017 um 18:42 Uhr Von: "William Huston" williamahuston@gmail.com An: "Antoine Villeret" antoine.villeret@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.villeret@gmail.com[mailto:antoine.villeret@gmail.com]> wrote: Hi, I'm looking for the best practice to scratch (change playback speed quickly) large sound file. I've already tried :
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%5Bhttp://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%5Bhttps://lists.puredata.info/l...]
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.ressi@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" williamahuston@gmail.com An: "Antoine Villeret" antoine.villeret@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.villeret@gmail.com[mailto:antoine.villeret@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%5Bhttp://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%5Bhttps://lists.puredata.info/l...]
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Here is my double buffer playback patch… feel free to improve :) it would take just a little bit of work to play in reverse. turning on metro starts playback (filename needs to be initialized as well).
tom
http://tre.ucsd.edu/wordpress/wp-content/uploads/2017/04/soundfilerbuffering...
On Apr 21, 2017, at 8:28 PM, Tom Erbe soundhack@icloud.com wrote:
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.ressi@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" williamahuston@gmail.com An: "Antoine Villeret" antoine.villeret@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.villeret@gmail.com[mailto:antoine.villeret@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%5Bhttp://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%5Bhttps://lists.puredata.info/l...]
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