Missing MIDI Remote Value Mode documentation in the API

Documentation for some methods in the MIDI Remote API appears to be missing.

I am speaking specifically of :

	/**
	 * @returns {MR_MidiBindingToControlChange}
	 */
	setTypeRelativeSignedBit (): MR_MidiBindingToControlChange
	{
		return this
	}
	
	/**
	 * @returns {MR_MidiBindingToControlChange}
	 */
	setTypeRelativeBinaryOffset (): MR_MidiBindingToControlChange
	{
		return this
	}
	
	/**
	 * @returns {MR_MidiBindingToControlChange}
	 */
	setTypeRelativeTwosComplement (): MR_MidiBindingToControlChange
	{
		return this
	}

The call to setTypeRelativeTwosComplement() is actually featured in the example script for Real World Device when binding the knob to MIDI control changes:

knobStrip.knob.mSurfaceValue.mMidiBinding.setInputPort(midiInput).bindToControlChange(15, 21 + knobIndex).setTypeRelativeTwosComplement()

These methods seem to jive with this documentation in the manual.

I’m off to tinker with it to see whether I can make use of it, but thought I’d point out that it is absent in case it really should be in the documentation.

And, yes, it turns out they work exactly as expected, and my side project to map my surface works so much better for making use of them :slight_smile:

1 Like

Hi @mackemlad, the code snippet you posted is from the autocompletion-stuff that’s only there to make VSCode happy. And yes, the documentation is still a bit “microsoftish” :wink: and will be filled with more example codes right after we’ve fixed ALL bugs in MIDI Remote :joy_cat:

1 Like