Alright I sorted it.
Thanks to some good references online :
[elektronauts link](Alright I sorted it.
Thanks to some good references online :
elektronauts link,
somascape,
midi specs for Elektron,
digitakt documentation.
So I sent this message, and it changed the src slot to the number 5 :
vector<unsigned char> sysexMsg;
// F0
sysexMsg.push_back(MIDI_SYSEX);
// elektron manufacturer ID :
// 00 20 3C
sysexMsg.push_back(0x00);
sysexMsg.push_back(0x20);
sysexMsg.push_back(0x3C);
// channel 0
sysexMsg.push_back(0x00);
// 19 for sample Slot
// from
// https://www.elektron.se/wp-content/uploads/2019/06/Digitakt-User-Manual_ENG.pdf
// page 72
// change Sample slot to 5th slot
// B0 -> CC
// 13 -> Sample Slot (18)
// 05 -> sample set to 5th
sysexMsg.push_back(0xB0);
sysexMsg.push_back(0x13);
sysexMsg.push_back(0x05);
// Data Entry MSB to 0
// B0 -> CC
// 06 -> Most Significant Bit
// 00 -> set to 0
sysexMsg.push_back(0xB0);
sysexMsg.push_back(0x06);
sysexMsg.push_back(0x00);
// Data Entry LSB to 0
// B0 -> CC
// 06 -> Least Significant Bit
// 00 -> set to 0
sysexMsg.push_back(0xB0);
sysexMsg.push_back(0x26);
sysexMsg.push_back(0x00);
sysexMsg.push_back(MIDI_SYSEX_END);
midiOut.sendMidiBytes(sysexMsg);
I set the MSB and LSB to 0 as it doesn’t seem to affect.
I’ll release a bridge app once it’s done and ready for other to play with.
Best,
P