Csound Csound-dev Csound-tekno Search About

taming dynamics of audio input

Date2006-04-22 15:18
FromAtte André Jensen
Subjecttaming dynamics of audio input
Hi

I'm working on a vocoder instrument. So far it works fine, but I'd like 
to tame the dynamics of the microphone input (I'm simply using ins). i 
tried working with dam by can't really make it do what I want, which is 
a steadier level regardless of how loud I sing.

What would be a good opcode to look at and what would be appropriate 
values for my purpose?

Thanks in advance for any help!

-- 
peace, love & harmony
Atte

http://www.atte.dk      | quartet:      http://www.anagrammer.dk
http://www.atte.dk/gps  | compositions: http://www.atte.dk/compositions

Date2006-04-22 16:54
FromErik de Castro Lopo
SubjectRe: taming dynamics of audio input
Atte André Jensen wrote:

> Hi
> 
> I'm working on a vocoder instrument. So far it works fine, but I'd like 
> to tame the dynamics of the microphone input (I'm simply using ins). i 
> tried working with dam by can't really make it do what I want, which is 
> a steadier level regardless of how loud I sing.

Sounds like you want to a dynamic range compressor/limiter.

> What would be a good opcode to look at and what would be appropriate 
> values for my purpose?

I'm sure someone has written a compressor opcode.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"Perl as a language has less a design than a thousand special features
flying in close formation."
-- From the c2 wiki