# Correct way of sending out sysex to midiout VST3

**URL:** <https://forum.juce.com/t/correct-way-of-sending-out-sysex-to-midiout-vst3/50578>\
**Category:** Audio Plugins\
**Created:** [March 14, 2022, 8:46am UTC](https://forum.juce.com/t/correct-way-of-sending-out-sysex-to-midiout-vst3/50578 "2022-03-14T08:46:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wimvandenborre](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@wimvandenborre](https://forum.juce.com/u/wimvandenborre)\
**Post date:** [March 14, 2022, 8:46am UTC](https://forum.juce.com/t/correct-way-of-sending-out-sysex-to-midiout-vst3/50578/1 "2022-03-14T08:46:54Z")

</div>

Hey everyone,

I’m creating a vst3 plugin to handle incoming midi and slider paramaters and use these to send out midi sysex messages to a synth. I succesfully created it in max4L but now i’m building my first VST in Juce.

I need to use integers, perform some simple calculations on them and send out the midi, I read somewhere that sysex was depricated in VST3 but don’t know if that’s true.

Im using **const** uint8 rawSysEx[10] = {0x7F, 0x7F, 0x08, 0x02, 0x00, 0x01, midiNote1, midiNote1, 0x00, 0x00};

Is there a better way? In max4L you can use sxformat and perform simple calculations in the function itself.

Also to get midiout to work do I need to create a buffer like with midiin? If anyone would have some example code of sending out midi that would be really handy. I’m not finding a lot of Juce examples on midi handling.

Tx
