scratchfoundation / scratch-vm

Virtual Machine used to represent, run, and maintain the state of programs for Scratch 3.0
http://scratchfoundation.github.io/scratch-vm/
BSD 3-Clause "New" or "Revised" License
1.2k stars 1.5k forks source link

How is Scratch-VM going to interact with audio? #273

Closed CosmicWebServices closed 7 years ago

CosmicWebServices commented 7 years ago

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.

ericrosenbaum commented 7 years ago

Hi- we've started working with audio, but it is still at a very early stage. You can see watch our progress on the audio engine here.

Thanks for the tip- we're currently using ToneJs for prototyping, but that is likely to change.

CosmicWebServices commented 7 years ago

Thanks