happycodelucky / ortho-remote-node

Node.js package for interfacing with Teenage Engineering's Ortho Remote
MIT License
38 stars 4 forks source link

Clarity for writing to MIDI I/O Characteristic to a Ortho Remote device #1

Open happycodelucky opened 5 years ago

happycodelucky commented 5 years ago

@jsiverskog I'm wondering if you can help me out here? I'm wrapping up this package, but had trouble with one aspect..

I'm trying to write to the MIDI I/O Characteristic (7772E5DB-3868-4112-A1A9-F2669D106BF3) of the Ortho Remote. I see when the device connects it resets the internal state for the dial, putting its value at half-way at 0x3F

I've not been able to find information about writing to the character and changing this value? Something I need as the Ortho Remote is not the only attached device to my application.

jsiverskog commented 5 years ago

i don't understand exactly what you want to achieve. it is possible to change midi channel, cc value, whether the absolute or relative value should be sent, as well as note and velocity for button presses. is this enough to solve your issue?

i don't think this is documented anywhere, but perhaps i should wrap it up in a document.

happycodelucky commented 5 years ago

Thanks @jsiverskog, yes, I want to change the modulation wheel value. I have just pushed my changes to that should do this but does not seem to take effect. Likely due to my naive understanding to date (edit - seems like I should be using SysEx?).

I want to change the value of the Modulation Wheel controller due to an external event. I've not found what byte values I need to make this happen - I took a stab at it, but this is not right https://github.com/pryomoax/ortho-remote-node/blob/master/src/bluetooth/ortho-remote-peripheral.ts#L230-L236

happycodelucky commented 5 years ago

@jsiverskog I've been playing around with all sorts trying to set the value of the modulation controller without success. I even did some brute force writing of values. I came across Midi Wrench for the iPad so I could read out the control and have it do the same thing.

Looks like even Midi Wrench is not able to adjust the modulation controller back to the Ortho Remote either.

Would really love some quick assistance, just need to know a series of bits/bytes known to work? Or if I need to change a mode on the Ortho Remote that switch to use a different controller, like volume?

jsiverskog commented 5 years ago

i sent you more information through e-mail.