Sfrecord~ maximal duration....?
Hi
I found some questions about it but no answer : I am currently playing a 4 hours long piece which I also want to record direct-to-disk, using a sfrecord~ (2channels, 48000/16) strangely the record stoped (twice) after 3 hours and 6 minutes (good that in my piece there is a silence at 180 minutes !!!!!)
Is it a feature ? (that the recording stops during a silence !!!) how to prevent it in order to have all 4 hours recorded ?? can not find the answer...
(latest max, on a mac running Catalina OS, plenty of disk specs on an external disk)
many thanks
Kasper
3 hours 48000/16 = about 2 GB of HD space.
what is the format of that external disk ?
I remember that aiff format also has some limits to file size, 2 GB if I remember
correctly, wave too, but double than max size of aiff.
mac os extended journaled (i think, this is the translation from MacOS journalisé) which has 600 Go free. I could record on internal HD of teh mac if it is better, I thought that an external drive would work. Or format another HD differently. Many thanks
kasper
hd format plays no role in that case. It looks rather as aiff file size limit.
Is that the recording format you use ?
Try wave instead maybe ?
In worst case one could use 2 sfrecords and start second one
short before first one stops.
yes recording in aiff - I was thinking alread
y about the 2 recorders. I thought the 2 GO was a Wav.limitation.... many thanks
but no way to overcome this limit ? I heard about sd2 files (do they still exist in MaX ????) . of course ending the sound to another app, with blackhole could be a solution, but sounds really like overkill.
Thanks
Kasper
forget sd2 files, no OS supports that format now
use wave and you'll be ok
Thanks !!! Final answer in at least 4 hours !!! :-)
kasper
Salut Kasper,
to double the length of your recording, you can also record in 2 different mono files.
And if it is not enough (I know you like looooonnnnng pieces :-), then you can use spat5.sfrecord~ : it can record on 64bits WAVE files. (from its doc : When the file exceeds the traditional 4 GB limit, spat5.sfrecord∼ automatically forces the RF64 extension (WAVE format only).
2 mono files !!! why didn't i thought about it ???
currently trying the wave (not diff)
and some hours later, sorry @source audio - .wav files do the exact same thing that aiff : they stop after 3hours and 5 minute (or 6) - took me some 4 hours to make sure.... far away from the promised 4 Go. next step is to try spat5.sfrecord~.....
thanks
K
AIFF and (traditional) WAV formats are limited to 4GB file size.
WAV RF64 is an extension of the (traditional) WAV format that allows (almost) infinite file size.
spat5.sfrecord~ automatically generates WAV RF64 when the 4GB limit is reached (and assuming you are recording a wav file). spat5.sfplay~ (and most DAW) can play back WAV RF64 files.
Ok, I found this info about the 4 GB file size limit. But why in MAX 2.15 == 4 ??? in all cases my files (aiff and wav) stop at that size ???
That info about AIFF 4 GB limit is simply wrong statement from Apple
mistakenly inserted in some SDK gibberish few years ago.
It is 2 GB limit, not 4.
Make empty stereo audio file 48000/16 in any editor, insert 4 hours silence
and try to save as AIFF or WAVE.
WAVE would save, AIFF not.
That's the facts.
What sfrecord~ problem is, is another story.
2 mono files would be acceptable solution without spat recorder.
To align recording start , send record start through short delay to exec
in high priority thread.
Record stop will allways produce a little bit different file lengths
when recording multiple sfrecord files, only turning dsp off
to stop recording produces files with exact same length.
That is my experience after making 64 Track Live Recorder
for a sound engineer to capture large stage events, some years ago.
Hi source audio
many thanks
K !
Ircam's Spat5 doesn't work on Macs that don't have the AVX 1.0 extension. In that case you'd need an earlier version, like 4.9.3. But it will also record wave as RF64.
Alternatively, you could use an external software capable of recording RF64 or caf (like Garage Band...) and bus the output there, using something like blackhole.