small fixes
This commit is contained in:
parent
fdb60a3fc1
commit
43c2f46196
2 changed files with 6 additions and 3 deletions
|
|
@ -14,5 +14,6 @@ export * from './signal.mjs';
|
|||
export * from './state.mjs';
|
||||
export * from './timespan.mjs';
|
||||
export * from './util.mjs';
|
||||
export * from './speak.mjs';
|
||||
export * as gist from './gist.js';
|
||||
// export * from './value.mjs';
|
||||
|
|
|
|||
|
|
@ -9,11 +9,13 @@ import * as strudel from '@strudel.cycles/core';
|
|||
import { Tone } from '@strudel.cycles/tone';
|
||||
const { Pattern, getFrequency, patternify2 } = strudel;
|
||||
|
||||
// let audioContext;
|
||||
/* if (!audioContext) {
|
||||
let audioContext;
|
||||
export const getAudioContext = () => {
|
||||
if (!audioContext) {
|
||||
audioContext = new AudioContext();
|
||||
}
|
||||
return audioContext; */
|
||||
return audioContext;
|
||||
};
|
||||
|
||||
const lookahead = 0.2;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue