# Error exporting AU or VST / OSC

**URL:** <https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626>\
**Category:** Cabbage slugs\
**Created:** [6 November 2019 21:19 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626 "2019-11-06T21:19:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [6 November 2019 21:19 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/1 "2019-11-06T21:19:59Z")

</div>

When I try to export I always get an error message: Can’t copy plugin to this location…  
I do not think it has to do with the target location, but the source location, since I try to do this from Cabbage.app/Contents…  
BTW, I try this with Cabbage.app/Contents/Examples/Miscellaneous/adsr.csd

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [7 November 2019 09:42 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/2 "2019-11-07T09:42:46Z")

</div>

Are you trying to export to the Cabbage.app folder? I just opened that file now and exported it as a VST plugins to my `Plugin-Ins` folder without any problems. Oh wait, I think you may be trying to overwrite a previous export? I think there is an issue here. I’ll take a look. Btw, that example you’re looking at uses imported plants. There are fairly experimental and I’m not sure how well they translate to host DAWs, but I’m happy for someone to try 😉

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [7 November 2019 10:04 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/3 "2019-11-07T10:04:56Z")

</div>

I pushed through a fix for this issue. It should be available [here](https://dev.azure.com/rorywalsh/cabbage/_build/results?buildId=505) shortly. Just click the artefacts link when the build is complete.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [7 November 2019 21:36 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/4 "2019-11-07T21:36:00Z")

</div>

The error occurs wherever I want to export it to, VST or AU does not matter…

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [7 November 2019 21:37 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/5 "2019-11-07T21:37:05Z")

</div>

Sorry, I do not know what to do with that…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [7 November 2019 21:56 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/6 "2019-11-07T21:56:45Z")

</div>

Did you install the latest version I linked in the previous post?

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [7 November 2019 21:58 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/7 "2019-11-07T21:58:35Z")

</div>

The artifacts link in the top right gives you access to the latest beta builds.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [9 November 2019 11:15 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/8 "2019-11-09T11:15:23Z")

</div>

Unfortunately it does not work. I get the same error…

 ![16](https://forum.cabbageaudio.com/uploads/default/original/2X/2/2d9c4aeb5175a80ceed0be1e4f374f20d8a517d6.png)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [9 November 2019 11:42 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/9 "2019-11-09T11:42:28Z")

</div>

Can you confirm the version of Cabbage you are using? Help-About, and can you confirm the error happens no matter where you try to export the plugins? Also, I assume you are not trying to export plugins that are currently loaded into a DAW?

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [9 November 2019 11:52 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/10 "2019-11-09T11:52:57Z")

</div>

It is version 2.3.9. I think I know what happens. I try to export the AU directly to the components folder in my system. When I first export to somewhere else, it works. Then I copy the AU from there to the components folder and load the plugin. But it does not work, I only see part of a keyboard and not the GUI controls that should come with the plant…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [9 November 2019 11:57 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/11 "2019-11-09T11:57:56Z")

</div>

Ok, so it doesn’t let you export to the /Library/Audio/Plugin-In/Components folder? You should probably then export to ~/Library/Audio/Plugin-In/Components. Logic will pick up AUs in this location too, as will most DAWs. It’s a user dir so you shouldn’t have any problems exporting there.

> [@zappfinger](#):
>
> But it does not work, I only see part of a keyboard and not the GUI controls that should come with the plant…

ait, you’re using the custom plant imports? As I mentioned before these have never been tested with a DAW. I guess you’re the first one to try? And I’m guessing it doesn’t work right? I can think of some reason why it might not work. I’ll take a look when I get a chance. Btw, the other examples export and run fine for you or?

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [9 November 2019 12:23 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/12 "2019-11-09T12:23:15Z")

</div>

Yes, e.g. MIDI\_Monitor works. This plants thing is not so important for me right now. What I want to do is out of this world: Generate OSC messages via a Cabbage plugin. These messages should trigger a Pyo program to generate the sound…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [9 November 2019 12:26 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/13 "2019-11-09T12:26:38Z")

</div>

That should be simple enough to do. Let me know if you have any issues

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [9 November 2019 20:29 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/14 "2019-11-09T20:29:14Z")

</div>

Well, it sort of works, when I record in my DAW (Garageband) I get sound. But when I play back the midi track there is no sound. Checking with OSC\_Data\_Monitor no OSC messages are sent when playing the track…

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [9 November 2019 21:59 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/15 "2019-11-09T21:59:39Z")

</div>

Playing a synth with a midi track is bread and butter for Cabbage. Can you share your synth? We’ll fix that issue first and then look at the OSC stuff.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [9 November 2019 22:43 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/16 "2019-11-09T22:43:10Z")

</div>

Here it is…[midi2osc.csd](https://forum.cabbageaudio.com/uploads/short-url/bnmdH8Qp8XELi1p8xKTSgjIQZW0.csd) (1005 Bytes)

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [9 November 2019 22:51 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/17 "2019-11-09T22:51:36Z")

</div>

This synth doesn’t make any sound? You have no outputs. I’m confused…

So when you play the keyboard into Garageband, with this instrument loaded, your OSC host gets input? But when you play the instrument with a MIDI track nothing happens, is that correct?

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [9 November 2019 22:54 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/18 "2019-11-09T22:54:24Z")

</div>

If this is the case it’s very odd, as the plugin is MIDI input agnostic. The MIDI can come from anywhere and the plugin still reacts the same to it. Be it a live performance, or a track, for Cabbage it is just MIDI input. How bizarre.

---

<div class="post-metadata">

**Author:** ![zappfinger](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/zappfinger/32/223_2.png) [@zappfinger](https://forum.cabbageaudio.com/u/zappfinger)\
**Post date:** [9 November 2019 23:07 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/19 "2019-11-09T23:07:55Z")

</div>

Correct, it has no audio output, only OSC. The sound is generated by the stand-alone Python Pyo app.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [10 November 2019 09:40 UTC](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626/20 "2019-11-10T09:40:17Z")

</div>

I’m just trying this here, but I can’t even get Csound to send OSC messages? My simple vanilla instrument looks like this:

```
instr TEST
    if metro(1) == 1 then
        event "i", 2, 0, .1, 100
    endif
endin

instr 2
    OSCsend 1, "localhost",8000, "/midi/non", "i", p4
endin

```

And in my OSC monitor app I’ve selected port 8000, but Csound keeps telling me:

`WARNING: OSCsend failed to send message with destination /midi/non to localhost:8000`

Any ideas? I’m on Windows if that makes any difference…

[Next page](https://forum.cabbageaudio.com/t/error-exporting-au-or-vst-osc/1626.md?page=2)
