Csound Csound-dev Csound-tekno Search About

Total level?

Date2016-02-18 09:03
FromAnders Genell
SubjectTotal level?
Dear list!

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
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

Date2016-02-18 09:06
FromOeyvind Brandtsegg
SubjectRe: Total level?
I think the printed amp is the output total.

2016-02-18 10:03 GMT+01:00 Anders Genell :
> Dear list!
>
> 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
> 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


Date2016-02-18 09:22
FromAnders Genell
SubjectRe: 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 :
> 
> I think the printed amp is the output total.
> 
> 2016-02-18 10:03 GMT+01:00 Anders Genell :
>> Dear list!
>> 
>> 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
>> 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
> 
> 
> 
> -- 
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp
> 
> 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

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

Date2016-02-18 09:24
FromRory Walsh
SubjectRe: 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!

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 <oyvind.brandtsegg@NTNU.NO>:
>
> I think the printed amp is the output total.
>
> 2016-02-18 10:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
>> Dear list!
>>
>> 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
>> 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
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp
>
> 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

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

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

Date2016-02-18 09:35
FromAnders Genell
SubjectRe: Total level?
Indeed it can!
Thanks!
Regards,
Anders

18 feb. 2016 kl. 10:24 skrev Rory Walsh <rorywalsh@EAR.IE>:

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!

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 <oyvind.brandtsegg@NTNU.NO>:
>
> I think the printed amp is the output total.
>
> 2016-02-18 10:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
>> Dear list!
>>
>> 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
>> 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
>
>
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://flyndresang.no/
> http://soundcloud.com/t-emp
>
> 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

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

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

Date2016-02-18 09:41
FromOeyvind Brandtsegg
SubjectRe: 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 :
> 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 :
>>
>> I think the printed amp is the output total.
>>
>> 2016-02-18 10:03 GMT+01:00 Anders Genell :
>>> Dear list!
>>>
>>> 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
>>> 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
>>
>>
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://flyndresang.no/
>> http://soundcloud.com/t-emp
>>
>> 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
>
> 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