Writing a Looper plugin - Storing Audio File?

I’m not writing to the port, or at least I don’t think so. In my instance data I have the port defined as:

const float             * clear_all_port;

That gets set in the connect_port() and then in my run() method I’m simply trying to test in an if statement:

if (*self->clear_all_port > 0.0) {

That’s it, apart from a print statement trying to check the value. Which like I say is 0.0 on initisation, but after the first press goes to 1.0 and never changes from there.

ok then you are doing things correctly and this is unexpected.
do other plugins have the same issue? sooperlooper has some triggers.

1 Like

Checked out sooperlooper and whilst it does not build from my environment:

cp: cannot stat '.../mod-plugin-builder/plugins-dep/../plugins/package/sooperlooper-lv2//sooperlooper.lv2/*': No such file or directory

It did mean I could look at the code and its ‘reset’ functionality was exactly what I was looking for. It’s got a different definition in TTL which works great.

Thanks for pointing out that example. Got me moving again.

1 Like

most of the plugins need git submodules for the extra bundle data.