Robbert van der Helm
68b3b864d6
Assert that parameter ranges are valid
2023-04-30 21:28:23 +02:00
Robbert van der Helm
4502eaec3a
Change wrapped smoothing style to be a static ref
...
Instead of having to wrap this in an `Arc`. This makes the interface a
bit nicer to use.
2023-04-05 18:16:58 +02:00
Robbert van der Helm
8a7100ac3e
Add an OversamplingAware smoothing style
...
This can be used to have an ergonomic way to do multi-rate smoothing
with variable oversampling amounts that only the `Arc<AtomicF32>` to be
updated from a parameter callback.
2023-04-05 18:08:22 +02:00
Robbert van der Helm
d3cb5f2bee
Explicitly mark parameter range conversions inline
...
The compiler already does this, but these should be inlineable.
2023-03-03 22:55:35 +01:00
Robbert van der Helm
5566dd7fbb
Add PersistentField implementation for AtomicCell
...
This API really needs to change.
2023-02-26 17:49:33 +01:00
Robbert van der Helm
683c96bca0
Avoid duplicate parameter callbacks and smoothing
...
REAPER seems to spam value set events when an automation lane is active,
and it also always sends CLAP automation events twice.
2023-01-31 16:31:29 +01:00
Robbert van der Helm
6f7f2e30ed
Fix debug assertion failure in smoother
2023-01-06 17:58:13 +01:00
Robbert van der Helm
dfeb8164ca
Fix new Clippy lints
2023-01-06 16:13:01 +01:00
Robbert van der Helm
1d9e7e6256
Implement Debug for parameters
2022-11-26 12:58:32 +01:00
Robbert van der Helm
26535a099d
Seal the Params trait
...
This avoids situations like #41 where people try to implement the trait
only to find out that you simply can't.
2022-11-22 17:43:26 +01:00
Robbert van der Helm
e583b8e777
Add finer step sizes to parameters
2022-11-11 03:15:05 +01:00
Robbert van der Helm
8885713ea1
Take largest step out of 100 steps and step_size
...
For floating point ranges. This otherwise feels very janky.
2022-11-11 03:15:05 +01:00
Robbert van der Helm
b2da26ecd7
Add prefix to plain_value() and normalized_value()
...
To make it clearer that these functions include monophonic modulation.
When creating GUI widgets, you should be using the unmodulated variants.
2022-11-11 03:15:05 +01:00
Robbert van der Helm
e8002730a0
Fix clippy lints
2022-11-05 14:19:47 +01:00
Robbert van der Helm
f48b36f2a7
Add Persist implementations for Arc wrapped types
2022-11-05 14:19:32 +01:00
Robbert van der Helm
a0ca80297b
Add Persistent implementations for atomics
2022-11-05 14:19:32 +01:00
Robbert van der Helm
23f4fd6fc5
Rearrange persist module
2022-11-05 14:19:32 +01:00
Robbert van der Helm
435fcd8106
Fix CLAP modulation
...
This was a regression introduced in
c566888fa3
.
2022-10-24 23:56:49 +02:00
Robbert van der Helm
bd295b7380
Move nih_plug::param to nih_plug::params
2022-10-20 12:26:12 +02:00