# Solution for user-made presets?

**URL:** <https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262>\
**Category:** Cabbage Stew\
**Created:** [8 January 2021 16:13 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262 "2021-01-08T16:13:42Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [2 October 2021 16:36 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/81 "2021-10-02T16:36:21Z")

</div>

Congratulations! And to enjoy the baby. My best wishes 🤗

---

<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:** [11 October 2021 11:16 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/82 "2021-10-11T11:16:38Z")

</div>

Hi @Gerbo, I’m just getting around to this now.

> [@Gerbo](#):
>
> I am observing that combobox and listbox when used outside of preconfigured snaps code like the

Do you have an example? Do you mean when using the old way of saving generic presets, as shown in [this](https://github.com/rorywalsh/cabbage/blob/develop/Examples/Miscellaneous/Presets.csd) example?

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [11 October 2021 14:15 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/83 "2021-10-11T14:15:44Z")

</div>

It is to work with combobox or listbox, without running audio and without .snaps. With .snaps if it responds correctly as usual. Using it for example as a playlist for any other use, you need that audio to be active.

---

<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:** [12 October 2021 10:55 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/84 "2021-10-12T10:55:35Z")

</div>

I can recreate this here. Leave it with me. Thanks.

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [12 October 2021 11:11 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/85 "2021-10-12T11:11:04Z")

</div>

You can see, that with the traditional method “.snaps” it is active 👍, but the combobox with individual presets does not respond if it is inactive.

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [12 October 2021 11:17 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/86 "2021-10-12T11:17:35Z")

</div>

These tests are carried out with the latest version of Cabbage 2.8.17

---

<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:** [12 October 2021 11:25 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/87 "2021-10-12T11:25:29Z")

</div>

Thanks @gerbo, is there any chance you could send me the two instrument .csd files you use above? I think that would help. Right now I’m still a little confused 😆

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [12 October 2021 12:23 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/88 "2021-10-12T12:23:48Z")

</div>

> [@rorywalsh](#):
>
> Right now I’m still a little confused

The thrill of being a dad again 😉 How’s everything going @rory?  
The tests are done with the examples: Presets and PresetsChannels  
[TestCombobox-pre-snaps.zip](https://forum.cabbageaudio.com/uploads/short-url/xIA9j3LOCZJfuk6L4qlWYYhfPQa.zip) (6.3 KB)

---

<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:** [12 October 2021 13:23 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/89 "2021-10-12T13:23:45Z")

</div>

> [@Gerbo](#):
>
> The thrill of being a dad again 😉

Exactly. everything is confusing to me these days 😆

Thanks for this, I am able to recreate it 👍

---

<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:** [12 October 2021 15:52 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/90 "2021-10-12T15:52:57Z")

</div>

So I can’t run Garageband through the XCode debugger 😡

In summary, I can’t use the Apple development tools to debug a plugin written using an Apple SDK, in a host that is produced by Apple. Wow. They never fails to amaze!

I’ll have to download a trial version of Logic as I don’t have it this machine…

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [12 October 2021 16:15 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/91 "2021-10-12T16:15:53Z")

</div>

Wow! these from Apple … 🙃  
If you have Cubase, you can recreate it too. It does the same as in Logic.

---

<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:** [12 October 2021 18:07 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/92 "2021-10-12T18:07:20Z")

</div>

Thanks, I’ll try Cubase 👍

---

<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:** [12 October 2021 21:08 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/93 "2021-10-12T21:08:31Z")

</div>

The thought just occurred to me that `guiMode("queue")` might be the issue. And it turns out that it is not enabled for the one that doesn’t work. I think this should fix the issue. I’m going to check now…

[edit] that seems to fix it. I will update the presets example so this doesn’t happen again. 👍

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [13 October 2021 08:10 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/94 "2021-10-13T08:10:58Z")

</div>

Good Morning!  
The one that doesn’t work is still the same (PresetsCahnnels), which already had guiMode (“queue”).  
It does not react if the audio is not active.

---

<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:** [13 October 2021 08:16 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/95 "2021-10-13T08:16:54Z")

</div>

Let me check again here. The instrument that wasn’t working for me started working fine once I added this. But to be certain, I’ll test the two you posted.

---

<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:** [13 October 2021 08:26 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/96 "2021-10-13T08:26:45Z")

</div>

Ah yes, now I see. The example that uses the `cabbageChannelStateRecall` opcodes won’t work without audio, as you have already discovered. This is because Cubase and Logic don’t run any processing unless there is audio. The reason the other system works without audio is that it is managed entirely by Cabbage.

What are you trying to do, is there some way we can improve the other system to help you?

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [13 October 2021 09:31 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/97 "2021-10-13T09:31:30Z")

</div>

> [@rorywalsh](#):
>
> What are you trying to do, is there some way we can improve the other system to help you?

Yes, of course! 👍I think it would be helpful if cabbageChannelStateRecall was controllable by Cabbage for now. It would be of great help, for managing combobox, or listbox.  
Thanks to the new guiMode (“queue”), the code for saving presets with the \* .snaps system has already been facilitated and given a lot of freedom.  
I guess it would also be cabbageChannelStateSave[quote=“rorywalsh, post:98, topic:2262”]  
The problem is that these are opcodes, and as such can’t, can’t run until Csound does  
[/quote]

I understand … It was scratching a bit to see if there was luck 🙄

Because actually, at the moment, I can’t find any other way to generate individual user and factory presets.  
If you could implement snaps to generate individual files, that would be great 😉

---

<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:** [13 October 2021 09:37 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/98 "2021-10-13T09:37:36Z")

</div>

> [@Gerbo](#):
>
> I think it would be helpful if cabbageChannelStateRecall was controllable by Cabbage for now.

The problem is that these are opcodes, and as such can’t, can’t run until Csound does. It’s a pity that Cubase and Logic behave like this. It causes quite a few headaches.

---

<div class="post-metadata">

**Author:** ![Gerbo](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Gerbo](https://forum.cabbageaudio.com/u/Gerbo)\
**Post date:** [13 October 2021 10:11 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/100 "2021-10-13T10:11:54Z")

</div>

> [@rorywalsh](#):
>
> The problem is that these are opcodes, and as such can’t, can’t run until Csound does.

I understand … It was scratching a bit to see if there was luck 🙄

Because actually, at the moment, I can’t find any other way to generate individual user and factory presets.  
If you could implement snaps to generate individual files, that would be great 😉

---

<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:** [13 October 2021 10:13 UTC](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262/101 "2021-10-13T10:13:10Z")

</div>

I think it’s time I looked into this. You’re not the first person to request it. And considering that the `channelState` opcodes won’t work _UNTIL_ Csound starts running, I think we have no other choice. Leave it with me.

[Previous page](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262.md?page=4)

[Next page](https://forum.cabbageaudio.com/t/solution-for-user-made-presets/2262.md?page=6)
