Total level?
Date | 2016-02-18 09:03 |
From | Anders Genell |
Subject | Total level? |
Dear list!
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Is there a way to monitor (i.e. print) total levels during performance? If an instrument has a long release time and is played e.g. with a midi keyboard, several large chords in quick succession might build up to out of range amplitudes. The audio signal fed to "out" just corresponds to one instrument, so that will not suffice. Regards, Anders |
Date | 2016-02-18 09:06 |
From | Oeyvind Brandtsegg |
Subject | Re: Total level? |
I think the printed amp is the output total. 2016-02-18 10:03 GMT+01:00 Anders Genell |
Date | 2016-02-18 09:22 |
From | Anders Genell |
Subject | Re: Total level? |
Ah! I thought it was per instrument, but now that I try it, I think you are correct! Hm. I wonder if those levels are accessible to use in a compressor/limiter type opcode... Maybe if I have an always on instrument receiving audio from every instance of the performing instrument? But if I use a global variable the contents would be replaced by every new instance, right? What about if I use channels? Regards, Anders > 18 feb. 2016 kl. 10:06 skrev Oeyvind Brandtsegg |
Date | 2016-02-18 09:24 |
From | Rory Walsh |
Subject | Re: Total level? |
The monitor opcode will give you the overall combined signal of all instruments. Maybe it can be of some use to you? On 18 February 2016 at 09:22, Anders Genell <anders.genell@gmail.com> wrote: Ah! I thought it was per instrument, but now that I try it, I think you are correct! |
Date | 2016-02-18 09:35 |
From | Anders Genell |
Subject | Re: Total level? |
Indeed it can! Thanks! Regards, Anders
|
Date | 2016-02-18 09:41 |
From | Oeyvind Brandtsegg |
Subject | Re: Total level? |
To do manipulation of the master audio out, like the master bus on a traditional mixer, I think it is best to use chn channels to send audio from each instrument to a "master audio out" instrument, where you do master level and any treatments (compression/eq/etc). And while you're at it, you can create master aux effects with the same technique, if you like. 2016-02-18 10:22 GMT+01:00 Anders Genell |