CA-72 (minimoog)

Just found about CA-72 a great sounding synth modelled after the minimoog model d.

Checkout the youtube link in the readme.

Unfortunately currently only CLAP and VST3 (and AU on Mac).

What’s the current state of clap-support on zynthian? Looks like more and more plugins prefer clap over lv2.

I was successful in compiling (rust-based) the clap and vst3 plugins on Zynthian, so at least it works under arm.

I already created an issue concerning lv2 build target.

2 Likes

I found it also a few days ago, AI did the LV2 target and i tried in my Zynthian, I have a Rpi4,a majority of the presets aren’t usable even monophonic
It might be better If you have a Rpi5 :slight_smile:

CA-72.lv2.zip (2.0 MB)

2 Likes

Answer to my issue:

“Hey Tithrion, thanks for the request. I think an LV2 option is definitely possible in the future, but more likely sometime after the plugin is closer to a ‘feature complete’ state. The simple reason being that every format I support slows down development time. If there’s enough interest from Zynthian owners or their devs, there’s no reason a version specially calibrated for that hardware couldn’t be made as well. Until then, feel free to experiment with any porting work yourself, or reach out for my input if you need anything.”

4 Likes

Hi

Which ai did you use and how did you do the lv2 version with it ?

Thanks

I use opencode, it’s open source, they have some open weighted models that give you free tokens
I cloned the original repository and explain the goal to the IA. I had very few interaction.
It also created the bundle to deploy to Zynthian.
As a former coder, these tools are seriously impressive…

1 Like

I did the same as an experiment. This plugin can really hit hard with basses and all the Minimoog legendary sounds.

1 Like

It works well with a Raspberry 5 at low quality, which sounds good to my ears. It gets worse at medium and unusable at high.

1 Like

Thanks !

Can you show the source code? I wonder how much overhead is being used at runtime for the LV2 conversion or how efficient the implementation is.

1 Like

You mean the source code generated by the AI (Chat GPT in my case)?

This is the last one generated after several corrections:

ca72-controls-v1.0-source.zip (33.0 KB)

And this is the corresponding lv2 installable via Webconf. I tested the MikeRodd version and the sound was very low in my Zynthian. In this version I organized all the parameters in a logical (I suppose) order. And there are all the 19 presets.

CA72-v0.2.8-Zynthian-controls-v1.0.zip (11.4 MB)

3 Likes

I had already looked at CA-72 as it looked like an interesting / exciting prospect but saw it did not support LV2 and had no time to investigate further. I see the AI has created a wrapper that presents a LV2 that JALV (the zynthian LV2 host) can load which provides an interface for some of the API to a hosted CLAP library. There is some overhead to this and some of the implementation is less efficient than it could be… but it is a way to get JALV (and hence zynthian) to host a CLAP without modiication to zynthian. In theory this wrapper could be adjusted to host more CLAP plugins. Currently it is hardcoded to handle CA-72. I think we may be better focused on adding a dedicated CLAP host, like CARLA which has been on my bucket list for a while. (Indeed, @jofemodo and I have discussed this and CARLA had been used in the distant past.) There are other benefits to CARLA that focused my attention on it. CLAP & VST support were side-benefits this would provide… so maybe one day…

In the meantime, I will try to do some benchmarking to see how (in)efficient this wrapper is. (I think it does not support all features, e.g. native GUI.)

1 Like

Here is a little feedback on the LV2 wrapper:

  • The description (shown when selecting the engine) is not descriptive of the engine. It seems to show some metadata about the build. This should be replaced with a descripton of the plugin, e.g. extract from the upstream website.
  • The parameter page titles are all UPPER CASE. This could be adjusted to better match the zynthian style.
  • Parameter page assignment and parameter tagging should be improved to allow envelope and filter widgets to show.
  • I would be tempted to group all the mixer controls together like on the original Minimoog, not just the oscillators, but that may just be me!
  • There seem to be no presets.
  • There are no audio inputs.

Meanwhile… it looks like CARLA does not support CLAP in its release versions but may do in its main dev branch. It does support VST3 so I am testing that and comparing with the LV2 wrapper.

3 Likes

Hi @riban !

The LV2 support in Carla is probably not enough for zynthian needs. First, it uses a OSC interface that it’s ultra-slow compared with our asynchronous jalv implementation. Second, we have added a lot of features to our jalv, like property parameters, path parameters, designations, etc. and i’m not sure carla supports all these from the OSC interface.

From the zynthian perspective, perhaps it would me more convenient to write jalv_clap or jalv_vst3 standalone hosts.

Regards

1 Like

We can discuss the possible future use of Carla in tickets #1635 & #1393.

I compiled Carla with CLAP support and saw similar behaviour to the VST3 with high CPU usage (maybe lower at approx. 30% on the V5 RPi4). I wonder whether some of the missing features in this LV2 wrapper are the reason it has lower CPU, e.g. the missing audio inputs?

@Nicolaz maybe you might want to ask AI to implement the missing features and see what happens/

3 Likes

you may have noticed :wink: and I don’t know if it’s the raise of the (machines) IA, but there are a lot of new plugin projects popping and retro engineering 90’s synths.
Unfortunately they usually need the original ROM to run, but may be we could have a wiki page with “not officially supported” synths and custom builds ? l was thinking about:

  • the usual suspects plugins (obviously)
  • The Autodafe channel has a lot of videos on those plugins
  • RDPiano (almost works on a Rpi4)
  • this CA-72
  • others ?
1 Like

Well, I stupidly asked AI to get rid of the external input because I thought it was unnecessary, then I changed my mind. This is the last version with external input, wich is cool. I think the plugin itself is very cool and good sounding, expecially for basses, and it has some great ways to thicken and spread the sound.
The patches have been rewritten because the tune was set to 0.50, so they were out of tune compared to other synths. Now they’re ok.

Source
CA72-Final-v1.3.0-builder.zip (42.2 KB)

Webconf installer
CA72-v0.2.8-Zynthian-Final-v1.3.0.zip (11.5 MB)

To test the external input you can route the audio from a chain in CA-72 in this way:

  1. Create an instrument chain containing the source synthesizer.
  2. Create another instrument chain containing CA-72.
  3. Open Audio Out in the source chain’s options.
  4. Select the CA-72 sidechain input destinations.
  5. Optionally disable the source chain’s direct Main Mixbus output to monitor only the processed signal.
  6. Set this parameters:

External Input - ON
External Input Volume - 1.00
Feedback - 0
Oscillators 1, 2, 3 - Off
Filter Mode - Lo
Cutoff - Maximum
Emphasis - 0
Amount of Contour - 0
Drive - 0

Write a pattern in chain 1 and press play, then go to CA-72 chain and hold a note to open VCA. The external audio signal passes now through the synth and you can play with Cutoff, Emphasis and other parameters to listen what happens.

2 Likes

This version is also much leaner than the full CLAP version. It does not have the GUI which may be relevant although I still see high CPU when running the CLAP version headless. (I am not certain that actually disables the GUI completely.) What other limitations did you ask the AI to apply or what did it say was not implemented?

I am eager to understand why this LV2 wrapper is so much less resource hungy than the standard CLAP build.

[Edit] I must have been building an old version. I just pulled the latest version from GitHub and it behaves fine with lower CPU usage. Much fun to be had with this plugin over then next few days…

1 Like

I didn’t ask any other specific limitation. Except for the GUI, I chose to delete the Bypass/Power original command, wich gradually attenuates the signal in approximately 10 ms. The original Midi learn system is also not implemented, just like the original preset management. Auto Gain curves are not completely implemented in the presets.

I have done some more testing and CA-72 is pretty much unusable on a RPi4. It can be persuaded to run with fairly low quiescent CPU (approx 5%) but ramps up quickly when playing many of the presets, e.g. Brass Choir will soon hit 100% CPU. It would be interesting to do an analysis of the audio processing to see if it can be optimised. The plugin is based on modelling electronc circuitry rather than sound which may be inefficient on a CPU and require too much resource from the RPi4.

2 Likes

This is the last version, with corrected Auto Gain Curves for Lo/Hi/Ultra quality and no more full upper case letters in group parameters. Should be a kind of definitve version, until the next original CA-72 update.
In my RPi5 I loaded four chains of the plugin in Hi quality mode and made a quick test. It seems to work well, since now.

Source
CA72-v0.2.8-Zynthian-Final-v1.3.2-builder.zip (60.0 KB)

Webconf installer
CA72-v0.2.8-Zynthian-Final-v1.3.2.zip (11.5 MB)

2 Likes