Csound Csound-dev Csound-tekno Search About

Newbee question: ORC global variables for stereo files and diskin

Date2007-08-03 12:11
FromJonas Nyström
SubjectNewbee question: ORC global variables for stereo files and diskin
AttachmentsNone  None  

Date2007-08-03 13:46
Fromluis jure
SubjectRe: Newbee question: ORC global variables for stereo files and diskin
El Fri, 3 Aug 2007 13:11:38 +0200
"Jonas Nyström"  escribió:


> How to set these when I want to use 16 bit 44100 stereo files?

1) sr stays the same (obviously)
2) set nchnls to 2
3) use diskin with 2 outputs
4) use uots instead of out for output

here's your modified orchestra:
 
> sr = 44100
> kr = 44100
> ksmps = 1
  nchnls = 2
> 
> instr 60
    aleft, aright diskin "60.wav", 1
    outs asigl, asigr
> endin

(the same for instr 61)

Date2007-08-03 14:00
Fromluis jure
SubjectRe: Newbee question: ORC global variables for stereo files and diskin
El Fri, 3 Aug 2007 09:46:12 -0300
luis jure  escribió:


> > instr 60
>     aleft, aright diskin "60.wav", 1
>     outs asigl, asigr

sorry, that was meant to be:
      outs aleft, aright

> > endin

Date2007-08-03 14:30
FromJonas Nyström
SubjectRe: Newbee question: ORC global variables for stereo files and diskin
AttachmentsNone  None