Csound Csound-dev Csound-tekno Search About

[Csnd] Re: No sound with -i adc under linux

Date2009-03-06 09:32
Fromvictor
Subject[Csnd] Re: No sound with -i adc under linux
I would add -odac and record with fout

Victor
----- Original Message ----- 
From: "Tobiah" 
To: 
Sent: Friday, March 06, 2009 3:46 AM
Subject: [Csnd] No sound with -i adc under linux


> This is an Kubuntu box.
>
> I can use:
>
> arecord -fcd -Dhw:0,1 foo.wav
>
> and record a sound just fine.  Then I try it with csound:
>
> csound -d -+rtaudio=alsa -i adc:hw:0,1
>
> With this orchestra:
>
> sr      = 44100
> kr      = 1
> nchnls  = 2
>
> instr 1
>        asigl, asigr    ins
>                        outs    asigl, asigr
>
> endin
>
>
> And a dummy score:
>
> f1 10
>
> Csound gives me only silence of the correct duration in test.wav.
> I tried removing my .asoundrc completely. arecord works, csound
> gives silence.
>
> Thanks,
>
> Toby
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"