[perf] Add audiograph await debugAudiograph(); tool
This commit is contained in:
parent
7a3e0fd3fe
commit
24b69ad1bc
2 changed files with 620 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ import { getRandomTune, initCode, loadModules, shareCode } from './util.mjs';
|
|||
import './Repl.css';
|
||||
import { setInterval, clearInterval } from 'worker-timers';
|
||||
import { getMetadata } from '../metadata_parser';
|
||||
import { debugAudiograph } from './audiograph';
|
||||
|
||||
const { latestCode, maxPolyphony, audioDeviceName, multiChannelOrbits } = settingsMap.get();
|
||||
let modulesLoading, presets, drawContext, clearCanvas, audioReady;
|
||||
|
|
@ -129,6 +130,7 @@ export function useReplContext() {
|
|||
bgFill: false,
|
||||
});
|
||||
window.strudelMirror = editor;
|
||||
window.debugAudiograph = debugAudiograph;
|
||||
|
||||
// init settings
|
||||
initCode().then(async (decoded) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue