[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] s.record fails



Maybe try sticking the function into a routine and put s.sync between .prepare... and s.record? On the phone so can’t test. 

Roosna & Flak - Contemporary Dance & Music                                                                   
http://roosnaflak.com                                                                                   
+372 5565 1666                                                                                               


On Sun, Dec 8, 2019 at 16:58, <sdiy-mz01@xxxxxxxxxxxxx> wrote:
Hi,
I realise not touching SC for many months is not good. :(

I’m trying to get automated recordings of sounds but get incomplete results.

Server.scsynth; s.boot
(
s.recSampleFormat = "int24";
s.prepareForRecord;
~len = 0.1;
s.record(duration:~len*1.2);
({SinOsc.ar(XLine.ar(20,20000,~len,doneAction:2))}).play;
)

Either the soundfile only consists of the 104-Byte header, or/and the recording won’t stop, or/and the file format is “float32”.
What am I missing?
Manual recording via the ever menu works though.

Thanks a lot - Michael.



_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/