Comments (4)
Hmm, their documentation is pretty useless. Method details on the page return 404s. Have filed a bug.
Do you think it's worth removing fadeIn/fadeOut just now? I'm thinking it would be worth make the code base a bit more solid on all browsers before doing fancy stuff like this.
from theresas-sound-world.
Saying that, I'm guessing we should handle that if it's easy to detect which parameter is which. We could just swap them around?
from theresas-sound-world.
We could detect the browser and swap the arguments... But for what it's worth, those two methods are undocumented and probably won't be used by someone who isn't digging through the source code. Removing them might be the better solution at the moment.
re: the documentation. You're right and without the source or the docs it's hard to tell what they're doing. The only way I can infer that the args are switched is because:
- The documentation on that main page discusses the arguments in reverse order
- Actually switching the arguments in the implementation appears to work... Or so it appears
from theresas-sound-world.
Cool, have removed them. #21
from theresas-sound-world.
Related Issues (18)
- No support for noteOn(0)
- tsw.phaser() doesn't work HOT 1
- tsw.panner() doesn't work. HOT 1
- Should be able to specify audio parameter transition type HOT 1
- Should be a way of recording and exporting audio made using tsw.
- Add http://theresassoundworld.com as the URL on GitHub HOT 1
- Should be able to pan panner node in real-time HOT 1
- Can't schedule panning HOT 1
- Should be able to pass note name to oscillator
- Does "tsw.load" work? HOT 3
- isBrowserSupported should be a function HOT 1
- envelopes? HOT 2
- tsw.midiNote doesn't return midi note number HOT 1
- tsw.noise() doesn't work HOT 1
- Implement tsw.note get musical note from frequency
- Error - tsw.js:42 Uncaught TypeError: Cannot create property 'value' on number '0' HOT 1
- missing effects wav files 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 theresas-sound-world.