I am not sure if audio is a thing yet in Scratch-VM but I would like to suggest the use of the library HowlerJS which include pretty much everything needed in scratch 2 and more. It is cross compatible and really easy to code. Also, it works with a whole lot of types of audio files (so no longer audio conversions like you see in 2.0).
I don´t know if audio is a discussion yet but I just wanted to point out an option that I found to be useful.
I am not sure if audio is a thing yet in Scratch-VM but I would like to suggest the use of the library HowlerJS which include pretty much everything needed in scratch 2 and more. It is cross compatible and really easy to code. Also, it works with a whole lot of types of audio files (so no longer audio conversions like you see in 2.0).
I don´t know if audio is a discussion yet but I just wanted to point out an option that I found to be useful.