| set nchnls = 1
and
instr 1
aleft, aright diskin "myfile.wav", 1
outs aleft, aright
endin
>
> Hi!
>
> I'm compiling a new wavefile from wave fragments
> (samples). These global variables works fine for 16 bit
> 44100 mono files:
>
> sr = 44100
> kr = 44100
> ksmps = 1
> nchnls = 1
>
> How to set these when I want to use 16 bit 44100 stereo
> files?
>
> Here's my test.ORC file:
>
> sr = 44100
> kr = 44100
> ksmps = 1
> nchnls = 1
>
> instr 60
> asig diskin "60.wav", 1
> out asig
> endin
>
> instr 61
> asig diskin "61.wav", 1
> out asig
> endin
>
> Here's my test.SCO file:
>
> i60 0 2
> i61 3 2
>
> Here's my command line:
> csound -W -o test.wav test.orc test.sco
>
> Regards / Jonas
> |