Feat: add new words for new audio rate modulations

This commit is contained in:
2026-03-12 17:33:50 +01:00
parent 453ba62403
commit 9cc17d14de
3 changed files with 34 additions and 1 deletions

View File

@@ -1433,7 +1433,7 @@ impl Forth {
let dur = pop_float(stack)? * ctx.step_duration();
let end = pop_float(stack)?;
let start = pop_float(stack)?;
let suffix = match curve { 1 => "e", 2 => "s", _ => "" };
let suffix = match curve { 1 => "e", 2 => "s", 3 => "i", 4 => "o", 5 => "p", _ => "" };
let s = format!("{start}>{end}:{dur}{suffix}");
stack.push(Value::Str(s.into(), None));
}