View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001835 | OpenMPT | Audio I/O | public | 2024-10-27 00:19 | 2024-10-27 12:24 |
Reporter | rkz | Assigned To | Saga Musix | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x64 | OS | Windows | OS Version | 11 |
Product Version | OpenMPT 1.31.12.00 / libopenmpt 0.7.11 (current stable) | ||||
Target Version | OpenMPT 1.31.13.00 / libopenmpt 0.7.12 (upcoming stable) | Fixed in Version | OpenMPT 1.31.13.00 / libopenmpt 0.7.12 (upcoming stable) | ||
Summary | 0001835: MIDI note velocity 'amplify by' only works with integer multiples | ||||
Description | Attempting to scale incoming midi note velocity by anything between 100% and 199% yields no modification. As soon as it hits 200% it applies the expected doubling but then doesn't change again until 300%. Seemed like an integer division issue so took a look at the code and have a patch which I did a quick test with after waiting for vs to upgrade. It seems to work fine.
| ||||
Steps To Reproduce | Select midi input with "Record MIDI Note Velocity" set and its "amplify by" set to, e.g., 180%. The effect should be that the vNN is close to double that at 100% but it is not affected. | ||||
Tags | No tags attached. | ||||
Has the bug occurred in previous versions? | |||||
Tested code revision (in case you know it) | |||||
Looks like the floating point conversion and cast in the
but haven't tested that as I don't think my device sends the MIDICC_Volume_Coarse control. |
|
Thanks, that whole volume computation block looked a bit strange and could be simplified. Fixed in r22002. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-10-27 00:19 | rkz | New Issue | |
2024-10-27 00:38 | rkz | Note Added: 0006153 | |
2024-10-27 10:47 | Saga Musix | Assigned To | => Saga Musix |
2024-10-27 10:47 | Saga Musix | Status | new => assigned |
2024-10-27 12:24 | Saga Musix | Note Added: 0006154 | |
2024-10-27 12:24 | Saga Musix | Status | assigned => resolved |
2024-10-27 12:24 | Saga Musix | Resolution | open => fixed |
2024-10-27 12:24 | Saga Musix | Fixed in Version | => OpenMPT 1.31.13.00 / libopenmpt 0.7.12 (upcoming stable) |
2024-10-27 12:24 | Saga Musix | Target Version | => OpenMPT 1.31.13.00 / libopenmpt 0.7.12 (upcoming stable) |