We have made excellent progress with our music player application so far. You now have a play/pause button that works and allows you to listen to a song from within the Electron application. Of course, a single button isn't enough for a music player. In this section, we are going to implement a traditional set of buttons to control the music playback.
For comfortable user experience, we need to have at least the following buttons:
- Play/pause
- Stop
- Mute/unmute
- Volume up/down
You have already implemented the Play / Pause button, so let's move on to the Stop button.