you can set the the name, header and sample format prior to recording
programmatically:

s = Server.local;
s = Server.default;

s.boot;


{PinkNoise.ar(0.3).dup}.play

//prepare for recording

s.recChannels_(2) //2 channel file

s.recHeaderFormat_("WAV")

s.recSampleFormat_("float")

//then

s.prepareForRecord("/home/karsten/bla.wav")

s.record

s.pauseRecording

s.stopRecording

s.freeAll

//I think it should be possible to do flac too, if you're interested :)


2008/6/19 <[EMAIL PROTECTED]>:

>
> Thanks Vincent!
> I got one small-cheap and nice thinkpad from Antonios, so
> i want to record from supercollider in the most light  way
> (with the terminal) so i do not get xruns in jackd. The
> good thing about ecasound, is that I can give a name and
> format to the file so I can describe it, and then would be
> easier to know what it is.
> I was trying recording with emacs but it tells me:
> File 'recordings/SC_080619_132804.aiff' could not be opened.
> 'System error.'I tried to make the recordings directory but
> no luck.
> thanks Altern for remind me of timemachine!
> cheers
> Mattin
>
>
>
>
> Quoting Vincent Rioux <[EMAIL PROTECTED]>:
>
> > you might want to try py-jack
> > http://sourceforge.net/projects/py-jack/
> > and then write a small script in python wich:
> > - parses all jack ports
> > - find sc ones
> > - launch ecasound with the appropriate port
> >
> > i'am currently writing something like this for xmms which
> > is not
> > completely ready yet but if you are interested just tell.
> >
> > best,
> > Vincent
> >
> > [EMAIL PROTECTED] a �crit :
> > > thanks
> > > my problem is how to tell ecasound to connect only and
> > > directly to supercollider  in jackd. i am going to
> > check
> > > the server panel, thanks for the tip
> > > cheers
> > > mattin
> > >
> > >
> > > Selon krgn <[EMAIL PROTECTED]>:
> > >
> > >
> > >> I think you can do something like
> > >>
> > >> ecasound -i $(SCPORTNAME) -o filename.wav
> > >>
> > >> buuut, that said, you can do that with sc itself too.
> > if
> > >> you use emacs just
> > >> type C-c C-p p to get to the server panels. there is a
> > >> record button... I
> > >> guess its not the same though :)
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> 2008/6/18 <[EMAIL PROTECTED]>:
> > >>
> > >>
> > >>> thanks for aclarations
> > >>> one question, does anybody of you know the command to
> > >>>
> > >> record
> > >>
> > >>> from straight from supercollider into ecasound?
> > >>> cheers
> > >>> mattin
> > >>>
> > >>>
> > >>> Selon krgn <[EMAIL PROTECTED]>:
> > >>>
> > >>>
> > >>>> Hi Tadashi!
> > >>>>
> > >>>> first of all, thanks for testing things out!
> > >>>> Supercollider should actually
> > >>>> be installed, you can verify this by opening a
> > >>>>
> > >> terminal
> > >>
> > >>>> and typing :
> > >>>> aptitude show supercollider-sclang
> > >>>>
> > >>>> you can activate sclang-mode in emacs by adding
> > >>>> (require 'sclang)
> > >>>> to your ~/.emacs configuration file and running
> > emacs
> > >>>> again (or evaluating
> > >>>> the line from inside emacs). I shall swiftly correct
> > >>>>
> > >> this
> > >>
> > >>>> though... making a
> > >>>> ticket for this. If you run into more problems let
> > us
> > >>>> know!
> > >>>>
> > >>>> Furthermore, its right now not possible to 'dock'
> > the
> > >>>> install the way the
> > >>>> old p:d used to be installed. This is definitely
> > >>>> something that we'll be
> > >>>> looking into though, so stay tuned ;-)
> > >>>>
> > >>>> best,
> > >>>>
> > >>>> karsten
> > >>>>
> > >>>> 2008/6/15 Usami Tadashi <[EMAIL PROTECTED]>:
> > >>>>
> > >>>>
> > >>>>> Hello,
> > >>>>>
> > >>>>> I downloaded pure:dyne miso, and just found there's
> > >>>>>
> > >> no
> > >>
> > >>>> SC on right-click
> > >>>>
> > >>>>> list view.
> > >>>>> If I should install (or dock) p:d onto my harddrive
> > >>>>>
> > >> to
> > >>
> > >>>> install SC,
> > >>>>
> > >>>>> could you teach me how to do?
> > >>>>>
> > >>>>> Thanks in advance,
> > >>>>>
> > >>>>> Tadashi
> > >>>>>
> > >>>>>
> > >
> >
> _________________________________________________________________
> > >
> > >
> >
> 知りたい?多くのHotmailユーザがメッセを使っているには理由があります。
> > >
> > >>>>> http://campaign.live.jp/hmim/top/
> > >>>>>
> > >>>>> ---
> > >>>>> [email protected]
> > >>>>> irc.goto10.org #pure:dyne
> > >>>>>
> > >>>>>
> > >>>
> > >>> www.mattin.org
> > >>>
> > >>>
> > >>> ---
> > >>> [email protected]
> > >>> irc.goto10.org #pure:dyne
> > >>>
> > >>>
> > >
> > >
> > >
> > > www.mattin.org
> > >
> > >
> > > ---
> > > [email protected]
> > > irc.goto10.org #pure:dyne
> > >
> > >
> >
> >
>
>
>
> www.mattin.org
>
>
> ---
> [email protected]
> irc.goto10.org #pure:dyne
>
---
[email protected]
irc.goto10.org #pure:dyne

Reply via email to