Skip to content

Commit

Permalink
better defaults, clean todods
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Dec 19, 2024
1 parent 55211e3 commit 3e3f5da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
15 changes: 8 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl GlobalParams {
.with_string_to_value(Del2::s2v_f32_ms_then_s()),
release_ms: FloatParam::new(
"Release",
420.0,
13.0,
FloatRange::Skewed {
min: 5.0,
max: 20_000.0,
Expand Down Expand Up @@ -376,7 +376,7 @@ impl TapsParams {

cutoff_main: FloatParam::new(
format!("cutoff"),
3_003.0,
1_690.0,
FloatRange::Skewed {
min: 10.0,
max: 18_000.0,
Expand All @@ -391,7 +391,7 @@ impl TapsParams {
})),
res_main: FloatParam::new(
format!("resonance"),
0.42,
0.13,
FloatRange::Linear { min: 0., max: 1. },
)
.with_value_to_string(formatters::v2s_f32_rounded(2))
Expand All @@ -415,7 +415,7 @@ impl TapsParams {

cutoff_mod: FloatParam::new(
format!("cutoff mod"),
0.0,
0.13,
FloatRange::Linear {
min: -1.0,
max: 1.0,
Expand All @@ -430,7 +430,7 @@ impl TapsParams {
})),
res_mod: FloatParam::new(
format!("resonance mod"),
0.13,
0.0,
FloatRange::Linear {
min: -1.0,
max: 1.0,
Expand All @@ -447,10 +447,11 @@ impl TapsParams {
drive_mod: FloatParam::new(
format!("drive mod"),
13.0,
FloatRange::Skewed {
min: 0.0,
FloatRange::SymmetricalSkewed {
min: -42.0,
max: 42.0,
factor: FloatRange::skew_factor(-1.0),
center: 0.0,
},
)
.with_step_size(0.1)
Expand Down
13 changes: 2 additions & 11 deletions todo.org
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
#+title: Todo


* instead of low-high vel, have a main param and a modulation amount
* make offset smaller
* make modulation a curve param, with view like vital?
* make modulation a curve editor?
* remove "vel>cut" and "note>cut", replace by "cutoff mod" button that chooses between note and velocity
when you choose "note", you get an octave (and a transpose) knob instead of the normal cutoff controls
* increase meter range, add pre-delay low cut
* remove per tap mode switch
* maybe add dry/wet for filters
* make attack and release continuously update
* increase minimal attack and release
* make caption "easy mode" and "expert mode"
* max tap -> timeout
* min tap -> debounce
* offset/amount -> amount/offset
* simd smoother, for up to 8 smoothers at once!
* README: add chorus trick and gated delay example
Expand All @@ -23,13 +16,11 @@ when you choose "note", you get an octave (and a transpose) knob instead of the
* downgrade macos (& ubuntu?)
* friendly welcome text on first open
* make easy/expert a normal slider
* resize window on easy/expert change, so that button stays in the same place
* note> pan: make it a range and adjust zoom range to it?
* make loop trigger
* make bpm sync the default (maybe check (at init?if tempo available)
* dezip drive
* make drive_main gain compensated, but drive_mod not
* check clap of skia
* don't create a new smoother on every new tap
* don't create a new smoother on every new tap?
* smarter s2v seconds: if s < max seconds: interpret as seconds else as ms or just always as sec?
* make attack and release Exponential?
* see which param needs an Arc and why
Expand Down

0 comments on commit 3e3f5da

Please sign in to comment.