mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 05:28:41 +00:00
small fixes
This commit is contained in:
parent
fdb60a3fc1
commit
43c2f46196
@ -14,5 +14,6 @@ export * from './signal.mjs';
|
|||||||
export * from './state.mjs';
|
export * from './state.mjs';
|
||||||
export * from './timespan.mjs';
|
export * from './timespan.mjs';
|
||||||
export * from './util.mjs';
|
export * from './util.mjs';
|
||||||
|
export * from './speak.mjs';
|
||||||
export * as gist from './gist.js';
|
export * as gist from './gist.js';
|
||||||
// export * from './value.mjs';
|
// export * from './value.mjs';
|
||||||
|
|||||||
@ -9,11 +9,13 @@ import * as strudel from '@strudel.cycles/core';
|
|||||||
import { Tone } from '@strudel.cycles/tone';
|
import { Tone } from '@strudel.cycles/tone';
|
||||||
const { Pattern, getFrequency, patternify2 } = strudel;
|
const { Pattern, getFrequency, patternify2 } = strudel;
|
||||||
|
|
||||||
// let audioContext;
|
let audioContext;
|
||||||
/* if (!audioContext) {
|
export const getAudioContext = () => {
|
||||||
|
if (!audioContext) {
|
||||||
audioContext = new AudioContext();
|
audioContext = new AudioContext();
|
||||||
}
|
}
|
||||||
return audioContext; */
|
return audioContext;
|
||||||
|
};
|
||||||
|
|
||||||
const lookahead = 0.2;
|
const lookahead = 0.2;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user