Can one copy data from VST to the clip board and paste it to the DAW timeline?
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
Can one copy data from VST to the clip board and paste it to the DAW timeline?
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
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.
-
- KVRian
- 1265 posts since 9 Sep, 2005 from Oulu, Finland
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...)
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
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?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...)
-
- KVRian
- 1265 posts since 9 Sep, 2005 from Oulu, Finland
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.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?
-
- KVRian
- Topic Starter
- 1096 posts since 28 May, 2010 from Finland
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.Xenakios wrote: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.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?
-
- KVRian
- 1265 posts since 9 Sep, 2005 from Oulu, Finland
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.)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.
-
- KVRist
- 50 posts since 21 Apr, 2008 from Germany
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.
This is how JUCE handles the dropping of MIDI clips AFAIK.