Csound Csound-dev Csound-tekno Search About

WaveIn in DirectCsound

Date1999-02-07 23:03
FromSergey Batov
SubjectWaveIn in DirectCsound
I try to do something with DirectCsound and microphone.
For the beginning I'd like to print 'rms' of wave in.

; orc
sr=44100
kr=4410
ksmps=10
 
  instr 1
asig in
k_in rms	asig
print k_in
endin

; sco
f0 200

with command line:
csound.exe  -i -n   -b512 --log.txt wavein.orc wavein.sco 

But there was no result.
Need I to organize an of infinitive loop? How?


Thank you,







Date1999-02-08 18:57
Fromrobbie@scot-mur.demon.co.uk
SubjectRe: WaveIn in DirectCsound
On Mon, Feb 08, 1999 at 02:03:16AM +0300, Sergey Batov wrote:
> I try to do something with DirectCsound and microphone.
> For the beginning I'd like to print 'rms' of wave in.
> 
> ; orc
> sr=44100
> kr=4410
> ksmps=10
>  
>   instr 1
> asig in
> k_in rms	asig
> print k_in
> endin
> 
> ; sco
> f0 200
try using

;sco
i1 0 200

:)

Regards