musikinformatik / SuperDirt

Tidal Audio Engine
GNU General Public License v2.0
518 stars 75 forks source link

NRPN fails to send value 0 for CC 38 #268

Open johanwk opened 2 years ago

johanwk commented 2 years ago

(Motivated by the Elektron Analog Four, where various parameters require NRPN LSB = 0.)

Seems Tidal won't send value 0 for CC 38. The midi monitor (on a Mac) shows that the following resends the last occurrence of CC 6 instead of CC 38 with value 0.

once $ ccn 38 # ccv 0 # s "midi"

For example, this goes wrong, with nrpnv value 4096: once $ nrpnn 128 # nrpnv 4096 # s "midi" # midichan 8, returning

Channel Value
9   99  1
9   98  0
9   6   32
9   6   32

while values that don't imply value 0 for CC 38 are fine; here with 4097: once $ nrpnn 128 # nrpnv 4097 # s "midi" # midichan 8 returns

Channel Value
9   99  1
9   98  0
9   6   32
9   6   32
9   38  1

(but note that CC 6 is sent twice).

Originally posted by @johanwk in https://github.com/musikinformatik/SuperDirt/issues/154#issuecomment-1103258734