mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Send individual parameter changes for VST3 plugins
This commit is contained in:
@@ -26,7 +26,7 @@ use crate::params;
|
||||
use crate::spectrum::SpectrumOutput;
|
||||
|
||||
/// A very abstract spectrum analyzer. This draws the magnitude spectrum's bins as vertical lines
|
||||
/// with the same distirubtion as the filter frequency parmaeter..
|
||||
/// with the same distirubtion as the filter frequency parameter..
|
||||
pub struct SpectrumAnalyzer {
|
||||
spectrum: Arc<Mutex<SpectrumOutput>>,
|
||||
sample_rate: Arc<AtomicF32>,
|
||||
|
||||
@@ -30,7 +30,7 @@ const GRANULAR_DRAG_MULTIPLIER: f32 = 0.1;
|
||||
const HANDLE_WIDTH_PX: f32 = 20.0;
|
||||
|
||||
/// An X-Y pad that controlers two parameters at the same time by binding them to one of the two
|
||||
/// axes. This specific implementation has a tooltip for the X-axis parmaeter and allows
|
||||
/// axes. This specific implementation has a tooltip for the X-axis parameter and allows
|
||||
/// Alt+clicking to enter a specific value.
|
||||
///
|
||||
/// The x-parameter's range is restricted when safe mode is enabled. See `RestrictedParamSlider` for
|
||||
@@ -309,7 +309,7 @@ impl XyPad {
|
||||
|
||||
/// Should be called at the start of a drag operation.
|
||||
fn begin_set_parameters(&self, cx: &mut EventContext) {
|
||||
// NOTE: Since the X-parameter is the main parmaeter, we'll always modify this parameter
|
||||
// NOTE: Since the X-parameter is the main parameter, we'll always modify this parameter
|
||||
// last so the host will keep this parameter highlighted
|
||||
self.y_param_base.begin_set_parameter(cx);
|
||||
self.x_param_base.begin_set_parameter(cx);
|
||||
|
||||
Reference in New Issue
Block a user