-
Hi ! I'm working on a midi thru example. Is it possible to have 2 devices connected and just forward a message received from the input to the output without using noteon or noteoff ? like forwarding the "raw" midi event to the output |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In version 3 (soon to go into beta), it is now possible to use the new const destination = WebMidi.outputs[0];
WebMidi.inputs[0].addForwarder(destination); The code above forwards all messages coming in from input #0 to the destination output. The method can also accept options to filter forwarded messages by type and/or by MIDI channel. |
Beta Was this translation helpful? Give feedback.
In version 3 (soon to go into beta), it is now possible to use the new
Input.addForwarder()
method to forward messages from an input to an output:The code above forwards all messages coming in from input #0 to the destination output. The method can also accept options to filter forwarded messages by type and/or by MIDI channel.