• formasfunction

    I'm a PD newbie and I'm trying to figure out how to speed up or slow down a song file similar to speeding up and slowing down a record. I did some searches on the forums but didn't find exactly what I was looking for. I discovered the help file for readsf~ and that enabled me to get a song file playing through PD and from what I can tell the next step is simply adding something to change the sample rate dynamically. I tried block~ but that was giving me artifacts. Is there a simple patch somewhere that I can use for this?

    posted in technical issues read more
  • formasfunction

    ClaudiusMaximus, readanysf sounds like exactly what I've been looking for and hopefully the dependencies don't prove to be a problem. Seems like most of them should be pretty easy to install on my mac.

    Hardoff and Satruno, thanks for all the help - I still want to dig into the essentials of pulling in sound files and manipulating them through tables and if I can't get readanysf up and running I know I'll be back here bugging you guys for help on the more traditional methods.

    posted in technical issues read more
  • formasfunction

    Nice! Thanks for the example. It's working wonderfully for me so I'm going to dig into it and see if I can extend it beyond the 91 second limit given your instructions.

    posted in technical issues read more
  • formasfunction

    > And why is it so roundabout to change the sample rate?
    I think what I meant was that from what I've read about MAX/MSP modifying the sample rate of an audio file is a little bit easier for a beginner and I was hoping PD would function similarly.

    >Using more than one array and changing which array it's playing back at the end of the loop.
    What would this look like? Could I do it with two arrays, reading back to the audio file and swapping the next set of data into one of them while the other is playing? Or would I want to build out a series of arrays at the initial file load so that I only need to load the sound file once?

    posted in technical issues read more
  • formasfunction

    saturno - perfect! That worked. So what are my options in terms of getting around the 91 sec limit? And why is it so roundabout to change the sample rate? Is there no way to do that coming out of readsf instead of feeding it into a table first?

    posted in technical issues read more
  • formasfunction

    Thanks saturno, but I can't seem to get it working yet. The length of my file as output by soundfiler is 44103. When I set the chunk size to 44103, the output volume to 100, and play with the frequency (1 - 500) all I hear is a hum which seems to be a bit of the sound file looping extremely quickly. However, if I set the frequency to 1 and the chunk size to 100 I hear the first second of the song at the correct speed. When I fiddle with the chunk size, setting it to 150 for instance, it seems to just speed up the first second rather than increase the length. I tried setting chunk to around 500, which is chipmunk speed at a frequency of 1, and decreasing the frequency to a fraction using a /10 object in between the number and phasor but other than slowing the song back down that only seemed to add empty space before the beginning of the loop. Any ideas?

    posted in technical issues read more
  • formasfunction

    ShankarBaba, thanks for pointing me in the right direction. I've been playing around B09 and I think I understand a lot of it - the sound file is being read into a table and that table information is being manipulated before being sent back out to the speakers, but I can't seem to find what's controlling the length of the clip being played - right now it's extremely short. What do I modify to play a continuous file instead of a short loop of the file?

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!