apply volExp on velocity input - PLEASE READ
DivDispatch::mapVelocity() now takes a float instead of an unsigned char
This commit is contained in:
parent
99dd85bcb4
commit
51b385a1ef
18 changed files with 39 additions and 24 deletions
|
|
@ -594,10 +594,10 @@ class DivDispatch {
|
|||
/**
|
||||
* map MIDI velocity (from 0 to 127) to chip volume.
|
||||
* @param ch the chip channel. -1 means N/A.
|
||||
* @param vel input velocity.
|
||||
* @param vel input velocity, from 0.0 to 1.0.
|
||||
* @return output volume.
|
||||
*/
|
||||
virtual int mapVelocity(int ch, unsigned char vel);
|
||||
virtual int mapVelocity(int ch, float vel);
|
||||
|
||||
/**
|
||||
* get the lowest note in a portamento.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue