From 52eb85201ed80999c2f2349147b6dd28c70bdc67 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 12 Nov 2022 01:27:12 +0100 Subject: [PATCH] Use new frequency+note name formatter in Diopser This is really nice for the tooltip. --- plugins/diopser/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/diopser/src/lib.rs b/plugins/diopser/src/lib.rs index 2fbebc44..d4e92dba 100644 --- a/plugins/diopser/src/lib.rs +++ b/plugins/diopser/src/lib.rs @@ -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",