Merge remote-tracking branch 'origin/main' into lu/flux
This commit is contained in:
commit
0e81987c4e
235 changed files with 13604 additions and 2573 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -20,6 +20,8 @@ const skippedExamples = [
|
|||
'accelerationX',
|
||||
'defaultmidimap',
|
||||
'midimaps',
|
||||
'clearScope',
|
||||
'bmod',
|
||||
];
|
||||
|
||||
describe('runs examples', () => {
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ import { mini, m } from '@strudel/mini/mini.mjs';
|
|||
// import euclid from '@strudel/core/euclid.mjs';
|
||||
//import '@strudel/midi/midi.mjs';
|
||||
import * as tonalHelpers from '@strudel/tonal';
|
||||
import * as edoHelpers from '@strudel/edo';
|
||||
import '@strudel/xen/xen.mjs';
|
||||
// import '@strudel/xen/tune.mjs';
|
||||
// import '@strudel/core/euclid.mjs';
|
||||
|
|
@ -126,11 +127,16 @@ const loadSoundfont = () => {};
|
|||
const loadCsound = () => {};
|
||||
const loadCSound = () => {};
|
||||
const loadcsound = () => {};
|
||||
const getDuration = () => {};
|
||||
|
||||
const midin = () => {
|
||||
return (ccNum) => strudel.ref(() => 0); // returns ref with default value 0
|
||||
};
|
||||
|
||||
const midikeys = async () => {
|
||||
return () => strudel.silence;
|
||||
};
|
||||
|
||||
const sysex = ([id, data]) => {};
|
||||
|
||||
// TODO: refactor to evalScope
|
||||
|
|
@ -140,6 +146,7 @@ evalScope(
|
|||
toneHelpersMocked,
|
||||
uiHelpersMocked,
|
||||
webaudio,
|
||||
edoHelpers,
|
||||
tonalHelpers,
|
||||
gamepadHelpers,
|
||||
/*
|
||||
|
|
@ -150,6 +157,7 @@ evalScope(
|
|||
*/
|
||||
{
|
||||
midin,
|
||||
midikeys,
|
||||
sysex,
|
||||
// gist,
|
||||
// euclid,
|
||||
|
|
@ -163,6 +171,7 @@ evalScope(
|
|||
loadCSound,
|
||||
loadCsound,
|
||||
loadcsound,
|
||||
getDuration,
|
||||
setcps: id,
|
||||
setcpm: id,
|
||||
Clock: {}, // whatever
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue