All the music components are working and stable, but will probably need more fiddling to get them to sound exactly how we want. The main difference is passing around a single ref to Tone so that all the instruments can use the same context/transport.
other notes:
i didn't touch RecordMusic.tsx — i think we should come back to this later
small adjustments to the envelope of each instrument can really overload the synths, so these values should be kept to <=1
changing the oscillator in useMidSynth.ts on every halo shape change was causing it to overload and error out, so I commented this out for now. There is probably a way to do this involving dispose() / disconnect() but I couldn't figure it out -__-
@cedricwaxwing on the useArpSynth.ts i changed how the bpm was controlled by adjusting the timespan the sequencer runs on (sequenceLength), feel free to adjust
All the music components are working and stable, but will probably need more fiddling to get them to sound exactly how we want. The main difference is passing around a single ref to
Tone
so that all the instruments can use the same context/transport.other notes:
RecordMusic.tsx
— i think we should come back to this laterenvelope
of each instrument can really overload the synths, so these values should be kept to<=1
oscillator
inuseMidSynth.ts
on every halo shape change was causing it to overload and error out, so I commented this out for now. There is probably a way to do this involvingdispose()
/disconnect()
but I couldn't figure it out -__-useArpSynth.ts
i changed how the bpm was controlled by adjusting the timespan thesequencer
runs on (sequenceLength
), feel free to adjust