DEV Community

Cover image for React Sound sampler - need help
Michal
Michal

Posted on

React Sound sampler - need help

Hi I've just build a Simple sound sampler in React, and it's almost working ;p

https://github.com/michalzareba0001/react-sampler

But it's slow - I just started to learn React and I was hoping that it will work much faster. Sound latency is around 1 sec.
And I can't play few sounds at the same time - I mean I can try but then latency is even bigger and it's freezes.
Console log:
Image description

Anybody have some ideas, how to fix it?

Top comments (1)

Collapse
 
joelbonetr profile image
JoelBonetR 🥇

I'll try to check the code and behavior at some point this week to see if I can find something :)