You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The note# is stored in higher 8bit of user_osc_param::pitch as uint8_t datatype.
In my recognition, when NTS-1 receive a pitch bend MIDI message, note# stored in higher 8bit of user_osc_param::pitch is decremented (for pitch down) or incremented (for pitch up) from actual MIDI note# by NTS-1 system software.
Upward pitch bend message is OK, but downward pitch bend seems like:
MIDI Pitch bend value
user_osc_param::pitch
-4096 <= pitchbend < 0
actual MIDI note# -1
-8192 <= pitchbend < -4096
actual MIDI note# -2
So, when playing MIDI note#0 and any downward pitchbend received, overflow occurs because of unsigned integer (same problem occurs when playing MIDI note#1 and pitchbend less than -4096 received).
If this occurs, the playing tone's pitch gets extremely high (seems overflowed value is treated as higher note# by NTS-1 system software).
This problem occurs in both of preset oscillators and user oscillators.
The developer has no way to get real MIDI note# or pitch bend value, it should be fixed in NTS-1 system software.
To Reproduce
Steps to reproduce the behavior:
Choose any oscillator in NTS-1
Send note#0 on midi message
Send negative (any value within -1 to -8192) pitch bend midi message
The tone frequency gets incorrect
Expected behavior
The tone should be played correct frequency
Screenshots
N/A
Environment
NTS-1
The text was updated successfully, but these errors were encountered:
Describe the bug
The note# is stored in higher 8bit of user_osc_param::pitch as uint8_t datatype.
In my recognition, when NTS-1 receive a pitch bend MIDI message, note# stored in higher 8bit of user_osc_param::pitch is decremented (for pitch down) or incremented (for pitch up) from actual MIDI note# by NTS-1 system software.
Upward pitch bend message is OK, but downward pitch bend seems like:
So, when playing MIDI note#0 and any downward pitchbend received, overflow occurs because of unsigned integer (same problem occurs when playing MIDI note#1 and pitchbend less than -4096 received).
If this occurs, the playing tone's pitch gets extremely high (seems overflowed value is treated as higher note# by NTS-1 system software).
This problem occurs in both of preset oscillators and user oscillators.
The developer has no way to get real MIDI note# or pitch bend value, it should be fixed in NTS-1 system software.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tone should be played correct frequency
Screenshots
N/A
Environment
NTS-1
The text was updated successfully, but these errors were encountered: