Csound Csound-dev Csound-tekno Search About

[Csnd] Mono okay, stereo distorted

Date2009-06-29 21:37
FromCharles Gran
Subject[Csnd] Mono okay, stereo distorted
Hi,

I am planning on working with realtime audio into csound input for the
first time.  It's been over a year since I've used csound and I'm
rusty.

1. I'm using ASIO drivers on XP, though the project will eventually
run from a Mac.  The mono file plays fine, the stereo (with a delay)
is distorted. Should I be playing with -b more?  -b doesn't seem to be
doing much, maybe I am using it incorrectly?

2. There is a bit if a delay in the mono version from the audio
source, I know I'm supposed to be working with ksmps and -b to get
that down, but I'm confused by what's in the manual.  Any suggestions?

Charles


MONO



-odac4 -iadc4 -b100



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

instr 1
 a1 in
out a1
endin



i1 0 36000
e





STEREO W/ DELAY



-odac4 -iadc4 -b100



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

instr 1
 a1 in
 a2 delay a1, .5, 0
outs a1, a2
endin




i1 0 36000
e





Date2009-06-29 22:14
Frommark jamerson
Subject[Csnd] Re: Mono okay, stereo distorted


   In your stereo version you need to use 'ins' instead of 'in'.  Otherwise you are not actually inputting both channels.  Check the manual entry for 'ins'.  



----- Original Message ----
From: Charles Gran 
To: csound@lists.bath.ac.uk
Sent: Monday, June 29, 2009 3:37:44 PM
Subject: [Csnd] Mono okay, stereo distorted

Hi,

I am planning on working with realtime audio into csound input for the
first time.  It's been over a year since I've used csound and I'm
rusty.

1. I'm using ASIO drivers on XP, though the project will eventually
run from a Mac.  The mono file plays fine, the stereo (with a delay)
is distorted. Should I be playing with -b more?  -b doesn't seem to be
doing much, maybe I am using it incorrectly?

2. There is a bit if a delay in the mono version from the audio
source, I know I'm supposed to be working with ksmps and -b to get
that down, but I'm confused by what's in the manual.  Any suggestions?

Charles


MONO



-odac4 -iadc4 -b100



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

instr 1
 a1 in
out a1
endin



i1 0 36000
e





STEREO W/ DELAY



-odac4 -iadc4 -b100



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

instr 1
 a1 in
 a2 delay a1, .5, 0
outs a1, a2
endin




i1 0 36000
e





Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


      

Date2009-06-30 09:58
FromEnrico Francioni
Subject[Csnd] Re: Mono okay, stereo distorted


Hi Charles,

with "out" is recommended to use "in", 
but with "outs" is recommended to use the "ins",
with "outq" is recommended to use "inq",
etc…

hello!

e

 

Charles Gran wrote:
> 
> Hi,
> 
> I am planning on working with realtime audio into csound input for the
> first time.  It's been over a year since I've used csound and I'm
> rusty.
> 
> 1. I'm using ASIO drivers on XP, though the project will eventually
> run from a Mac.  The mono file plays fine, the stereo (with a delay)
> is distorted. Should I be playing with -b more?  -b doesn't seem to be
> doing much, maybe I am using it incorrectly?
> 
> 2. There is a bit if a delay in the mono version from the audio
> source, I know I'm supposed to be working with ksmps and -b to get
> that down, but I'm confused by what's in the manual.  Any suggestions?
> 
> Charles
> 
> 
> MONO
> 
> 
> 
> -odac4 -iadc4 -b100
> 
> 
> 
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 1
> 
> instr 1
>  a1 in
> out a1
> endin
> 
> 
> 
> i1 0 36000
> e
> 
> 
> 
> 
> 
> STEREO W/ DELAY
> 
> 
> 
> -odac4 -iadc4 -b100
> 
> 
> 
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 2
> 
> instr 1
>  a1 in
>  a2 delay a1, .5, 0
> outs a1, a2
> endin
> 
> 
> 
> 
> i1 0 36000
> e
> 
> 
> 
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 

-- 
View this message in context: http://www.nabble.com/Mono-okay%2C-stereo-distorted-tp24261463p24268456.html
Sent from the Csound - General mailing list archive at Nabble.com.



Date2009-06-30 15:25
FromCharles Gran
Subject[Csnd] Re: Re: Mono okay, stereo distorted
Mark, Enrico,

Yes, thank you!

Charles