# Get both audio and midi inputs in a DAW

**URL:** <https://forum.juce.com/t/get-both-audio-and-midi-inputs-in-a-daw/39514>\
**Category:** Audio Plugins\
**Created:** [May 17, 2020, 8:25pm UTC](https://forum.juce.com/t/get-both-audio-and-midi-inputs-in-a-daw/39514 "2020-05-17T20:25:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![damienr](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/damienr/32/15236_2.png) [@damienr](https://forum.juce.com/u/damienr)\
**Post date:** [May 17, 2020, 8:25pm UTC](https://forum.juce.com/t/get-both-audio-and-midi-inputs-in-a-daw/39514/1 "2020-05-17T20:25:06Z")

</div>

Hi everyone,

I’ve implemented a plugin that takes both audio and midi inputs and that just ouputs audio. I’ve ticked the “Plugin midi Input” in the projucer, everything is working fine in the Audio plugin host, but now I’d like to make it work in a DAW. I don’t know how to configure the plugin such that it will receive both midi and audio.

What I’ve tried for now is to apply the plugin on an audio track but I don’t know what I should do in the editor (or somewhere else) to be able to choose a midi track to receive the midi information from.

I’m mainly using Logic but I’ve also installed Reaper for testing purposes.

Is there a way in JUCE to configure the midi input on an audio plugin ? Or is it specific to the plugin type (AU, VST …) or to the DAW ?

I’m new to audio programming and JUCE so I may have missed an existing topic or turotial about this, sorry about that if it’s the case 🙂

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![danngonz3](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@danngonz3](https://forum.juce.com/u/danngonz3)\
**Post date:** [November 18, 2020, 1:06am UTC](https://forum.juce.com/t/get-both-audio-and-midi-inputs-in-a-daw/39514/2 "2020-11-18T01:06:39Z")

</div>

Did you ever figure out how to do this? I’m wanting to do the same

---

<div class="post-metadata">

**Author:** ![damienr](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/damienr/32/15236_2.png) [@damienr](https://forum.juce.com/u/damienr)\
**Post date:** [November 18, 2020, 12:30pm UTC](https://forum.juce.com/t/get-both-audio-and-midi-inputs-in-a-daw/39514/3 "2020-11-18T12:30:51Z")

</div>

Unfortunatly not, I changed strategy. I do not use midi in this plugin anymore.  
Now I have another plugin that takes midi as input and outputs audio (it’s a synth) and I redirect this audio in my original plugin via a sidechain.

I don’t know if this trick is helpful in your case but for me it turns out that things were simpler like this.

---

<div class="post-metadata">

**Author:** ![PaulDriessen](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@PaulDriessen](https://forum.juce.com/u/PaulDriessen)\
**Post date:** [November 19, 2020, 11:40am UTC](https://forum.juce.com/t/get-both-audio-and-midi-inputs-in-a-daw/39514/4 "2020-11-19T11:40:20Z")

</div>

DAW’s generally block midi from entering an audio plugin.  
the JUCE side is allright, but you need workarounds for the DAW to get the midi there.  
Look here:

> **[How to send MIDI to a plugin in a DAW](https://overloud.com/node/166)**
>
> This guide will show you step by step how to send MIDI to an Overloud plugin when inserted in a DAW. In particular we will focus on 6 DAWs:
> 
> 
> Reaper
> 	
> 	
> Sonar

Logic does not support midi routing, so there you are forced to use audio sidechain.
