Csound Csound-dev Csound-tekno Search About

Re: Issue with line function at 44100 sampling

Date2005-10-15 21:25
From"Art Hunkins"
SubjectRe: Issue with line function at 44100 sampling
I gather we're not talking about audio here? (I don't see an audio generator.)
 
Art Hunkins
----- Original Message -----
Sent: Saturday, October 15, 2005 1:34 PM
Subject: [Csnd] Issue with line function at 44100 sampling

Hi,

I have the following csound code -

sr       = 44100
kr       = 4410
ksmps    = 10
nchnls   = 2

instr    1
a1 line p5, p3, p6
outs a1, a1*0
endin

instr    2
a1 line p5, p3, p6
outs a1*0, a1
endin

f1 0 4096 10 1

i1 0.0 0.01 80 0 2000
i1 0.01 0.01 80 2000 4000

i2 0.0 0.02 80 0 4000

e

For some reason, I do not get the exact same signal in each channel with this code, can anyone tell me why?

If I change the sampling rates as follows -

sr       = 40000
kr       = 4000

then I do get the same signal in each channel.

I'm using CSoundAV.

Thanks for your help,

Barry.



Sent from the Csound - General forum at Nabble.com.