SA_Toolkit (was MIP2)

Programming applications for making music on Linux.

Moderators: MattKingUSA, khz

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

Re: SA_Toolkit (was MIP2)

Post by skei »

wayland.png
wayland.png (199.4 KiB) Viewed 3241 times

wayland, here we come!

User avatar
bluebell
Established Member
Posts: 1925
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 120 times

Re: SA_Toolkit (was MIP2)

Post by bluebell »

I am looking forward to plugins that don't work on my system because my system has no wayland :?

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

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

Re: SA_Toolkit (was MIP2)

Post by skei »

adding one thing doesn't mean removing all other things.. x is still there, and works well.. but now we're even better prepared for "the future".. :-)

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

Re: SA_Toolkit (was MIP2)

Post by skei »

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

Re: SA_Toolkit (was MIP2)

Post by skei »

Code: Select all

#include "plugin/sat_plugin.h"
SAT_DEFAULT_PLUGIN_DESCRIPTOR(myDescriptor,"me/plugin","plugin","me",AUDIO_EFFECT);
class myPlugin : public SAT_Plugin {
public:
  SAT_DEFAULT_PLUGIN_CONSTRUCTOR(myPlugin);
public:
  bool init() final {
    registerDefaultExtensions();
    appendStereoAudioInputPort("In");
    appendStereoAudioOutputPort("Out");
    appendParameter( new SAT_Parameter("Gain",0.5,0,1,CLAP_PARAM_IS_AUTOMATABLE + CLAP_PARAM_IS_MODULATABLE) );
    return SAT_Plugin::init();
  }
  void processStereoSample(sat_sample_t* spl0, sat_sample_t* spl1) final {
    *spl0 *= getModulatedParameterValue(0);
    *spl1 *= getModulatedParameterValue(0);
  }
};
#include "plugin/sat_entry.h"
SAT_PLUGIN_ENTRY(myDescriptor,myPlugin);

Code: Select all

./compile -i plugin.cpp -o plugin.clap -f clap -g x11
User avatar
skei
Established Member
Posts: 343
Joined: Sun May 18, 2014 4:24 pm
Has thanked: 8 times
Been thanked: 58 times
Contact:

Re: SA_Toolkit (was MIP2)

Post by skei »

ported, and compiled 18 plugins (from all over the place, jesusonic, ladspa, forum posts, own small experiments, etc, etc) and stuffed them inside two claps, one for no-gui, and one for x11 + opengl (3.2)..
not very spectacular plugins, mainly for testing the base parts of the sa_toolkit.. but if people report them working, and find them somewhat interesting, we can improve them bit by bit.. and maybe my impostor syndrome ("do i really know what i'm doing? what have i forgotten? what have i missed?") could loosen its grip a bit, and i can focus on actual plugins, and not the underlying toolkit/framework so much..
tested (and seems to be working fine) in bitwig, reaper, carla.. gui doesn't work in qtractor, but nogui does..
(see individual src files in the github repo for licences, original author info, etc)

https://github.com/skei/SA_Toolkit/tree/master/testing
(clap/linux, no windows version, or any wrappers this time)

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

Re: SA_Toolkit (was MIP2)

Post by skei »

a messy 'introduction' of some kind..
or rather, me making a fool of myself for an hour or so..
cringe-worthy and embarassing, but at least it's something..
(hd still processing, yt says 50 minutes left)

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

Post Reply