Hello,
for recording four channels I used [open -bytes 3 filename] fed into [writesf~ 4] in an earlier session.
Now I need to split this interleaved sound file up into four mono-files for importing them elsewhere. I tried [open filename] -- [readsf~ 4] but just get digital noise. Since relying on its detection capabilities doesn't seem to work I tried to specify the parameters, starting with [open filename 0 200 4 3 b] .
It changes the noise but doesn't deliver the proper audio stream. Admittedly I'm not sure about the header size How could I get this to work?
many thanks, Michael.
-- hear the colours of noise: http://blauwurf.at http://soundcloud.com/noiseconformist
Hi Michael, is the file broken or ok? You can try to play the file with e.g. Quicktime player (which should play the first two channels) to check if it's ok. If yes and it is a 24-bits AIFF file, Pd might have problems to read it - you would probably have to convert to WAV or dither down to 16 bits. all the best, Thomas
2011/7/17 Michael Zacherl. sdiy-mz01@blauwurf.info:
Hello,
for recording four channels I used [open -bytes 3 filename] fed into [writesf~ 4] in an earlier session.
Now I need to split this interleaved sound file up into four mono-files for importing them elsewhere. I tried [open filename] -- [readsf~ 4] but just get digital noise. Since relying on its detection capabilities doesn't seem to work I tried to specify the parameters, starting with [open filename 0 200 4 3 b] .
It changes the noise but doesn't deliver the proper audio stream. Admittedly I'm not sure about the header size How could I get this to work?
many thanks, Michael.
-- hear the colours of noise: http://blauwurf.at http://soundcloud.com/noiseconformist
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi, Thomas!
is the file broken or ok? You can try to play the file with e.g. Quicktime player (which should play the first two channels) to check if it's ok.
the files are ok, play fine in QT (the first two channels, as you say)
If yes and it is a 24-bits AIFF file, Pd might have problems to read it - you would probably have to convert to WAV or dither down to 16 bits.
argh!
Again I stumbled upon this!
Now there's the tricky part, because even QT-Pro does just two channels.
I'll find a way.
Thanks for remembering!
;-) Michael.
2011/7/17 Michael Zacherl. sdiy-mz01@blauwurf.info:
Hello,
for recording four channels I used [open -bytes 3 filename] fed into [writesf~ 4] in an earlier session.
Now I need to split this interleaved sound file up into four mono-files for importing them elsewhere. I tried [open filename] -- [readsf~ 4] but just get digital noise. Since relying on its detection capabilities doesn't seem to work I tried to specify the parameters, starting with [open filename 0 200 4 3 b] .
It changes the noise but doesn't deliver the proper audio stream. Admittedly I'm not sure about the header size How could I get this to work?
many thanks, Michael.
-- feed your perception: http://blauwurf.at http://soundcloud.com/noiseconformist
Hi!
Michael Zacherl. wrote:
Hello,
for recording four channels I used [open -bytes 3 filename] fed into [writesf~ 4] in an earlier session.
Now I need to split this interleaved sound file up into four mono-files for importing them elsewhere.
You could use Sox or Audacity for example.
I tried [open filename] -- [readsf~ 4] but just get digital noise. Since relying on its detection capabilities doesn't seem to work I tried to specify the parameters, starting with [open filename 0 200 4 3 b] .
Although AIF files are big-endian, did you try to use the "l" flag nevertheless?
It changes the noise but doesn't deliver the proper audio stream. Admittedly I'm not sure about the header size How could I get this to work?
Try as well: Converting the 24bit aif file to a 4Chn wav file (Sox) and try that one. Convert the 24bit aif file to 16bits and try again. Make sure to report back to the list with your results! best, Peter
Hi Peter!
Michael Zacherl. wrote:
Hello, for recording four channels I used [open -bytes 3 filename] fed into [writesf~ 4] in an earlier session. Now I need to split this interleaved sound file up into four mono-files for importing them elsewhere.
You could use Sox or Audacity for example.
I looked at it with audacity, the files are definitely ok. I'm vary about sox, but should be ok if it's just byte-order or header rewrite.
I tried [open filename] -- [readsf~ 4] but just get digital noise. Since relying on its detection capabilities doesn't seem to work I tried to specify the parameters, starting with [open filename 0 200 4 3 b] .
Although AIF files are big-endian, did you try to use the "l" flag nevertheless?
Quicktime shows them as big-endian files. When trying the "l" flag I did this with entering the [open filename 0 200 4 3 l ] options. This sounded quite as if I just used [open filename] .
However there seems to be no other option than converting this files to .wav in order to maintain the 24-bit resolution.
It changes the noise but doesn't deliver the proper audio stream. Admittedly I'm not sure about the header size How could I get this to work?
Try as well: Converting the 24bit aif file to a 4Chn wav file (Sox) and try that one. Convert the 24bit aif file to 16bits and try again. Make sure to report back to the list with your results!
Converting with sox was easy, just filenames are needed to get the audio into a .wav container. Checking with Audacity showed that it properly worked. I'm not sure how to get a particular channel from this files from sox but at least I can read them into Pd.
Thanks, Michael.
-- keep your ears open: http://blauwurf.at http://soundcloud.com/noiseconformist