repair build
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
"superdough": "^0.9.3",
|
||||
"tailwindcss": "^3.3.3",
|
||||
"tone": "^14.8.49",
|
||||
"zifferjs": "file:../zifferjs",
|
||||
"zifferjs": "https://github.com/amiika/zifferjs.git",
|
||||
"zzfx": "^1.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,6 +8,7 @@ import {
|
||||
superdough, samples,
|
||||
initAudioOnFirstClick,
|
||||
registerSynthSounds
|
||||
// @ts-ignore
|
||||
} from 'superdough';
|
||||
|
||||
/**
|
||||
@ -24,7 +25,7 @@ Array.prototype.in = function<T>(this: T[], value: T): boolean {
|
||||
};
|
||||
|
||||
|
||||
const init = Promise.all([
|
||||
Promise.all([
|
||||
initAudioOnFirstClick(),
|
||||
samples('github:tidalcycles/Dirt-Samples/master'),
|
||||
samples('github:kindohm/expedition/tree/master/samples'),
|
||||
|
||||
@ -7,7 +7,7 @@ function codeInterceptor(code: string): string {
|
||||
.replace(/t\[(\d+),(\d+)\]/g, 'mod($1,$2)')
|
||||
.replace(/b\[(\d+),(\d+)\]/g, '[$1,$2].includes(beat)')
|
||||
.replace(/eb\[(\d+),(\d+)\]/g, '[$1,$2].includes(ebeat)')
|
||||
.replace(/m\[(\d+),(\d+)\]/g, '[$1,$2].includes(bar)');
|
||||
.replace(/m\[(\d+),(\d+)\]/g, '[$1,$2].includes(bar)')
|
||||
}
|
||||
|
||||
const delay = (ms: number) => new Promise((_, reject) => setTimeout(() => reject(new Error('Operation took too long')), ms));
|
||||
|
||||
@ -1158,8 +1158,9 @@ yaml@^2.1.1:
|
||||
resolved "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz"
|
||||
integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==
|
||||
|
||||
"zifferjs@file:../zifferjs":
|
||||
"zifferjs@https://github.com/amiika/zifferjs.git":
|
||||
version "0.0.0"
|
||||
resolved "https://github.com/amiika/zifferjs.git#0254770c19db8772a9c3cb6b0571f2b5007593e6"
|
||||
dependencies:
|
||||
"@types/seedrandom" "^3.0.5"
|
||||
lru-cache "^10.0.0"
|
||||
|
||||
Reference in New Issue
Block a user