1
0
Fork 0

Define remote controls for Crossover

This commit is contained in:
Robbert van der Helm 2023-04-22 16:59:18 +02:00
parent 911c0d57d5
commit 56c0a21989

View file

@ -392,6 +392,21 @@ impl ClapPlugin for Crossover {
ClapFeature::Stereo,
ClapFeature::Utility,
];
fn remote_controls(&self, context: &mut impl RemoteControlsContext) {
context.add_section("Main", |section| {
section.add_page("Main controls", |page| {
page.add_param(&self.params.num_bands);
page.add_param(&self.params.crossover_type);
page.add_spacer();
page.add_spacer();
page.add_param(&self.params.crossover_1_freq);
page.add_param(&self.params.crossover_2_freq);
page.add_param(&self.params.crossover_3_freq);
page.add_param(&self.params.crossover_4_freq);
})
})
}
}
impl Vst3Plugin for Crossover {