Skip to content

Commit

Permalink
v1.3.4 PolyFilter update and reworking
Browse files Browse the repository at this point in the history
  • Loading branch information
ardura committed Oct 4, 2024
1 parent 8e2bac1 commit 54e99ae
Show file tree
Hide file tree
Showing 9 changed files with 2,233 additions and 1,488 deletions.
12 changes: 11 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ nih_plug = { git = "https://github.com/ardura/nih-plug.git", rev = "de315f902d7b
nih_plug_egui = { git = "https://github.com/ardura/nih-plug.git", rev = "de315f902d7b5a75f80bc9d4164e4485bf2b34a1" }

# egui_file fork for nih-plug/Actuate
egui_file = { git = "https://github.com/ardura/egui_file.git", rev = "33c96389cd1c5e40c5d2ece87ef7f86a1df53cb2" }
egui_file = { git = "https://github.com/ardura/egui_file.git", rev = "b75a8504d3008a7694708e8951cb8f226fa61007" }
#older one 33c96389cd1c5e40c5d2ece87ef7f86a1df53cb2

num-complex = "0.4.4"
num-traits = "0.2.17"
Expand All @@ -34,6 +35,7 @@ rand_pcg = "0.3.1"
serde = "1.0.188"
serde_json = "1.0.107"
dirs = "5.0.1"
noisy_float = "0.2.0"

[profile.release]
opt-level = 3
Expand Down
6 changes: 3 additions & 3 deletions src/actuate_gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub(crate) fn make_actuate_gui(instance: &mut Actuate, _async_executor: AsyncExe
// This would cause a deadlock and break Actuate :|
// Maybe in future this will become nicer
if params.am1_sample.lock().unwrap()[0].len() > 1 &&
AM1.lock().unwrap().loaded_sample[0][0] == 0.0 &&
AM1.lock().unwrap().loaded_sample[0].len() <= 1 &&
AM1.lock().unwrap().sample_lib[0][0][0] == 0.0 &&
(AM1.lock().unwrap().audio_module_type == AudioModuleType::Sampler ||
AM1.lock().unwrap().audio_module_type == AudioModuleType::Granulizer)
Expand All @@ -168,7 +168,7 @@ pub(crate) fn make_actuate_gui(instance: &mut Actuate, _async_executor: AsyncExe
AM1_Lock.regenerate_samples();
}
if params.am2_sample.lock().unwrap()[0].len() > 1 &&
AM2.lock().unwrap().loaded_sample[0][0] == 0.0 &&
AM2.lock().unwrap().loaded_sample[0].len() <= 1 &&
AM2.lock().unwrap().sample_lib[0][0][0] == 0.0 &&
(AM2.lock().unwrap().audio_module_type == AudioModuleType::Sampler ||
AM2.lock().unwrap().audio_module_type == AudioModuleType::Granulizer)
Expand All @@ -180,7 +180,7 @@ pub(crate) fn make_actuate_gui(instance: &mut Actuate, _async_executor: AsyncExe
AM2_Lock.regenerate_samples();
}
if params.am3_sample.lock().unwrap()[0].len() > 1 &&
AM3.lock().unwrap().loaded_sample[0][0] == 0.0 &&
AM3.lock().unwrap().loaded_sample[0].len() <= 1 &&
AM3.lock().unwrap().sample_lib[0][0][0] == 0.0 &&
(AM3.lock().unwrap().audio_module_type == AudioModuleType::Sampler ||
AM3.lock().unwrap().audio_module_type == AudioModuleType::Granulizer)
Expand Down
Loading

0 comments on commit 54e99ae

Please sign in to comment.