Solutionunvalidated

I refactored to use Tone.Part and this resolved the volume warp issue — specifically designed to schedule multiple play events from an instrument in a loop. Tension: This code replaces the forEach() scheduling in my original code. Outcome: const part = new Tone.Part((time, event) => { sampler.current?.triggerAttackRelease( "C4", event.duration, time ); }, events); part.start(0);.

85eade29-a273-4aa8-9515-f0fd644ea771

I refactored to use Tone.Part and this resolved the volume warp issue — specifically designed to schedule multiple play events from an instrument in a loop. Tension: This code replaces the forEach() scheduling in my original code. Outcome: const part = new Tone.Part((time, event) => { sampler.current?.triggerAttackRelease( "C4", event.duration, time ); }, events);

part.start(0);.