Can one copy data from VST to the clip board and paste it to the DAW timeline?

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Can one copy data from VST to the clip board and paste it to the DAW timeline?

Post

Like in Maschine, which does "midi drag-n-drop".
Last edited by soundmodel on Thu May 24, 2018 5:13 pm, edited 1 time in total.

Post

The copy to clipboard step is obviously possible because VST plugins can use any OS APIs they like. But the paste step is likely not supported by many hosts. (I checked with Reaper and that does not support pasting neither from files nor from file names in the system clipboard. But maybe some other hosts do support that...)

Post

Xenakios wrote:The copy to clipboard step is obviously possible because VST plugins can use any OS APIs they like. But the paste step is likely not supported by many hosts. (I checked with Reaper and that does not support pasting neither from files nor from file names in the system clipboard. But maybe some other hosts do support that...)
But since most DAWs support copy pasting midi clips, then why wouldn't it be possible to "mimick" the clipboard containing a midi clip and then the host would know how to paste it?

Post

soundmodel wrote: But since most DAWs support copy pasting midi clips, then why wouldn't it be possible to "mimick" the clipboard containing a midi clip and then the host would know how to paste it?
The hosts likely use a private data format for that. But if you are able to reverse engineer it for each host, it might work.

Post

Xenakios wrote:
soundmodel wrote: But since most DAWs support copy pasting midi clips, then why wouldn't it be possible to "mimick" the clipboard containing a midi clip and then the host would know how to paste it?
The hosts likely use a private data format for that. But if you are able to reverse engineer it for each host, it might work.
But if JUCE is able to support MIDI drag n drop to the DAW timeline, then they have figured it out? Because it's similar to what copy+paste would do.

Post

soundmodel wrote: But if JUCE is able to support MIDI drag n drop to the DAW timeline, then they have figured it out? Because it's similar to what copy+paste would do.
The hosts likely use a different mechanism for drag and drop than for copy/paste. (Even if they are supposed to be quite similar things.)

Post

Create a temporary MIDI file and drag this to the timeline. If the host supports dropping MIDI files, that should work.

This is how JUCE handles the dropping of MIDI clips AFAIK.

Post Reply

Return to “DSP and Plugin Development”