diff --git a/.gitignore b/.gitignore index e3c690b..ed752d8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /target +/release _attic *.history vst2/target/ diff --git a/_build_release.sh b/_build_release.sh new file mode 100755 index 0000000..8a2037b --- /dev/null +++ b/_build_release.sh @@ -0,0 +1,13 @@ +mkdir -p release +rm release/hexosynth_jack +rm release/hexosynth_vst.so + +cd jack_standalone +cargo build --release +cp target/release/hexosynth_jack ../release/ +cd .. + +cd vst2 +cargo build --release +cp target/release/libhexosynth_vst.so ../release/hexosynth_vst.so +cd .. diff --git a/src/lib.rs b/src/lib.rs index e45777f..6aad4d7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -443,7 +443,7 @@ pub fn init_hexosynth() -> (Matrix, NodeExecutor) { .input(None, None, Some(0))); let gain_p = NodeId::Amp(0).inp_param("gain").unwrap(); - matrix.set_param(gain_p, gain_p.norm(0.09).into()); + matrix.set_param(gain_p, gain_p.norm(0.06).into()); if let Err(e) = load_patch_from_file(&mut matrix, "init.hxy") { println!("Error loading init.hxy: {:?}", e); diff --git a/vst2/Cargo.lock b/vst2/Cargo.lock index 60b3882..cd7e3c6 100644 --- a/vst2/Cargo.lock +++ b/vst2/Cargo.lock @@ -8,25 +8,12 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" -[[package]] -name = "baseplug" -version = "0.1.0" -dependencies = [ - "baseplug-derive 0.1.0", - "keyboard-types", - "num-traits", - "raw-window-handle", - "serde", - "serde_json", - "vst2-sys", -] - [[package]] name = "baseplug" version = "0.1.0" source = "git+https://github.com/WeirdConstructor/baseplug.git?branch=plugin_context#173d5f21a1f640c8b1d6576c0a1c3633f55c2f6b" dependencies = [ - "baseplug-derive 0.1.0 (git+https://github.com/WeirdConstructor/baseplug.git?branch=plugin_context)", + "baseplug-derive", "keyboard-types", "num-traits", "raw-window-handle", @@ -35,15 +22,6 @@ dependencies = [ "vst2-sys", ] -[[package]] -name = "baseplug-derive" -version = "0.1.0" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "baseplug-derive" version = "0.1.0" @@ -315,7 +293,6 @@ dependencies = [ name = "hexosynth" version = "0.1.0-alpha-2" dependencies = [ - "baseplug 0.1.0", "hexodsp", "hexotk", "keyboard-types", @@ -330,7 +307,7 @@ dependencies = [ name = "hexosynth_vst" version = "0.1.0-alpha-2" dependencies = [ - "baseplug 0.1.0 (git+https://github.com/WeirdConstructor/baseplug.git?branch=plugin_context)", + "baseplug", "hexodsp", "hexosynth", "hexotk",