|
Yes, but you have to define the parameters in your orchestra file first.
EG:
sr = 44100
kr = 44100
ksmps = 1
nchnls = 2
instr 60
ivol = p4 ;this is the volume: multipling the signal
ipan = p5 ; this is the paning: float numbers range between 0-1
aleft, aright diskin "60.wav", 1
aleft = aleft * ivol
aright = aright * ivol
outs aleft*ipan, aright*(1 - ipan)
endin
+++++++++++++++++++++++++++++++++++++++++++++
;vol ;pan (0.0 to 1.0)
i60 0 2 1 1
i60 3 2 1 0
i60 6 2 1 .5
i60 9 2 2 .5
i60 12 2 .5 .5
Cambiata wrote:
>
> Hi!
>
> I'm compiling a new wavefile from wave fragments (16 bit, 44.1, stereo)
> defined as instruments in a ORC-file, like this:
>
> sr = 44100
> kr = 44100
> ksmps = 1
> nchnls = 2
>
> instr 60
> aleft, aright diskin "60.wav", 1
> outs aleft, aright
> endin
>
> instr 61
> aleft, aright diskin "61.wav", 1
> outs aleft, aright
> endin
>
> etc...
>
> Question:
> Can I specify the volume and panning for each of the "events" in the
> SCO-file?
>
> i60 0 2 <-- Can I set volume and panning for this "instance" of i60?
> i61 3 2 <-- The same for this one?
> etc...
>
>
>
> Thank you in advance! /
> Jonas Nyström
>
>
--
View this message in context: http://www.nabble.com/Newbee%3A-Volume-and-panning-in-SCO-file-tf4218261.html#a12001232
Sent from the Csound - General mailing list archive at Nabble.com. |