1
0
Fork 0

Rename Gain GUI to Gain GUI (iced)

This commit is contained in:
Robbert van der Helm 2022-03-17 23:20:16 +01:00
parent c9e42e6c2c
commit dc9f1bff45
6 changed files with 13 additions and 8 deletions

2
Cargo.lock generated
View file

@ -1298,7 +1298,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "gain_gui" name = "gain_gui_iced"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"atomic_float", "atomic_float",

View file

@ -21,7 +21,7 @@ members = [
"xtask", "xtask",
"plugins/examples/gain", "plugins/examples/gain",
"plugins/examples/gain-gui", "plugins/examples/gain-gui-iced",
"plugins/examples/sine", "plugins/examples/sine",
"plugins/examples/stft", "plugins/examples/stft",

View file

@ -130,8 +130,11 @@ examples.
- [**gain**](plugins/examples/gain) is a simple smoothed gain plugin that shows - [**gain**](plugins/examples/gain) is a simple smoothed gain plugin that shows
off a couple other parts of the API, like support for storing arbitrary off a couple other parts of the API, like support for storing arbitrary
serializable state. serializable state.
- [**gain-gui**](plugins/examples/gain-gui) is the same plugin as gain, but with - **gain-gui** is the same plugin as gain, but with a GUI to control the
a GUI to control the parameter and a digital peak meter. parameter and a digital peak meter. Comes in three exciting flavors:
[egui](plugins/examples/gain-gui-egui),
[iced](plugins/examples/gain-gui-iced), and
[VIZIA](plugins/examples/gain-gui-vizia).
- [**sine**](plugins/examples/sine) is a simple test tone generator plugin with - [**sine**](plugins/examples/sine) is a simple test tone generator plugin with
frequency smoothing that can also make use of MIDI input instead of generating frequency smoothing that can also make use of MIDI input instead of generating
a static signal based on the plugin's parameters. a static signal based on the plugin's parameters.

View file

@ -1,10 +1,12 @@
[package] [package]
name = "gain_gui" name = "gain_gui_iced"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"] authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]
license = "ISC" license = "ISC"
description = "A simple gain plugin with an iced GUI"
[lib] [lib]
crate-type = ["cdylib"] crate-type = ["cdylib"]

View file

@ -58,7 +58,7 @@ impl Default for GainParams {
} }
impl Plugin for Gain { impl Plugin for Gain {
const NAME: &'static str = "Gain GUI"; const NAME: &'static str = "Gain GUI (iced)";
const VENDOR: &'static str = "Moist Plugins GmbH"; const VENDOR: &'static str = "Moist Plugins GmbH";
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ"; const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
const EMAIL: &'static str = "info@example.com"; const EMAIL: &'static str = "info@example.com";
@ -137,7 +137,7 @@ impl Plugin for Gain {
} }
impl ClapPlugin for Gain { impl ClapPlugin for Gain {
const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain-gui"; const CLAP_ID: &'static str = "com.moist-plugins-gmbh.gain-gui-iced";
const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin"; const CLAP_DESCRIPTION: &'static str = "A smoothed gain parameter example plugin";
const CLAP_FEATURES: &'static [&'static str] = &["audio_effect", "mono", "stereo", "tool"]; const CLAP_FEATURES: &'static [&'static str] = &["audio_effect", "mono", "stereo", "tool"];
const CLAP_MANUAL_URL: &'static str = Self::URL; const CLAP_MANUAL_URL: &'static str = Self::URL;
@ -145,7 +145,7 @@ impl ClapPlugin for Gain {
} }
impl Vst3Plugin for Gain { impl Vst3Plugin for Gain {
const VST3_CLASS_ID: [u8; 16] = *b"GainGuiYeahBoyyy"; const VST3_CLASS_ID: [u8; 16] = *b"GainGuiIcedAaAAa";
const VST3_CATEGORIES: &'static str = "Fx|Dynamics"; const VST3_CATEGORIES: &'static str = "Fx|Dynamics";
} }