# Adding Midi Out to VST Host Demo

**URL:** <https://forum.juce.com/t/adding-midi-out-to-vst-host-demo/19442>\
**Category:** Audio Plugins\
**Created:** [October 12, 2016, 2:07am UTC](https://forum.juce.com/t/adding-midi-out-to-vst-host-demo/19442 "2016-10-12T02:07:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [August 1, 2017, 7:12pm UTC](https://forum.juce.com/t/adding-midi-out-to-vst-host-demo/19442/7 "2017-08-01T19:12:08Z")

</div>

Okay, using this thread:

> [@processBlock and midiOutput](https://forum.juce.com/t/processblock-and-midioutput/12060/17):
>
> Maybe I'm overcomplicating.... Where would I look for some information on how to pull the MidiBuffer out of processblock - say in the standalonefilterwindow? Per the audioProcessor documentaion..."Any messages left in the midi buffer when this method has finished are assumed to be the filter's midi output"...so how do I get at that buffer from outside the audioprocessor? I know the plugin is generating midi data fine. Thank yall. &nbsp; ps. My solution right now is to just send the midioutput f…

I made changes to the Host code and to AudioProcessorPlayer

Code changes are here:

> **[Host with MIDI Out](https://www.dropbox.com/sh/83ra92qjoh50yrl/AAAN9gCc0PUXV3qB5umUSbDXa?dl=0)**
>
> Shared with Dropbox

It would be great if you considered adding this to the JUCE code base.

Cheers,

Rail

---

_[View the full topic](https://forum.juce.com/t/adding-midi-out-to-vst-host-demo/19442)._
