Comments (1)
Thanks for the bug report! This seems to be another one of those ways in which Safari's support for webAudio is slightly different from Chrome (MDN says, for the stop method, "If the node has already stopped, this method has no effect" which makes it sound like no error should be thrown, but apparently it can be).
You're correct that the buffer source node does not provide a way to check if it is playing directly, so we need the flag. Your check for the flag seems to work- I'll make a PR. Thanks!
from scratch-audio.
Related Issues (20)
- Notes initially ignore volume HOT 2
- The ADPCM decoder uses too much memory HOT 1
- RIFFVtWAVEfmt Wave Files don't load in 3.0
- The instruments could use some tweaks HOT 1
- Invalid content error in Firefox on one project
- Handle Chrome audio autoplay policy change HOT 5
- Repeatedly changing the volume (e.g. fade-out) causes bitsy effect HOT 1
- Audio on a particular project can't be decoded successfully HOT 1
- Set volume to in a forever loop causes audio to stutter on Firefox HOT 2
- First time a sound plays it starts at full volume even if volume is set lower
- Pan left/right doesn't effect extension blocks HOT 1
- Extend the pitch effects limit HOT 3
- After numerous changes of volume/pitch, they became less responsive HOT 8
- "The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page." are displayed in chrome console when scratch is started. HOT 1
- npm-published packages should follow semver
- To remove the sound pitch limit completely HOT 1
- Dependency Dashboard
- module is not defined HOT 1
- Migrate from travis-after-all to Travis Stages
- Audio still clicks when restarting after a rest block HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scratch-audio.