mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-14 23:28:30 +00:00
use default context for now
This commit is contained in:
parent
e719cea0de
commit
ef3ab6161f
@ -18,7 +18,7 @@ try {
|
||||
console.warn('failed to decode', err);
|
||||
}
|
||||
// "balanced" | "interactive" | "playback";
|
||||
Tone.setContext(new Tone.Context({ latencyHint: 'playback', lookAhead: 1 }));
|
||||
// Tone.setContext(new Tone.Context({ latencyHint: 'balanced', lookAhead: 0.5 }));
|
||||
const defaultSynth = new Tone.PolySynth().chain(new Tone.Gain(0.5), Tone.getDestination());
|
||||
defaultSynth.set({
|
||||
oscillator: { type: 'triangle' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user