Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Scaling amplitudes in polyphony

Date2007-12-05 19:23
Frommark jamerson
Subject[Csnd] Re: Scaling amplitudes in polyphony
  I am assuming that you want to have more than three notes playable at any time, otherwise you could use the maxalloc opcode.  But one possible option would be to use the compress opcode on the output of the instrument.  It pretty much works just like a real-life compressor.  I used it recently in a situation where the instrument's design created a very large dynamic range, which I squished down to a usable amount.  

----- Original Message ----
From: thorne 
To: csound@lists.bath.ac.uk
Sent: Tuesday, December 4, 2007 11:26:17 AM
Subject: [Csnd] Scaling amplitudes in polyphony


I assume these are very beginning beginner's FAQs--or at least the
 first
one, but i haven't been able to find the answers.  It must be something
simple....  Any leads would be much appreciated.

1. I have a simple instrument under midi control.  All is well, until
the performer plays more than three or so pitches at the same
 time--then
it seems to clip (surprise).  Is there a normal or standard (or at any
rate, smart) way of dealing with this?  I was fiddling with sending
output not to `out' but to a global variable and then using a separate
instrument to mix the signal, but then i have to somehow have it know
how many instruments are playing and scale the signal accordingly...?
Or not?  I have a feeling i'm barking up the wrong tree.

2. I am building a super-simple sine wave instrument.  My understanding
is that for a given amplitude, perceived loudness tends to decrease
 with
decreasing pitch.  Does anyone know if there is a standard function
 that
will yield a scalar to compensate for this effect?

--
Theron TtlÄx


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




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping