Mono okay, stereo distorted

View: New views
4 Messages — Rating Filter:   Alert me  

Mono okay, stereo distorted

by Charles Gran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
<CsoundSynthesizer>

<CsOptions>
-odac4 -iadc4 -b100
</CsOptions>

<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 1
 a1 in
out a1
endin
</CsInstruments>

<CsScore>
i1 0 36000
e
</CsScore>

</CsoundSynthesizer>


STEREO W/ DELAY
<CsoundSynthesizer>

<CsOptions>
-odac4 -iadc4 -b100
</CsOptions>

<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

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

</CsInstruments>

<CsScore>
i1 0 36000
e
</CsScore>

</CsoundSynthesizer>


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

Re: Mono okay, stereo distorted

by mark jamerson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




   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 <chasgran@...>
To: csound@...
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
<CsoundSynthesizer>

<CsOptions>
-odac4 -iadc4 -b100
</CsOptions>

<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 1
 a1 in
out a1
endin
</CsInstruments>

<CsScore>
i1 0 36000
e
</CsScore>

</CsoundSynthesizer>


STEREO W/ DELAY
<CsoundSynthesizer>

<CsOptions>
-odac4 -iadc4 -b100
</CsOptions>

<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

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

</CsInstruments>

<CsScore>
i1 0 36000
e
</CsScore>

</CsoundSynthesizer>


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


     


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

Re: Mono okay, stereo distorted

by Enrico Francioni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



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
<CsoundSynthesizer>

<CsOptions>
-odac4 -iadc4 -b100
</CsOptions>

<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1

instr 1
 a1 in
out a1
endin
</CsInstruments>

<CsScore>
i1 0 36000
e
</CsScore>

</CsoundSynthesizer>


STEREO W/ DELAY
<CsoundSynthesizer>

<CsOptions>
-odac4 -iadc4 -b100
</CsOptions>

<CsInstruments>
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

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

</CsInstruments>

<CsScore>
i1 0 36000
e
</CsScore>

</CsoundSynthesizer>


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

Re: Re: Mono okay, stereo distorted

by Charles Gran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mark, Enrico,

Yes, thank you!

Charles


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