Can one drag and drop MIDI from a JUCE plug-in to the DAW timeline?

gui
midi

#1

Can one drag and drop MIDI from a JUCE plug-in to the DAW timeline?

How?


How does JUCE's MIDI drag n' drop work? How does the host "accept" the drop as valid data?
#2

I’m pretty sure @Rail_Jon_Rogut did it for his plugin


#3

As long as the DAW supports it… yes… Just create a temporary MIDI File and drag/drop that… then clean up the temporary file.

Rail


#4

So which DAWs support it?


#5

All that I can think of… as long as they accept dropping a Standard MIDI File onto the timeline… it’ll work… There may be some esoteric DAW that may not support that (which is why I put in the disclaimer).

Rail


#6

Yes. Works at least in Logic and Ableton on MacOS.


#7

Hi, how do I make the file draggable from a JUCE component? thx


#8

DragAndDropContainer::performExternalDragDropOfFiles