No such file or directory
Hello everyone, first post here.
I tried to look for an answer to my question in the threads, but couldn't find one that addressed this problem specifically. I'm new to PD (just one month), and I'm following Kreidler's Load Bang to learn. I'm going through the array part, but I stumbled on a problem:
- I have a soundfile in the Pd/tcl folder that I uploaded into the patch using (read+soundfile's name+array). It worked perfectly for a while, but today I re-opened the patch and got a "no such file or directory" everytime I would hit the "read" message. I tried rewriting it, I tried erasing it and starting from scratch, I even tried re-allocating the soundfiles in the folder, but nothing worked.
What can I do to let PD read the files without getting the error?
Thanks everybody in advance
I uploaded the patch, if that helps
Help: My .wav files plays to fast in the Mobmuplat app!!!
Hi!
First post here and I just started to work with PD so please bare with me 
I have created a pach in PD witch allows the user to switch between different sounds in realtime. I'm using "playsf~" because of the lenght of the soundfiles. I have implemented the patch in the mobmuplat app and when I play it on the computer all works fine, both in PD and in Mobmuplat, but when I play it in my iPhone the soundfiles plays too fast and are pitched up. Why is this happening? I have tried with shorter soundfiles as well but it's the same problem then...
Tankfull for all the help I can get, and if I am giving you to little info about the problem it's because I'm new in PD.
Thanks!
Time Stretching Patches - any recommendations?
@s.elliot.perez hey, sorry for late response.. [soundfiler] will output the size of the array to be filled, you can feed it with
[read -resize $1 arrayname( to get the sample length of your soundfile. If you are using extended you might want to check out [soundfile_info] too.
As for skipping sounds i'm not sure.. you should try a sample-length of about 1500 and feed your contrabass sound via readsf~ into the subpatch.
Edit: i migth have confused you with the comments in the patch.
"size of the recording" doesn't mean the actual size of a soundfile. it defines the size of a short record the patch will make.. like a photograph of some periods waveform of the incoming sound, then a phasor will play back this record from the first to the last zero-crossing.
Pitch control for engine sound
soundfiler: no method for 'Metalbowl1pd.wav'
soundfiler: no method for 'Metalbowl1pd.wav'
soundfiler: no method for 'Metalbowl1pd.wav'
soundfiler: no method for 'Metalbowl1pd.wav'
soundfiler: no method for 'Metalbowl1pd.wav'
soundfiler: no method for 'Metalbowl1pd.wav'
soundfiler: no method for 'Metalbowl1pd.wav'
Im going to bed.
Large table display issues
@Krzysztof-Cybulski Always a problem... It has been discussed before.
http://forum.pdpatchrepo.info/topic/3260/long-soundfiles-in-pd/9
But unfortunately Katjav's solution has disappeared from that page.
There has been some work done on double precision....
http://puredata.info/downloads/pd-double .... but it is not finished.
You should take a look at the links....
http://www.katjaas.nl/doubleprecision/doubleprecision.html (Katjav's page) is especially interesting, and you might find the solution there. In fact, if you have a week or two to spare that site is a very good read!
I imagine that editors work by varying the sample rate for displays above a certain size (just for the waveform display) and then calculating the edit points, or they hold some approximation in memory and only write the detailed array as you zoom to your "selection".
If you try to push -maxsize for [soundfiler] beyond 4e+007 elements it usually crashes Pd.
You could use the -skip 4e007 flag to load a second soundfiler that starts at the point that the first ends, and then stitch the arrays together visually by placing them alongside each other. Of course you could add and a third and a 4th etc.
Then use [readsf~] to actually play back the file (any length is possible) and link the array positions chosen to a calculated "header size to skip" message for [readsf~] as it will open the file pretty much instantaneously (unlike soundfiler)...
??
David.
Long soundfiles in PD
Hi gigav,
You can extend the maximum array length to fill with samples from an audio file with flag -maxsize <number of samples> to the soundfiler object. So if you use the [openpanel] object to find the soundfile, the message could be like this:
[read -resize -maxsize 4.3e+07 $1 soundfile-array(
16 minutes is quite a long time to index with single precision floats. Here's a video clip illustrating precision problems which you may encounter (and how it can be solved):
Katja
PD under jack OSX
you can maybe try 'soundflower' from cycling74 (it's free)
Controlling signal flow
After taking a closer look at your patch, I'm not sure why you would even want that. I would think you'd want the [spigot] to close when it receives a new value and reopen after the soundfile is finished playing. If you leave the [spigot] open, it will just keep retriggering the soundfiles. [readsf~] sends a bang out its right outlet when it is finished playing, which you can use to to reopen the [spigot]. If you mean you want it to wait ten seconds after the soundfile is done, just stick a [delay 10000] between that and the [1(. See the attached (I also cleaned up you patch a bit).
Read specific audio file \[Noob\]
The [soundfiler] object - right click, view help, use [loadbang] to send messages loading up the audio files. You must create an array or table for each audio file for this to work and I believe that soundfiler has a flag to -resize the array automatically. Ooh, and I just discovered that you can send a message to arrays to normalize the audio files which sounds just magical, though I wish that soundfiler did this (it can when writing the other direction, array to wav).
I've pondered shortcuts for loading all the files of one directory - the only thing I can think of is to rename the files in a sequential manner so that you don't have to write out every name to give to soundfiler. This is probably only worth it if you can make a script do it for you and if there are LOTS of audio files.
Does anyone have tips on loading entire directories into arrays at startup?
Soundcard inputs+PD patch --\> ableton live, using soundflower.
Hi there!
I have a really annoying problem that i've spent a lot of time on.. 
I have a PreSound Firebox and a PD patch that I want to route into ableton on different tracks (and different channels) using soundflower.
I can get the sound working (from the pd patch) using the soundflower as input (in ableton), but then i can't use the inputs from the firebox. I tried creating an agregate device, but when I choose that one as a output in PD the audio gets stuck... closing.
What should I do - and how do I get to route the streams in soundflower ( i have all these channels, but I can't decide what goes to what?? The route option is grey?)
Please help since I really need this to work for an upcomming show in a few days.
thx! Lasse


