SA_Toolkit (was MIP2)

Programming applications for making music on Linux.

Moderators: MattKingUSA, khz

User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: MIP2

Post by skei »

an awkward and whimsical introduction to MIP2.. :-)
https://www.youtube.com/watch?v=AqYM2jxlX1c
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: MIP2

Post by skei »

clap-as-vst3 wrapper more or less done..
i just need to add one extra line to the source code:

Code: Select all

#include "plugin/vst3/mip_vst3_entry.h"
and recompile.. no build setup, no external libraries, no nonsense.. :-)
standalone executable, using an internal mini-host is already in place..
vst2 next..

https://www.youtube.com/watch?v=bLVmDB67_eg

cosmetics and aesthetics clearly not a high priority yet..
source code on github (the framework/toolkit, not the plugin(s) themselves)
Basslint
Established Member
Posts: 1511
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 382 times
Been thanked: 298 times

Re: MIP2

Post by Basslint »

skei wrote: Sun Oct 09, 2022 1:34 pm clap-as-vst3 wrapper more or less done..
Can this be used by plugins which doesn't use any other parts of MIP2? The first CLAP plugins are coming out and this could be useful for making them available in DAWs which don't support CLAP (Ardour!).
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: MIP2

Post by skei »

Basslint wrote: Mon Oct 10, 2022 6:30 amCan this be used by plugins which doesn't use any other parts of MIP2? The first CLAP plugins are coming out and this could be useful for making them available in DAWs which don't support CLAP (Ardour!).
at the moment, it's quite tailor-made for MIP2, but i don't think it would need much work to make it into a more generic wrapper, actually.. i have thought about doing that, so we'll see.. generally, mip2 is set up so you can use just what you need/want.. but there are other, more generic and much better wrappers coming! and from what i hear, some of these are pretty close to being finished and ready for release..
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: MIP2

Post by skei »

User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: MIP2

Post by skei »

windows versions are slowly progressing, too..
no gui yet..
windows is alien, so i have to relearn everything from scratch :-/
compiling with mingw, testing in wine..

Image
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: MIP2

Post by skei »

MIP2 -> SA_Toolkit

  1. make it work (MIP2)
  2. make it 'right' (SA_Toolkit)
  3. make it fast/nice/... (the plugins, mine or yours)

:D

github, youtube, discord

User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: SA_Toolkit (was MIP2)

Post by skei »

sa_formats.jpg
sa_formats.jpg (159.65 KiB) Viewed 4849 times

one .cpp, one binary file, six plugin formats..

User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: SA_Toolkit (was MIP2)

Post by skei »

a "few" example/test plugins..

sa_plugins.png
sa_plugins.png (33.52 KiB) Viewed 4529 times

no installation or configuration, few external dependencies (x11/opengl), one .cpp file, one gcc compile command, a few seconds compiling..
resulting in one binary (shared object) file, 2 megabytes in size, containing 27 plugins, in 6 plugin formats (clap, vst2, vst3, ladspa, lv2, standalone executable).. also: linux & windows, scalable gpu-accelerated gui, mit licensed, etc, etc..

User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: SA_Toolkit (was MIP2)

Post by bluebell »

skei wrote: Sun Aug 06, 2023 11:00 am

no installation or configuration, few external dependencies (x11/opengl), one .cpp file, one gcc compile command, a few seconds compiling..
resulting in one binary (shared object) file, 2 megabytes in size, containing 27 plugins, in 6 plugin formats (clap, vst2, vst3, ladspa, lv2, standalone executable).. also: linux & windows, scalable gpu-accelerated gui, mit licensed, etc, etc..

This is impressive.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: SA_Toolkit (was MIP2)

Post by skei »

even better, 0.5 of the 2 mb's are two .ttf fonts and a .svg..
compiling took 16 seconds for a release build (all plugins, all formats)..
3 secs for a debug build..
i'm happy.. :-)

tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: SA_Toolkit (was MIP2)

Post by tramp »

skei wrote: Sun Aug 06, 2023 11:00 am

resulting in one binary (shared object) file, 2 megabytes in size, containing 27 plugins, in 6 plugin formats (clap, vst2, vst3, ladspa, lv2, standalone executable).

while the idea is nice, the result sounds to me "mmeeh" Why? Multi plug binaries use much more memory and CPU during load, then loading a single plug. (Load 27 plugs just to use one? Nope) We all know the Xruns when load a DAW with a session loaded.
However, I assume that this multiplug is just done to showcase what your toolkit is able to do, and that, my friend, is really impressive. :)

On the road again.
User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: SA_Toolkit (was MIP2)

Post by skei »

tramp wrote: Sat Aug 19, 2023 7:28 pm

I assume that this multiplug is just done to showcase what your toolkit is able to do

yeah, you're correct..
i know that nowadays it doesn't mean much, but i'm old-school, and still count bytes.. :shock:

User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: SA_Toolkit (was MIP2)

Post by skei »

continuing my size and anti-bloat obsession:
the clap-as-vst2 wrapper adds only 5656 bytes to the binary (release build)..
vst3 adds over 70kb, lv2 (no gui) adds 14712 bytes, ladspa 5832 bytes..
add all of them, and the binary increases by 100k or so..

User avatar
skei
Established Member
Posts: 337
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 57 times
Contact:

Re: SA_Toolkit (was MIP2)

Post by skei »

Post Reply