Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Realtime CoreAudio

Date2009-03-04 14:50
FromLuís Antunes Pena
Subject[Csnd] Re: Re: Realtime CoreAudio
Thanks Joachim for the answer.
I still have a terrible sound. I'm using too a Motu interface.
- Luis

joachim heintz schrieb:
> Hi Luis -
>
> I've used Csound recently with live input with these options:
> -iadc2 -odac1 -Ma -A -d -b64 -B256 -3
> (adc2 and dac1 was a Motu Interface)
>
> I think this used portaudio, but there weren't any problems.
>
> As I read on http://www.csounds.com/manual/html/UsingOptimizing.html the -B and -b should not the same, but usually B = 4 * b. Perhaps you can try this.
>
> Best -
>
>     joachim
>
>
>
> Am 04.03.2009 um 14:03 schrieb k_o_m_p@yahoo.de:
>
>>
>> Hello,
>>
>> I am having difficulties to run csound with live input with a clean sound. I'm running OSX 10.4 with csound 5.10. I'm sure I'm missing something and perhaps some of you could give some advice (there is no informations on the manual for real-time audio on the mac).
>>
>> This is what I've done until now:
>>
>> 1. added a new device: Audio Preferences -> Audio - > Open Device Editor -> Add device
>>
>> 2. include the flag -+rtaudio=CoreAudio when running csound.
>>
>> Csound seams to run CoreAdio but the results are not usable. The sound is full of distortion (modulated by kr?).
>>
>> I inclueded the csound file. Any help is appreciated.
>>
>> Luis
>>
>> 
>> 
>> -+rtaudio=CoreAudio -m0 -b512 -B512 -M0 -odac -iadc -d
>> 
>> 
>> sr = 44100
>> ksmps = 128
>> nchnls = 2
>>
>> instr    1
>> a2  inch 2
>> a1 inch 1
>> kvol ctrl7 1, 7,0, 2        ;UC-33 33 / master vol
>> kvol port kvol, .02
>> ctrlinit 1, 7, 0
>>
>> aout1 = a1 * kvol
>> aout2 = a2 * kvol
>> outs aout1, aout2
>>
>> endin
>> 
>> 
>> i 1  0  600
>> 
>> 
>>
>>
>>
>> ----
>> luis antunes pena
>> http://icem.folkwang-hochschule.de/~pena
>> http://sumtone.com
>> http://www.myspace.com/kaurimusik
>>
>>
>>
>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


-- 
---
luis antunes pena
schornstr. 27
45128 essen
germany

atelier:
kunsthaus essen
ruebelzahlstr. 33
45134 essen

http://icem.folkwang-hochschule.de/~pena
http://sumtone.com
http://www.myspace.com/kaurimusik

+49 (0)201 879 14 29  |  +49 (0)171 383 27 97
skype: antunespena