Path formatting for sfrecord~
I can't quite get my head round this. I'm trying to make a patch which takes a sound file and slices it up into sections of n length in ms. The playback side is working, but I'm trying to work out how to format the messages for sfrecord~ to create a new file with every slice, to a particular path.
I've got it sending messages like this to sfrecord~:
open Macintosh HD:/Users/MDurham/Desktop/Test/truax1.wav wave
Then a toggle starts and stops the recording, and I'm getting and elapsed time signal from sfrecord~ but no file.
I think it's something to do with the path formatting, maybe the spaces? The sfrecord~ helpfile does not make it very clear.
Thanks in advance, can post the patch if it helps.
Ok, I just figured it out.
For anyone else in this situation, you need to use the conformpath object (see the helpfile)
So:
open /Users/MDurham/Desktop/Test/truax1.wav wave
is the correct format.
Incidentally, I found this out by way of the 'see also' section from the helpfile of another of the 'path' formatting objects. I find that this is a really useful way of solving problems - looking at related objects, so perhaps sfrecord~ or any other objects where you can specify a path should have conformpath in their 'see also' sections of the helpfile.
Just a thought....