dont create defaultSynth on start
This commit is contained in:
parent
fb52227a92
commit
a242c0654b
3 changed files with 15 additions and 9 deletions
|
|
@ -2,7 +2,9 @@ import { Tone } from '@strudel.cycles/tone';
|
|||
import { State, TimeSpan } from '@strudel.cycles/core';
|
||||
import { getPlayableNoteValue } from '@strudel.cycles/core/util.mjs';
|
||||
import { evaluate } from '@strudel.cycles/eval';
|
||||
import { defaultSynth } from '@strudel.cycles/tone';
|
||||
import { getDefaultSynth } from '@strudel.cycles/tone';
|
||||
|
||||
const defaultSynth = getDefaultSynth();
|
||||
|
||||
// this is a test to play back events with as less runtime code as possible..
|
||||
// the code asks for the number of seconds to prequery
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue