Midi/in/cc hr issues [solved]


#1

Hi everyone's,

I get some issues to work properly midi/in/cc hr, it seem I only get msb value at outlet. Did I miss something?

I'm on project of a kind of "continuous laser harp" , I send midi from a teensy board, I tried usbMidi and midi din 5 (via serial 31250).

with a dirty mixing two standart CC's (left of picture) I get my 14bit value but it's glitchy...
Also "midi/in/cc hr" seem not working at full range...

also here is an extract of code in C in teensy (arduino ide) :
// Serial1.write(0xB6); Serial1.write(7); Serial1.write((pitch[0] >> 7) & 127);
// Serial1.write(0xB6); Serial1.write(39); Serial1.write(pitch[0] & 127);
//
//
usbMIDI.sendControlChange(0x07,(pitch[0] >> 7) & 127, 7);
usbMIDI.sendControlChange(0x27, pitch[0] & 127, 7);
}

both two packets (usb /din5) work for simple CC inputs

any ideas?

thank you


How to send 14bits CC to Axoloti with BCR 2000
#2

yes, this is likely related to a bug in the midi hr object, essentially it uses not the current but the last LSB value, so the LSB lags behind by one message.

see here:


#3

also have you considered using pitchbend to send the pitch info?


#4

yeah pitch bend is an option, but I have to get at least 4 voices polyphonic in HiRes... I will try your fix :

thank you!


#5

@lokki Your fix seem's to work well, awesome job! and just these days I needed, I'm so lucky...

thank you!


#6

@Gael glad it helped! i only stumbled across it because of @mtyas post about hr midi out. to test my objects i tried the midi in hr object and found the bug. so, thank him :slight_smile: