mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
small fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user