Commit graph

10 commits

Author SHA1 Message Date
chrisgarrity
f752ff5760 Fix formatting and restart bug
In the current system you can’t have the same sound playing more than once at the same time - this is how it was implemented on Android, so we used the same restriction on iOS.

However in the previous version if you interrupted the sound to play it again, it continued from where it was instead of starting over. So it didn’t appear to do anything. Added resetting the current time to 0.0 on play to restart sounds.
2017-03-14 14:31:18 -04:00
chrisgarrity
6a6d92e06b [WIP] new audio engine
Post coding session with Paula
2017-02-21 17:17:35 -05:00
Tim Mickel
de99fabacc Fixing broken iOS import in ScratchAudio 2016-02-03 11:32:46 -05:00
Tim Mickel
9814b2a7ce Provide top-level window.ScratchAudio to iframes 2016-02-02 17:31:16 -05:00
Tim Mickel
5c65dff9c9 Converting broken exports to getters/setters 2016-01-20 16:33:27 -05:00
Tim Mickel
2a5ce50122 Fixing broken imports 2016-01-13 18:55:15 -05:00
Tim Mickel
2fa0f3bed4 Sound.js module 2016-01-13 16:46:29 -05:00
Tim Mickel
667e1d4e62 Removing illegal read-only sampleRate set 2016-01-13 15:54:50 -05:00
Tim Mickel
640828085b Module version of ScratchAudio.js 2016-01-13 15:54:27 -05:00
Tim Mickel
e88af5b6df Initial commit 2016-01-08 14:31:04 -05:00