How to play audio in Ionic React

I have a little game app in the playstore and i want to add some audio when the user press some buttons. I’ve struggled with different methods/plugins but i can’t find the way. I’ve tried

1- const audio = new Audio(‘path/to/audioFile.mp3’);
audio.play();
In this case it sounds but it’s kinda buggy (somethimes delayed, sometimes do not sound at all)
2- Using the capacitor comunity plugin https://www.npmjs.com/package/@capacitor-community/native-audio.
3- Using the native-audio cordova plugin.
4- Usin the media cordova plugin.

None of them worked for me. Has anyone achieved this?. Any recommendations / guidance would be apreciated. Thanks in advance