INIT ERROR in instr 100: error opening sound file
'test.wav'
fout
"test.wav" 4 ga1 ga2
B 0.000 - note
deleted. i100 had 1 init errors
I'm using qutecsound on my imac.
Any ideas?
Best regards,
Diego Saa
> From:
Victor.Lazzarini@nuim.ie>
To:
csound@lists.bath.ac.uk>
Date: Sun, 5 Apr 2009 11:25:57 +0100
> Subject: [Csnd] Re: Re: Re:
making a wav file from live midi input
>
> The best thing is to
put fout in a different instrument and route audio to
> it:
>
>
> <CsoundSynthesizer>
> <CsOptions>
>
-odevaudio -M1 -b400
> </CsOptions>
>
<CsInstruments>
> sr = 44100
> kr = 4410
> ksmps =
10
> nchnls = 2
> ga1 init 0
> ga2 init 0
>
>
instr 1
> ;READ RT-MIDI NOTE NUMBERS, CONVERT TO CPS
> icps
cpsmidi
> ;READ RT-MIDI VELOCITY, CONVERT TO AMP VALUES WITHIN THE RANGE
0-10000
> iamp ampmidi 10000
> ;CREATE A SINE TONE
> asig
oscili iamp, icps, 1
> ;SEND AUDIO TO OUTPUTS
> outs asig,
asig
> ga1 = asig + ga1
> ga2 = asig + ga1
> endin
>
> instr 100
> fout "test.wav", 4, ga1, ga2
> ga1 =
0
> ga2 = 0
> endin
>
>
</CsInstruments>
> <CsScore>
> f1 0 1024 10 1 0 .25 0
.17
> i100 0 600 ;run rec instr for the length of performance
>
> </CsScore>
> </CsoundSynthesizer>
> -----
Original Message -----
> From: "Stefan Thomas"
<kontrapunktstefan@googlemail.com>
> To:
<csound@lists.bath.ac.uk>
> Sent: Sunday, April 05, 2009 10:37
AM
> Subject: [Csnd] Re: Re: making a wav file from live midi
input
>
>
> Dear all,
> thanks for Your fast
answers. I have been able to play live while
> making a wav-file at the
same time, but the quality of the wav-file is
> terrible. I don't know
where I could change this.
> Here is the code:
>
<CsoundSynthesizer>
> <CsOptions>
> -odevaudio -M1
-b400
> </CsOptions>
> <CsInstruments>
> sr =
44100
> kr = 4410
> ksmps = 10
> nchnls = 2
>
>
instr 1
> ;READ RT-MIDI NOTE NUMBERS, CONVERT TO CPS
> icps
cpsmidi
> ;READ RT-MIDI VELOCITY, CONVERT TO AMP VALUES WITHIN THE RANGE
0-10000
> iamp ampmidi 10000
> ;CREATE A SINE TONE
> asig
oscili iamp, icps, 1
> ;SEND AUDIO TO OUTPUTS
> outs asig,
asig
> ga1 = asig
> ga2 = asig
> fout "test.wav", 4, ga1,
ga2
> endin
> </CsInstruments>
>
<CsScore>
> f1 0 1024 10 1 0 .25 0 .17
> i1 0 600 ;let dummy
instrument run so performance doesn't end
> </CsScore>
>
</CsoundSynthesizer>
>
>
> 2009/4/5 joachim heintz
<jh@joachimheintz.de>:
>> If you use QuteCsound as frontend,
you can simply push the Record button
>> for
>>
this.
>> Best -
>>
joachim
>>
>>
>> Am 05.04.2009 um 00:07 schrieb
Stefan Thomas:
>>
>>> Dear community,
>>> I
have succesfully made my first few patches and I can play it
live
>>> via midi, using "-odevaudio -M1 -b400" as csounds
options.
>>> Now I would like to record what I'm playinf directly
to a wave file,
>>> but I don't know how to do it.
>>>
Maybee I should mention, that I'm using a linux machine, with
kubuntu
>>> studio.
>>> Thanks for Your
support
>>> Stefan
>>>
>>>
>>>
Send bugs reports to this list.
>>> To unsubscribe, send email
sympa@lists.bath.ac.uk with body "unsubscribe
>>>
csound"
>>
>>
>>
>> Send bugs reports to
this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with
body "unsubscribe
>> csound"
>>
>
>
>
Send bugs reports to this list.
> To unsubscribe, send email
sympa@lists.bath.ac.uk with body "unsubscribe
> csound"=
>
>
>
> Send bugs reports to this list.
> To
unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"