About CLAP
- u-he
- Topic Starter
- 30178 posts since 8 Aug, 2002 from Berlin
-
- KVRian
- 1473 posts since 7 Apr, 2007 from Bellows Falls, VT
-
machinesworking machinesworking https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=8505
- KVRAF
- 7974 posts since 15 Aug, 2003 from seattle
On Mac OS it starts off as a 22MB universal binary, becomes 27mb on download, and 160mb after installing. It's lean code for sure, but I highly doubt the program Reaper living on your computer is 15mb.
-
- KVRAF
- 2623 posts since 20 Oct, 2014
Just as a raw idea:
Couldn't a CLAP plugin be a generator and a fx processor at the same time, so the generator section was provided to the DAW, and also the fx section was provided to the DAW, but completely separated? Or is it then easier to code the fx section as separate plugin already?
I always find it quite counterproductive when synths come with very nice fx, too, yet you are completely unable to properly route and post process those fx, wrong order, already summed together etc.
Could this general design flaw maybe be solved with a clever plugin architecture feature?
Couldn't a CLAP plugin be a generator and a fx processor at the same time, so the generator section was provided to the DAW, and also the fx section was provided to the DAW, but completely separated? Or is it then easier to code the fx section as separate plugin already?
I always find it quite counterproductive when synths come with very nice fx, too, yet you are completely unable to properly route and post process those fx, wrong order, already summed together etc.
Could this general design flaw maybe be solved with a clever plugin architecture feature?
-
- KVRian
- 1213 posts since 25 Dec, 2018
What I'm starting to do in situations like that is have one clap have two plugins (or three or four) which provide different topologies and functions from a shared code base. That works pretty well. Six sines has two versions (a 2 out and sven out version) which support different features and topologies.
But I don't think this is a general problem solved by clap. For instance, Surge is an instrument with audio input so you can use it today as an effect or a synth, but because it takes midi, the constraints *in the designs of many daws* makes that routing a bit odd. Super flex daws like reaper let you do crazy stuff but in logic (as an instance of a daw with a more static routing path in the default setup) you need to set it up as an instrument track and side chain to it and you can only have one side chain on an instrument.
So while, in theory, yes you could have a clap which dynamically supported many topologies - that's in the API - in practice the DAW support for that would make it not super useful vs just sharing all your code and having two plugin 'flavors' in one clap.
Curious what other devs think tho of course.
But I don't think this is a general problem solved by clap. For instance, Surge is an instrument with audio input so you can use it today as an effect or a synth, but because it takes midi, the constraints *in the designs of many daws* makes that routing a bit odd. Super flex daws like reaper let you do crazy stuff but in logic (as an instance of a daw with a more static routing path in the default setup) you need to set it up as an instrument track and side chain to it and you can only have one side chain on an instrument.
So while, in theory, yes you could have a clap which dynamically supported many topologies - that's in the API - in practice the DAW support for that would make it not super useful vs just sharing all your code and having two plugin 'flavors' in one clap.
Curious what other devs think tho of course.
-
- KVRAF
- 2623 posts since 20 Oct, 2014
Oh ok, thanks for your point of view here. And what if a synth would provide kind of "insert fx slots" to the daw, so you could actually plugin daw controlled fx plugins within the fx chain of the synth? Or would such a feature overcomplicated to implement, taking care of pdc, waiting for daw processing and what not?baconpaul wrote: Fri Mar 21, 2025 3:19 pm in practice the DAW support for that would make it not super useful vs just sharing all your code and having two plugin 'flavors' in one clap
Or just adding multiple outputs, as many as possible
What if the synth would only provide a "wet amount bus"? And a option "output to wet bus" for each typical bus fx, e.g. delay and reverb? But then it is completely up to the synth again.
I am just looking for some conceptual approach to solve this problem. A conceptual approach which would be easy for the user and the developer. Currently it's either "don't care for reverb busses" or "don't use such fx in the synth", even if it sounds great.
I actually meant the synth also exposing an actual fx plugin, not an additional synth plugin or providing an input. Using a synth as fx is unanticipated in most daws, I think only Reaper and Bitwig actually can use it like an fx? Most certainly you will have to setup extra bus routing, or use multiple tracks... Which then completely breaks the usual fx workflow.Surge is an instrument with audio input
- KVRAF
- 24404 posts since 7 Jan, 2009 from Croatia
That problem really needs to be supported at DAW level, by making the routing more flexible (a la Reaper and Bitwig), plugins cannot solve that on their own.
- KVRAF
- 2469 posts since 25 Sep, 2014 from Specific Northwest
You CAN design a plugin in that fashion. It just needs to disable the oscillators, or generators, and take input from the Audio In pins and send it through it's internal effects. I'm not sure why more plugin devs don't do it that way. The one snag is that the plugin reports itself as taking both audio and midi inputs and when used as a synth, it still gets audio input (which should be empty, so not a HUGE deal in ignoring it.) This was with VST2. I'm unsure how other formats handle these things.
If there are further caveats, please enlighten me! Thanks!
If there are further caveats, please enlighten me! Thanks!
I started on Logic 5 with a PowerBook G4 550Mhz. I now have a MacBook Air M1 and it's ~165x faster! So, why is my music not proportionally better? 
-
- KVRian
- 1213 posts since 25 Dec, 2018
yeah surge does exactly this as I alluded to. The modern way to do it so it works in DAWs is to make it an instrument with a side chain that has a voice-latch-open mode if you want one plugin.syntonica wrote: Sat Mar 22, 2025 3:44 am You CAN design a plugin in that fashion. It just needs to disable the oscillators, or generators, and take input from the Audio In pins and send it through it's internal effects. I'm not sure why more plugin devs don't do it that way. The one snag is that the plugin reports itself as taking both audio and midi inputs and when used as a synth, it still gets audio input (which should be empty, so not a HUGE deal in ignoring it.) This was with VST2. I'm unsure how other formats handle these things.
If there are further caveats, please enlighten me! Thanks!
The problem is, some daws see something with a main (as opposed to side chain) audio in and a midi input and just get confused. so the daw sort of is dictating the acceptable topology. But synth-with-sidechain is supported since it is one of the vocoder patterns.
-
- KVRian
- 1213 posts since 25 Dec, 2018
Right so really your choices, if you want to support all the mainline daws, areHanz Meyzer wrote: Fri Mar 21, 2025 4:48 pmI actually meant the synth also exposing an actual fx plugin, not an additional synth plugin or providing an input. Using a synth as fx is unanticipated in most daws, I think only Reaper and Bitwig actually can use it like an fx? Most certainly you will have to setup extra bus routing, or use multiple tracks... Which then completely breaks the usual fx workflow.Surge is an instrument with audio input
1. Two plugins, one which is an 'effect' and one which is an 'instrument' or
2. An 'instrument with sidechain'
pros and cons to both.
since, in most cases, the pure-play fx version would have different ui and workflow two plugins is your best bet. they can be in one install/image/component/clap/vst3 of course.
instrument with side chain is useful to mix and match audio with your synthesized sound. Think vocoder and the like. but i agree if you just want to use 'all of surge except the oscillator' it's a somewhat clumsy workflow. Also using surge in that mode has a bunch of oddities (like what is the lifetime of an envelope etc....) as you would have with any other synth, hence the 'design a separate fx plugin with the same codebase' is probably best.
in surge, we also designed a separate fx plugin with the same codebase which some people find quite useful. but it's just the fx section, not the pre-fx filters and so on.
- KVRAF
- 2469 posts since 25 Sep, 2014 from Specific Northwest
How very annoying. I can't see doing it any other way though since it's so simple. It just bothers me to see two versions of an identical plugin hogging up room on my hard drive where one should be sufficient.baconpaul wrote: Sun Mar 23, 2025 7:11 pm The problem is, some daws see something with a main (as opposed to side chain) audio in and a midi input and just get confused. so the daw sort of is dictating the acceptable topology.
Anyway, thanks.
I started on Logic 5 with a PowerBook G4 550Mhz. I now have a MacBook Air M1 and it's ~165x faster! So, why is my music not proportionally better? 
-
- KVRian
- 1213 posts since 25 Dec, 2018
Oh if you do two plugins in one clap which share the dsp etc the hard drive difference is tiny
Six sines is “two plugins” but the difference in DLL size of the second plugin was a percent or so
Six sines is “two plugins” but the difference in DLL size of the second plugin was a percent or so
-
- KVRist
- 326 posts since 11 Jan, 2022
Does CLAP support Full End-to-End 64-Bit Floating Point Operation? Assuming that both the DAW and the plug-in support it, that is.
If the answer is yes, is it the same for the three major operating systems? Windows, Mac, GNU/Linux?
If the answer is yes, is it the same for the three major operating systems? Windows, Mac, GNU/Linux?
- u-he
- Topic Starter
- 30178 posts since 8 Aug, 2002 from Berlin
-
- KVRist
- 326 posts since 11 Jan, 2022
Thank you Urs for the answer. I asked, because I thought CLAP supported only 32-Bit Floating Point signals, and not higher. It's great to know it fully supports Full End-to-End 64-Bit Floating Point Operations.
Which means from now on, I only install the CLAP version of all plug-ins. There's simply no reason to bother with VST3 anymore (at least for me).
Thank you again Urs.
