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

Re: [sc-users] Synth.record with 48khz



Es war der 07.12.2002 17:17 Uhr, als smoerk nicht widerstehen konnte,
folgende Gedanken dem Netz anzuvertrauen:

> Hello,
> 
> I'm trying to record a aiff file in supercollider 2.2.16 with 48khz. It
> records the file, but it seems to have the wrong samplerate in the
> header, although the data is 48khz. I found no parameter to set the
> samplerate. Why does supercollider use the wrong samplerate in the
> header of the aiff file? (or what I am doing wrong?)

insert this line in the *record and *write methods of Synth.sc :
file.sampleRate = sampleRate;


> p.s.: does anyone have an example how to record multi-channel output to
> seperate mono files?.

there is a *recordMonoFiles method for Synths
(see the Synth class definition)



Gruss

Andre


--------------------------------------------------
Andre Bartetzki http://www.kgw.tu-berlin.de/~abart
Deutsche Gesellschaft fuer elektroakustische Musik - DEGEM
http://www.degem.de
Hochschule fuer Musik "Franz Liszt" Weimar http://www.hfm-weimar.de/

Tel. +49-30-92375877 (privat) <----------- NEU !!!!!!!!
Tel. +49-03643-555189 (SeaM / HfM-Weimar)
Fax. +49-69-791253797 (via Web-Messaging)
--------------------------------------------------