| Hi Francesco,
it should be work even if sure it's not according to your own project... Hope it will you help anyway.
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
instr 1
asig1 oscil 0.1, 80.01, 1
asig2 oscil 0.1, 80., 1
outs asig1,asig2
S_chn1 sprintf "audioL_%.01f", (90 + (p1/10))
S_chn2 sprintf "audioR_%.01f", (90 + (p1/10))
puts S_chn1,1
chnmix asig1, S_chn1
chnmix asig2, S_chn2
endin
instr 2
asig1 oscil 0.1, 90.01, 1
asig2 oscil 0.1, 90., 1
outs asig1,asig2
S_chn1 sprintf "audioL_%.01f", (90 + (p1/10))
S_chn2 sprintf "audioR_%.01f", (90 + (p1/10))
puts S_chn1,1
chnmix asig1, S_chn1
chnmix asig2, S_chn2
endin
instr 90
S_chn1 sprintf "audioL_%.01f", p1
S_chn2 sprintf "audioR_%.01f", p1
aOutL chnget S_chn1
aOutR chnget S_chn2
S_file sprintf "Out_REC_%.01f.wav", p1
print p1
fout S_file, 2, aOutL, aOutR
chnclear S_chn1
chnclear S_chn2
endin
f1 0 16384 10 1
i 1 0 3
i 2 0 3
i 90.1 0 3
i 90.2 0 3
e
Jean Basile
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |