1
0
Fork 0
Commit graph

2109 commits

Author SHA1 Message Date
Robbert van der Helm 884683a190 Drop ParamLabel again
This isn't going to work with vizia right now.
2022-11-11 14:13:05 +01:00
Robbert van der Helm c9c4116e9d Add part of a vertical ParamLabel
Vizia doesn't seem to support this right now, so I'll drop this again.
2022-11-11 14:11:14 +01:00
Robbert van der Helm 33263b825e Add a widget for labels with Alt+click text entry 2022-11-11 14:11:14 +01:00
Robbert van der Helm 89af7e366f Refer to ParamSlider for vizia param mapping docs
Instead of duplicating this everywhere.
2022-11-11 14:11:10 +01:00
Robbert van der Helm b93cd08dfa Default cpal backend to 48 kHz sample rate
This is probably a safer default for most regular computers.
2022-11-11 03:15:05 +01:00
Robbert van der Helm ec061cd0e5 Format the dry level control as decibels 2022-11-11 03:15:05 +01:00
Robbert van der Helm 5b3c327e29 Handle -inf dB in gain<->decibel formatters 2022-11-11 03:15:05 +01:00
Robbert van der Helm 42cf4cd652 Add a dry amount control to Buffr Glitch 2022-11-11 03:15:05 +01:00
Robbert van der Helm 2948c2589d Cache target/ on non-Windows platforms 2022-11-11 03:15:05 +01:00
Robbert van der Helm e6c43e35d3 Fix copying tail to playback buffer
I noticed the effect wasn't deterministic, when I saw this. Oops.
2022-11-11 03:15:05 +01:00
Robbert van der Helm 333ff2c05e Add an octave shift to Buffr Glitch 2022-11-11 03:15:05 +01:00
Robbert van der Helm 179ff6a035 Add automatic normalization to Buffr Glitch 2022-11-11 03:15:05 +01:00
Robbert van der Helm 7c04ec856f Add the MIDI playback to Buffr Glitch 2022-11-11 03:15:05 +01:00
Robbert van der Helm ea61947f1d Accept MIDI input in Buffr Glitch 2022-11-11 03:15:05 +01:00
Robbert van der Helm 86b5ed8f7e Push samples to the ring buffer 2022-11-11 03:15:05 +01:00
Robbert van der Helm 3475ea2de8 Add a ring buffer for Buffr Glitch 2022-11-11 03:15:05 +01:00
Robbert van der Helm a7e425581f Use CARGO_PKG_VERSION for plugin versions
Instead of duplicating this. Means that plugin versions only need to be
updated in the Cargo.toml file.
2022-11-11 03:15:05 +01:00
Robbert van der Helm f18675ea64 Add an empty template for Buffr Glitch 2022-11-11 03:15:05 +01:00
Robbert van der Helm c0c6677bcf Add finer steps to ParamSlider 2022-11-11 03:15:05 +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 e184e6d8a6 Consome scrolling events
This sort of fixes using these in ScrollViews
2022-11-11 03:15:05 +01:00
Robbert van der Helm 316d9221df Add scrolling support for the safe mode button 2022-11-11 03:15:05 +01:00
Robbert van der Helm fd85155fbc Add scrolling support to ParamButton 2022-11-11 03:15:05 +01:00
Robbert van der Helm 3a064ae705 Add scrolling support to ParamSlider 2022-11-11 03:15:05 +01:00
Robbert van der Helm dfd5aa9a11 Add constants for Diopser's editor 2022-11-11 03:15:05 +01:00
Robbert van der Helm 5b05107f5b Add missing GPL header in Diopser 2022-11-11 03:15:05 +01:00
Robbert van der Helm c1573f47c3 Make Automation Precision slider less wide 2022-11-11 03:15:05 +01:00
Robbert van der Helm 8f02cdc1fa Add an Automation Precision slider to Diopser
Using the new label override
2022-11-11 03:15:05 +01:00
Robbert van der Helm bf0f4d56fe Allow overriding ParamSlider display value 2022-11-11 03:15:05 +01:00
Robbert van der Helm 1c3ac492b0 Rearrange ParamSlider fields 2022-11-11 03:15:05 +01:00
Robbert van der Helm 677f21005d Break ParamSlider up into functions 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 3a22b12d8f Prevent rustfmt from breaking
It didn't like the comment in the middle of a pattern.
2022-11-11 03:15:05 +01:00
Robbert van der Helm a73f76fbcf Simplify ParamButton 2022-11-11 03:15:05 +01:00
Robbert van der Helm 14cb1cb679 Move Vizia view param wrangling to helper struct
This cleans up the main widget's code a lot. We can move some more
behavior to this helper to reduce duplication.
2022-11-11 03:15:05 +01:00
Robbert van der Helm f7230b9f43 Add more side padding in ParamButton 2022-11-11 03:15:05 +01:00
Robbert van der Helm 9d696925e3 Add a safe mode button to Diopser's GUI 2022-11-11 03:15:05 +01:00
Robbert van der Helm 2d4ac47f15 Add a not yet used safe mode AtomicBool to Diopser
This will limit the range of the filter stages parameter in the GUI.
2022-11-11 03:15:05 +01:00
Robbert van der Helm d7f1f1e85f Add param button styling 2022-11-11 03:15:05 +01:00
Robbert van der Helm b8f43ad1fe Create bypass button on Diopser GUI 2022-11-11 03:15:05 +01:00
Robbert van der Helm 52130373a3 Simplify param button checked state 2022-11-11 03:15:05 +01:00
Robbert van der Helm aee08bae20 Add a dedicated bypass param for Diopser
This will be shown in the GUI.
2022-11-11 03:15:05 +01:00
Robbert van der Helm 3f0922b5c0 Add special styling for bypass buttons 2022-11-11 03:15:05 +01:00
Robbert van der Helm 7d4351e4fa Add a parameter button widget
Useful for toggling boolean parameters.
2022-11-11 03:15:05 +01:00
Robbert van der Helm 28c62cf7ca Add some UI scaffolding for Diopser
This still uses the old generic UI.
2022-11-11 03:15:05 +01:00
Robbert van der Helm cfb9993603 Make the Diopser struct pub
This makes it easier to quickly set up a standalone for GUI testing.
2022-11-11 03:15:05 +01:00
Robbert van der Helm 87e40afd07 Reinitialize Crisp filter constants on load
Otherwise these filters are at their default coefficients when recalling
previous state.
2022-11-11 03:12:41 +01:00
Robbert van der Helm 841ec96d2d Use Rust range notation for NoteEvent docs #42
Apparently `from x to y` is ambiguous, so we now use the Rust `x..y`
syntax instead.
2022-11-08 19:36:07 +01:00
Robbert van der Helm 4f16fa3998 Fix typos in NoteEvent documentation 2022-11-08 19:33:40 +01:00