mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 20:48:27 +00:00
example: import from modules
This commit is contained in:
parent
e71fec0e95
commit
2e4a3516c8
@ -13,11 +13,9 @@ Loading...</textarea
|
|||||||
>
|
>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
document.body.style = 'margin: 0';
|
document.body.style = 'margin: 0';
|
||||||
// import * as strudel from '@strudel.cycles/core';
|
import * as strudel from '@strudel.cycles/core';
|
||||||
import * as strudel from '../../core/index.mjs';
|
import * as util from '@strudel.cycles/core/util.mjs';
|
||||||
import * as util from '../../core/util.mjs';
|
import '@strudel.cycles/core/euclid.mjs';
|
||||||
import '../../core/euclid.mjs';
|
|
||||||
// import { Scheduler, getAudioContext } from 'https://cdn.skypack.dev/@strudel.cycles/webaudio@0.0.4';
|
|
||||||
import { Scheduler, getAudioContext } from '../index.mjs';
|
import { Scheduler, getAudioContext } from '../index.mjs';
|
||||||
|
|
||||||
const { cat, State, TimeSpan } = strudel;
|
const { cat, State, TimeSpan } = strudel;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user