repair build
This commit is contained in:
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user