Feat: mixed bag
Some checks failed
Deploy Website / deploy (push) Failing after 2m9s

This commit is contained in:
2026-02-25 20:31:36 +01:00
parent 6b94d6403a
commit 0f0f13f2b8
25 changed files with 246 additions and 10 deletions

View File

@@ -207,6 +207,13 @@ fn load_project_samples(ctx: &mut InputContext) {
ctx.app.audio.config.sample_paths = paths;
ctx.app.audio.config.sample_count = total_count;
for path in &ctx.app.audio.config.sample_paths {
if let Some(sf2_path) = doux::soundfont::find_sf2_file(path) {
let _ = ctx.audio_tx.load().send(AudioCommand::LoadSoundfont(sf2_path));
break;
}
}
if total_count > 0 {
if let Some(registry) = ctx.app.audio.sample_registry.clone() {
let sr = ctx.app.audio.config.sample_rate;