add dough function for raw dsp
This commit is contained in:
parent
9e27c0fe2c
commit
6e26f39751
3 changed files with 87 additions and 1 deletions
|
|
@ -149,7 +149,12 @@ export function Repl({ embedded = false }) {
|
|||
onEvalError: (err) => {
|
||||
setPending(false);
|
||||
},
|
||||
onToggle: (play) => !play && cleanupDraw(false),
|
||||
onToggle: (play) => {
|
||||
if (!play) {
|
||||
cleanupDraw(false);
|
||||
window.postMessage('strudel-stop');
|
||||
}
|
||||
},
|
||||
drawContext,
|
||||
// drawTime: [0, 6],
|
||||
paintOptions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue