# MIDI over USB

**URL:** <https://forum.juce.com/t/midi-over-usb/24460>\
**Category:** Android\
**Created:** [October 1, 2017, 10:02pm UTC](https://forum.juce.com/t/midi-over-usb/24460 "2017-10-01T22:02:24Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [October 3, 2017, 2:03pm UTC](https://forum.juce.com/t/midi-over-usb/24460/21 "2017-10-03T14:03:40Z")

</div>

> [@leehu](#):
>
> maybe this is because iOS MIDI is mulit-ported like OSX and Android isn’t like Windows

Yes that’s spot on. I forgot about that. We had a similar issue with ROLI’s NOISE app on Android: you can only open midi devices once.

So the standalone target is a simple standalone app to get you going quickly. It will simply connect all midi devices to your `AudioProcessor` - so without even opening any MidiDevices in your own code, you should be getting the midi into your `AudioProcessor` via the `processBlock` callback. You don’t need to use any AudioDeviceManager or anything. Check-out the JuceDemoPlugin or the AUv3Synth samples.

If you need something more custom [1] then you may need to roll your own custom app for your plugin. See option number 2 in this post for more information:

> [@Styling the Standalone plugin window?](https://forum.juce.com/t/styling-the-standalone-plugin-window/21872/15):
>
> There are two approaches here that you could do: you use the standalone app that JUCE already provides for you. Then you don’t need any macros etc. This is the approach that JUCE’s audio plugin demo uses. If you want different behaviour in your standalone app (compared to your plug-in), you can use: PluginHostType::getPluginLoadedAs() == AudioProcessor::wrapperType\_Standalone For example, you could use this in a parentHierarchyChanged callback in your plug-ins editor to change the window st…

[1] Let us know why the midi handling of the default standalone target app does not work for you. Maybe we can add it to JUCE.

---

_[View the full topic](https://forum.juce.com/t/midi-over-usb/24460)._
