RootCauseunvalidated
useEffect(() => { if (isPlaying && sampleData.times.length > 0) { sampleData.times.forEach(({ startTime, duration }) => { if (duration) { Tone.Transport.schedule((time) => { sampler.current?.triggerAttackRelease("C4", duration, time, 1); }, startTime); } }); } }, [isPlaying, sampler, sampleData]);. Tension: the triggered samples sound at different volumes depending on the number of times objects in the times array.
51bda67f-3af6-42d9-a0d9-19d33b9409cc
useEffect(() => { if (isPlaying && sampleData.times.length > 0) { sampleData.times.forEach(({ startTime, duration }) => { if (duration) { Tone.Transport.schedule((time) => { sampler.current?.triggerAttackRelease("C4", duration, time, 1); }, startTime); } }); } }, [isPlaying, sampler, sampleData]);. Tension: the triggered samples sound at different volumes depending on the number of times objects in the times array.