Drum machine feedback and help

Hi, I would like to have some feedback on my drum machine.

Yes, the record button is working and you will see that some parts are commented out.
This is because I tried to create a player which was working (infinitely) so not so well. That’s why I chose to comment it out for the moment.

But first thing first, I still have an error when I’m trying to pass the project about keypressed not playing songs which it actually does. I’m guessing it has something to do with the package I’m using but I don’t know how to fix it.

Then I realised that I can’t really click or press to fast otherwise the song will just not play and I have no idea how to fix that either.

Any help about these problems would be much appreciated!

Then I was thinking to implement (I don’t know how to say in English) this thing to visualize songs even though I don’t really need it.
A part from that I was thinking to use Redux which I haven’t used yet.

Thanks for feedback and help!
My drum machine - Pierre L.

1 Like

Your drum machine app looks pretty great, congratulations!

The problem you got can be solved by adding: audio.currentTime = 0; before the audio.play() function.

Here’s a fork of your app with the fix.

1 Like

Hey Pierre,

awesome work,
I like it!

Nice & clean design and responsive!

Keep us posted.

1 Like