Csound Csound-dev Csound-tekno Search About

Re: [Csnd] a newbie channel question

Date2012-10-12 15:14
FromRaoul
SubjectRe: [Csnd] a newbie channel question
On Fri, 12 Oct 2012 14:22:47 +0100 Steven Yi  wrote:
> could you post the modified csd?

yes of course, but with outs it produces the same effect as mentionned before.

Regards

Raoul


sr = 44100
kr = 4410
ksmps = 16
nchnls = 2
0dbfs = 1



instr 1
aL oscils p4, p5, p6
outs aL
endin

instr 2
aR oscils p4, p5, p6
outs ,aR
endin




i 1 0 1.9 10000 440 0
i 2 2 1.8 10000 617 0
i 1 4 4 10000 440 0
i 2 4 4 10000 617 0
e





Date2012-10-12 15:22
FromSteven Yi
SubjectRe: [Csnd] a newbie channel question
I see the problem now, the header was in the wrong place, it should be
within CsInstruments.  Without it, it was defaulting to nchnls=1.
Here's a corrected CSD (note the commenting out of 0dbfs set to 1, if
you had that, you'd blow out volume as you're using 10000 for
amplitude):






sr = 44100
kr = 4410
ksmps = 10
nchnls = 2
;0dbfs = 1

instr 1
aL oscils p4, p5, p6
aR = 0
outs aL,aR
endin

instr 2
aL = 0
aR oscils p4, p5, p6
outs aL,aR


endin




i 1 0 1.9 10000 440 0
i 2 2 1.8 10000 617 0
i 1 4 4 10000 440 0
i 2 4 4 10000 617 0
e






On Fri, Oct 12, 2012 at 3:14 PM, Raoul  wrote:
>
> On Fri, 12 Oct 2012 14:22:47 +0100 Steven Yi  wrote:
>> could you post the modified csd?
>
> yes of course, but with outs it produces the same effect as mentionned before.
>
> Regards
>
> Raoul
>
> 
> sr = 44100
> kr = 4410
> ksmps = 16
> nchnls = 2
> 0dbfs = 1
>
> 
>
> instr 1
> aL oscils p4, p5, p6
> outs aL
> endin
>
> instr 2
> aR oscils p4, p5, p6
> outs ,aR
> endin
>
> 
>
> 
> i 1 0 1.9 10000 440 0
> i 2 2 1.8 10000 617 0
> i 1 4 4 10000 440 0
> i 2 4 4 10000 617 0
> e
> 
>
> 
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>