mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Use new frequency+note name formatter in Diopser
This is really nice for the tooltip.
This commit is contained in:
@@ -209,7 +209,7 @@ impl DiopserParams {
|
||||
// This needs quite a bit of smoothing to avoid artifacts
|
||||
.with_smoother(SmoothingStyle::Logarithmic(100.0))
|
||||
// This includes the unit
|
||||
.with_value_to_string(formatters::v2s_f32_hz_then_khz(0))
|
||||
.with_value_to_string(formatters::v2s_f32_hz_then_khz_with_note_name(0, true))
|
||||
.with_string_to_value(formatters::s2v_f32_hz_then_khz()),
|
||||
filter_resonance: FloatParam::new(
|
||||
"Filter Resonance",
|
||||
|
||||
Reference in New Issue
Block a user