Csound Csound-dev Csound-tekno Search About

[Csnd] Question regarding maxamps

Date2020-04-09 19:19
FromSteven Yi
Subject[Csnd] Question regarding maxamps
Hi All,

A question came up on Slack that I wasn't really sure what the answer was, even after looking at the code:

" What is exactly the meaning behind all rtevent output by the console? I can understand that the T and TT values correspond to times (current and total), but the last one (M) bugs me. From what I can see after many tests it seems to relate to MIDI velocity for note-on and note-off messages, however it seems to always be shifted by one event, i.e. if the value displayed for any one rtevent actually corresponds to the value that should have been displayed for the preceeding rtevent. Am I missing something?"

I saw in the code there is smaxamps and omaxamps as well as maxamps. I had the impression that the event printed out the current max amplitude for sound at the time the event is fired, but then second guessed myself after seeing the different maxamps.

Any clarifications?

Steven

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

Date2020-04-09 19:23
FromGuillermo Senna
SubjectRe: [Csnd] Question regarding maxamps
Hi,

My guess was that M was the peak amplitude for each channel and for a
certain Block of synthesis, Section or Performance. Isn't it that?

Cheers.

On 9/4/20 15:19, Steven Yi wrote:
> Hi All,
>
> A question came up on Slack that I wasn't really sure what the answer was,
> even after looking at the code:
>
> " What is exactly the meaning behind all rtevent output by the console? I
> can understand that the T and TT values correspond to times (current and
> total), but the last one (M) bugs me. From what I can see after many tests
> it seems to relate to MIDI velocity for note-on and note-off messages,
> however it seems to always be shifted by one event, i.e. if the value
> displayed for any one rtevent actually corresponds to the value that should
> have been displayed for the preceeding rtevent. Am I missing something?"
>
> I saw in the code there is smaxamps and omaxamps as well as maxamps. I had
> the impression that the event printed out the current max amplitude for
> sound at the time the event is fired, but then second guessed myself after
> seeing the different maxamps.
>
> Any clarifications?
>
> Steven
>
> 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

Date2020-04-09 19:43
Fromjohn
SubjectRe: [Csnd] Question regarding maxamps
max for the time since te lasr note on or note off


On Thu, 9 Apr 2020, Guillermo Senna wrote:

> Hi,
>
> My guess was that M was the peak amplitude for each channel and for a
> certain Block of synthesis, Section or Performance. Isn't it that?
>
> Cheers.
>
> On 9/4/20 15:19, Steven Yi wrote:
>> Hi All,
>>
>> A question came up on Slack that I wasn't really sure what the answer was,
>> even after looking at the code:
>>
>> " What is exactly the meaning behind all rtevent output by the console? I
>> can understand that the T and TT values correspond to times (current and
>> total), but the last one (M) bugs me. From what I can see after many tests
>> it seems to relate to MIDI velocity for note-on and note-off messages,
>> however it seems to always be shifted by one event, i.e. if the value
>> displayed for any one rtevent actually corresponds to the value that should
>> have been displayed for the preceeding rtevent. Am I missing something?"
>>
>> I saw in the code there is smaxamps and omaxamps as well as maxamps. I had
>> the impression that the event printed out the current max amplitude for
>> sound at the time the event is fired, but then second guessed myself after
>> seeing the different maxamps.
>>
>> Any clarifications?
>>
>> Steven
>>
>> 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