mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add boilerplate for the analyzer widget
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 parameter..
|
||||
/// with the same distribution as the filter frequency parameter..
|
||||
pub struct SpectrumAnalyzer {
|
||||
spectrum: Arc<Mutex<SpectrumOutput>>,
|
||||
sample_rate: Arc<AtomicF32>,
|
||||
|
||||
Reference in New Issue
Block a user