Csound Csound-dev Csound-tekno Search About

[Csnd] MIDI-interop command line flags

Date2011-12-08 12:36
FromRory Walsh
Subject[Csnd] MIDI-interop command line flags
Just a question as to why Csound never prints the midi velocity amp
values? For instance pushing a key on my keyboard will cause Csound to
print the following info:

  midiKeyCps:      pfield:   4  value: 261
  midiVelocityAmp: pfield:   5  value:   0

midiVelocityAmp always seems to be 0 for me no matter what I do?
Anyone else ever notice this?


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-12-08 13:49
FromTito Latini
SubjectRe: [Csnd] MIDI-interop command line flags
AttachmentsNone  

Date2011-12-08 13:51
FromRory Walsh
SubjectRe: [Csnd] MIDI-interop command line flags
Thanks Tito. I assume there is no trouble in changing it to a float?

On 8 December 2011 13:49, Tito Latini  wrote:
> It's a little bug when `0dbfs  = 1', because in Engine/insert.c:441
>
> csound->Message(csound, "  midiVelocityAmp: pfield: %3d  value: %3d\n",
>                        pfield, (int) pfields[index]);
>
> therefore the value is a `int' and not a floating point number.
>
> tito
>
> On Thu, Dec 08, 2011 at 12:36:09PM +0000, Rory Walsh wrote:
>> Just a question as to why Csound never prints the midi velocity amp
>> values? For instance pushing a key on my keyboard will cause Csound to
>> print the following info:
>>
>>   midiKeyCps:      pfield:   4  value: 261
>>   midiVelocityAmp: pfield:   5  value:   0
>>
>> midiVelocityAmp always seems to be 0 for me no matter what I do?
>> Anyone else ever notice this?
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2011-12-08 14:01
FromTito Latini
SubjectRe: [Csnd] MIDI-interop command line flags
AttachmentsNone