# Generating MIDI messages within a VST plugin and passing them to the host

**URL:** <https://forum.juce.com/t/generating-midi-messages-within-a-vst-plugin-and-passing-them-to-the-host/31472>\
**Category:** Audio Plugins\
**Created:** [January 26, 2019, 5:57am UTC](https://forum.juce.com/t/generating-midi-messages-within-a-vst-plugin-and-passing-them-to-the-host/31472 "2019-01-26T05:57:34Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![adamwilson](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamwilson/32/1387_2.png) [@adamwilson](https://forum.juce.com/u/adamwilson)\
**Post date:** [February 7, 2019, 10:03am UTC](https://forum.juce.com/t/generating-midi-messages-within-a-vst-plugin-and-passing-them-to-the-host/31472/8 "2019-02-07T10:03:41Z")

</div>

My 2 cents: If the messages are not timing-sensitive, why not go directly to the MIDI device rather than via the host? Unless you are allowing users to automate parameters in the host which then get sent out as NRPN messages…

---

_[View the full topic](https://forum.juce.com/t/generating-midi-messages-within-a-vst-plugin-and-passing-them-to-the-host/31472)._
