1
0
Fork 0
Commit graph

1462 commits

Author SHA1 Message Date
Robbert van der Helm c2003879cb Store ratio reciprocals instead of ratios
We're doing linear space compression, so we need the reciprocal of the
actual ratio.
2022-07-24 15:15:47 +02:00
Robbert van der Helm ef3a7a76d5 Handle 0 attack and release 2022-07-24 15:15:47 +02:00
Robbert van der Helm dae9dc758c Implement the envelope followers 2022-07-24 15:15:47 +02:00
Robbert van der Helm 147cf3f633 Add a not very functional process function 2022-07-24 15:15:47 +02:00
Robbert van der Helm 9aa4a64e5f Compute the ratios for Spectral Compressor 2022-07-24 15:15:47 +02:00
Robbert van der Helm 482599b351 Compute the thresholds for Spectral Compressor 2022-07-24 15:15:47 +02:00
Robbert van der Helm fad560ab9f Precompute 2-log frequencies for the compressors 2022-07-24 15:15:47 +02:00
Robbert van der Helm b8525cac4d Split compressor params into up/downwards 2022-07-24 15:15:47 +02:00
Robbert van der Helm e68bb8d632 Add a stub for a compressor bank
This is what the compressor data structure will more or less look like.
The thresholds and ratios still need to be split up in their upwards and
downwards counterparts and the callback listeners should be updated
accordingly.
2022-07-24 15:15:47 +02:00
Robbert van der Helm fdcf8f79bc Make the Spectral Compressor editor taller
All the sliders.
2022-07-24 15:15:47 +02:00
Robbert van der Helm 2658404162 Rearrange compressor and threshold parameters 2022-07-24 15:15:47 +02:00
Robbert van der Helm 70f50018ad Use regular slides for >3 step parameters 2022-07-24 15:15:47 +02:00
Robbert van der Helm 6f92c81c1b Add parameters for window size and overlap 2022-07-24 15:15:47 +02:00
Robbert van der Helm 5dff08c62b Add a dedicated threshold params struct
The input gain is now replaced by a global threshold.
2022-07-24 15:15:47 +02:00
Robbert van der Helm 49f6df7248 Add a high-frequency ratio rolloff parameter 2022-07-24 15:15:47 +02:00
Robbert van der Helm d00ae369c0 Add knee width parameters 2022-07-24 15:15:47 +02:00
Robbert van der Helm ed3f760965 Move the compressor parameters to their own module 2022-07-24 15:15:47 +02:00
Robbert van der Helm 08c78454da Add scrollbar to Spectral Compressor's generic GUI 2022-07-24 15:15:47 +02:00
Robbert van der Helm a406f451b0 Remove the word Threshold from the parameter names
This makes them too long otherwise.
2022-07-24 15:15:47 +02:00
Robbert van der Helm 07136bcdc9 Add compressor params for Spectral Compressor
These are not yet hooked up to anything.
2022-07-24 15:15:47 +02:00
Robbert van der Helm 83d8c7a9f4 Add a formatter for compression ratios 2022-07-24 15:15:47 +02:00
Robbert van der Helm 7c66f5d856 Add a dry-wet mixer to Spectral Compressor 2022-07-24 15:15:47 +02:00
Robbert van der Helm 46faaaf1ac Add a DC filter 2022-07-24 15:15:47 +02:00
Robbert van der Helm 12aa8544cd Add a non-functional STFT to Spectral Compressor 2022-07-24 15:15:47 +02:00
Robbert van der Helm 85e52b8ab7 Add boilerplate for a Spectral Compressor port 2022-07-24 15:15:47 +02:00
Robbert van der Helm 2bc6db592e Temporarily revert to an older nightly to fix CLAP
See the mentioned issues.
2022-07-24 15:14:56 +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 f5459e95a5 Fix typo in Crossover description
Closes #19.
2022-07-22 18:46:53 +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 9844d9c490 Change match &self to match self
This is equivalent when taking a reference to self, and you can't do the
same thing with &mut self.
2022-07-19 20:21:52 +02:00
Robbert van der Helm f007945335 Add reversed ranges 2022-07-19 20:21:52 +02:00
Robbert van der Helm 0168af7008 Fix terminology in workspace root detection 2022-07-19 00:21:50 +02:00
Robbert van der Helm ae8c78c5e5 Change new workspace root finding error message
Not finding a parent Cargo.toml file should have a different error
message than the environment variable being empty.
2022-07-19 00:21:50 +02:00
Brian Anderson 59be30205a Make xtask search for workspace more robust 2022-07-19 00:21:50 +02:00
Robbert van der Helm 8e2650e43a
Merge pull request #15 from AmaiKinono/typo
Fix typos in the gain example
2022-07-18 23:38:03 +02:00
AmaiKinono 00fa9e9703 Fix typos in the gain example 2022-07-17 00:51:01 +08:00
Robbert van der Helm ba7b5a3b32 Fix examples for out of order events
This would be a host bug, but in theory CLAP hosts could provide out of
order events this way.
2022-07-14 12:50:16 +02:00
Robbert van der Helm 0469bdf806 Persist the editor states for all plugins 2022-07-13 23:16:54 +02:00
Robbert van der Helm b6720383a3 Make Arc<EguiState> persistable 2022-07-13 23:16:54 +02:00
Robbert van der Helm b9c1a4e5e1 Make Arc<IcedState> persistable 2022-07-13 23:16:54 +02:00
Robbert van der Helm ef1d56646a Make Arc<ViziaState> persistable
This allows the plugin instance's size and scale to be remembered.
2022-07-13 23:16:54 +02:00
Robbert van der Helm 2a1abf10e1 Fix typo in Diopser readme 2022-07-13 23:16:54 +02:00
Robbert van der Helm 0395fd91b1 Only connect JACK ports after activating client
Otherwise JACK2 will hate us. Forever!

The AtomicRefCell now needs to be a mutex because the process call may
be called while this connection function is still running.
2022-07-13 19:19:17 +02:00
Robbert van der Helm 78e7883fc4 Use a jack crate fork to fix the fallback
Before this you'd get a panic in jack-sys instead.
2022-07-13 17:52:43 +02:00
Robbert van der Helm 1f3d2f9a66 Fix typo in standalone documentation example 2022-07-13 17:06:22 +02:00
Robbert van der Helm d828e697a3 Actually expose the CLAP render extension
Oops.
2022-07-11 15:00:10 +02:00
Robbert van der Helm c63573ff37 Switch to clap-sys 0.3.0 from crates.io 2022-07-08 02:19:43 +02:00
Robbert van der Helm 9a09e8ce32 Fix typos in Cargo.toml 2022-07-08 02:18:24 +02:00
Robbert van der Helm 8915723457 Fix typos in the breaking changes 2022-07-06 20:54:27 +02:00
Robbert van der Helm c24d4062e4 Add an attack-release amp envelope to PolyModSynth 2022-07-06 20:49:21 +02:00