Skip to content

Commit

Permalink
Switch from PolySynth back to synth
Browse files Browse the repository at this point in the history
Polyphony is now handled by playing the pre-rendered synth sounds in multiple players
  • Loading branch information
MaxLaumeister committed Dec 22, 2019
1 parent 90ac020 commit 4bcc80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class NotePlayer {
rolloff: -12,
}).toMaster();

const synth = new Tone.PolySynth(Tone.Synth, {
const synth = new Tone.Synth({
oscillator: {
type: 'sine',
},
Expand Down

0 comments on commit 4bcc80b

Please sign in to comment.