From 160131f00ad923f0c9f8bec7c52d031efca179ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sandstr=C3=B6m?= Date: Sun, 27 Oct 2024 00:36:06 +0200 Subject: [PATCH] 0.1.2 --- src/lib.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 712bf99..a19cc7f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -333,7 +333,6 @@ impl Plugin for Havregryn Plugin for Havregryn { self.rate_modulator.play(&self.sin, rfrq, 0.0) }, - ModShape::Tri => { self.rate_modulator.play(&self.tri, rfrq, 0.0) }, - ModShape::Saw => { self.rate_modulator.play(&self.saw, rfrq, 0.0) }, + ModShape::Sine => { self.rate_modulator.play(&self.sin, rfrq, 0.0) }, + ModShape::Tri => { self.rate_modulator.play(&self.tri, rfrq, 0.0) }, + ModShape::Saw => { self.rate_modulator.play(&self.saw, rfrq, 0.0) }, ModShape::Square => { self.rate_modulator.play(&self.sqr, rfrq, 0.0) }, // ModShape::RANDOM => { self.rate_random_mod.play(rfrq * self.sr_recip) }, }; @@ -415,6 +414,5 @@ impl Vst3Plugin for Havregryn); +nih_export_clap!(Havregryn<32, {8*48000}>); nih_export_vst3!(Havregryn<32, {8*48000}>); -// nih_export_clap!(Havregryn<32, {8*48000}>);