1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
Robbert van der Helm 6ffa23971e Add AsyncExecutor support to InitContext 2022-10-22 00:21:08 +02:00
Robbert van der Helm 297ad2a83e Add an AsyncExecutor associated type to Plugin
This will make it possible to run background tasks in a type safe way.
Sadly, this does mean that every plugin now needs to define the type
alias and constructor function since Rust does not yet support defaults
for associated types.
2022-10-21 23:52:46 +02:00
Robbert van der Helm d57003a0e9 Update macOS instructions in plugin readmes 2022-10-09 21:35:25 +02:00
Robbert van der Helm c566888fa3 💥 Use interior mutability for parameters
Instead of the previous technically-unsound approach. While it wouldn't
cause any issues in practice, it did break Rust's guarantees. That was a
design choice after adding support for editors in NIH-plug, but this is
probably the better long term solution.

The downside is that all uses of `param.value` now need to be changed to
`param.value()`.
2022-09-06 21:57:24 +02:00
Robbert van der Helm 1a706ea1c7 Rename DEFAULT_NUM_INPUTS and DEFAULT_NUM_OUTPUTS 2022-08-19 14:34:21 +02:00
Robbert van der Helm 7b66145e8b Use correct gain skew factor for Safety Limiter 2022-07-24 20:48:13 +02:00
Robbert van der Helm 6e89d3737b Change the scaling on Safety Limiter's threshold
With the addition of negative values the linear scale doesn't work
anymore.
2022-07-22 22:49:59 +02:00
Robbert van der Helm 2c9945db79 Allow negative thresholds for Safety Limiter 2022-07-20 19:45:29 +02:00
Robbert van der Helm 7cd7294b22 Make CLAP descriptions and special URLs optional
This closes #14.
2022-07-04 12:46:34 +02:00
Robbert van der Helm aa60d616fe Handle infinite and NaN values in Safety Limiter 2022-06-13 18:47:48 +02:00
Robbert van der Helm 6e37353c67 Link to the correct CI pipeline for builds 2022-06-10 15:59:18 +02:00
Robbert van der Helm bfc472e49b Introduce a new enum for CLAP features
Based on the new CLAP 0.26 clap-features.h.
2022-06-02 01:16:30 +02:00
Robbert van der Helm 6996fdaed1 Update features names for CLAP 0.26 2022-06-02 00:52:13 +02:00
Robbert van der Helm ee900f74c2 Support auxiliary inputs and outputs for CLAP
This does not yet work for VST3. You'll always get empty slices there.
2022-05-27 02:30:57 +02:00
Robbert van der Helm b2e6bd5515 Create a separate InitContext
Only a couple of these functions would be needed during initialization.
In the next couple commits ProcessContext will get a way to access
auxiliary IO, so this really had to be separated.
2022-05-27 01:17:15 +02:00
Robbert van der Helm c555aff768 Fix plugin names in readmes
Closes #7.
2022-05-26 13:32:30 +02:00
Robbert van der Helm 7fce56d863 Actually add the SOS morse code to Safety Limiter 2022-05-26 01:07:19 +02:00
Robbert van der Helm df30662071 Add an equal power fade to Safety Limiter 2022-05-26 00:47:41 +02:00
Robbert van der Helm 9ab5af0027 Add a fadeout start to Safety Limiter 2022-05-25 00:59:46 +02:00
Robbert van der Helm 3e5393b236 Make the Safety Limiter threshold automatable
Bitwig doesn't like it if it isn't automatable.
2022-05-25 00:44:01 +02:00
Robbert van der Helm c07942cfc3 Reset Safety Limiter properly 2022-05-25 00:43:19 +02:00
Robbert van der Helm 3ba2a0807b Make Safety Limiter danker 2022-05-25 00:38:02 +02:00
Robbert van der Helm 96dc409a0f Add a sine wave to Safety Limiter
This needs to be upgraded to full Morse status
2022-05-25 00:35:30 +02:00
Robbert van der Helm ccb8422a9c Add a morse-less version of Safety Limiter 2022-05-25 00:18:43 +02:00
Robbert van der Helm c95af5f83e Don't engage Safety Limiter while bouncing 2022-05-25 00:06:32 +02:00
Robbert van der Helm a3fc65e91c Add boilerplate for Safety Limiter 2022-05-24 23:57:18 +02:00