Feat: internal recording / overdubbing

This commit is contained in:
2026-02-24 13:13:56 +01:00
parent 2de49bdeba
commit a6ff19bb08
7 changed files with 212 additions and 0 deletions

View File

@@ -227,6 +227,24 @@ fn noall_clears_across_evaluations() {
assert!(!outputs[0].contains("lpf"), "lpf should be cleared: {}", outputs[0]);
}
#[test]
fn rec() {
let outputs = expect_outputs(r#""loop1" rec"#, 1);
assert_eq!(outputs[0], "/rec/rec/sound/loop1");
}
#[test]
fn overdub() {
let outputs = expect_outputs(r#""loop1" overdub"#, 1);
assert_eq!(outputs[0], "/rec/rec/sound/loop1/overdub/1");
}
#[test]
fn overdub_alias_dub() {
let outputs = expect_outputs(r#""loop1" dub"#, 1);
assert_eq!(outputs[0], "/rec/rec/sound/loop1/overdub/1");
}
#[test]
fn all_replaces_previous_global() {
let f = forth();