no default samples for now + add doughsamples to scope
This commit is contained in:
parent
e4e2d60b28
commit
e286ab2830
1 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,8 @@ import { transpiler } from '@strudel/transpiler';
|
||||||
//const doughBaseUrl = doughUrl.split('/').slice(0, -1).join('/') + '/';
|
//const doughBaseUrl = doughUrl.split('/').slice(0, -1).join('/') + '/';
|
||||||
const doughBaseUrl = 'https://unpkg.com/dough-synth@0.1.9/';
|
const doughBaseUrl = 'https://unpkg.com/dough-synth@0.1.9/';
|
||||||
|
|
||||||
|
Object.assign(globalThis, { doughsamples });
|
||||||
|
|
||||||
export class DoughRepl {
|
export class DoughRepl {
|
||||||
pattern;
|
pattern;
|
||||||
latency = 0.1;
|
latency = 0.1;
|
||||||
|
|
@ -81,7 +83,9 @@ export class DoughRepl {
|
||||||
this.origin = undefined;
|
this.origin = undefined;
|
||||||
}
|
}
|
||||||
prebake() {
|
prebake() {
|
||||||
return Promise.all([doughsamples('github:eddyflux/crate')]);
|
return Promise.all([
|
||||||
|
// doughsamples('github:eddyflux/crate')
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
// tbd: move this to dough-synth
|
// tbd: move this to dough-synth
|
||||||
get time() {
|
get time() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue