Feat: add wave word for drum synthesis

This commit is contained in:
2026-02-21 22:03:07 +01:00
parent a7a1f9e759
commit c9c8fe4117
3 changed files with 12 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ cagire-forth = { path = "crates/forth" }
cagire-markdown = { path = "crates/markdown" }
cagire-project = { path = "crates/project" }
cagire-ratatui = { path = "crates/ratatui" }
doux = { git = "https://github.com/Bubobubobubobubo/doux", features = ["native"] }
doux = { path = "/Users/bubo/doux", features = ["native"] }
rusty_link = "0.4"
ratatui = "0.30"
crossterm = "0.29"

View File

@@ -215,6 +215,16 @@ pub(super) const WORDS: &[Word] = &[
compile: Param,
varargs: true,
},
Word {
name: "wave",
aliases: &["waveform"],
category: "Oscillator",
stack: "(v.. --)",
desc: "Set drum waveform [0,1]: 0=sine, 0.5=tri, 1=saw",
example: "0.5 wave",
compile: Param,
varargs: true,
},
Word {
name: "spread",
aliases: &[],

View File

@@ -14,7 +14,7 @@ cagire = { path = "../..", default-features = false, features = ["block-renderer
cagire-forth = { path = "../../crates/forth" }
cagire-project = { path = "../../crates/project" }
cagire-ratatui = { path = "../../crates/ratatui" }
doux = { git = "https://github.com/Bubobubobubobubo/doux", features = ["native"] }
doux = { path = "/Users/bubo/doux", features = ["native"] }
nih_plug = { git = "https://github.com/robbert-vdh/nih-plug", features = ["standalone"] }
nih_plug_egui = { git = "https://github.com/robbert-vdh/nih-plug" }
egui_ratatui = "2.1"