Comments (7)
To be honest I didn't know about them. I pieced this library together over the weekend and I fully consumed the API into my brain yet :). I'll be switching it out to use that though as it's exactly what I should have used in the first place. Is there anything else in that I've done wrong? Also, I wasn't sure how know when all the oscillators were done playing so I had to use a setTimeout()
to keep checking.
from 8bit.js.
Ah, thanks. Good to know that it was not because the method is broken or not usable. I don't think I'm really qualify to critique the rest of it, but I'll keep looking.
That said, there is a W3C community group which we've created, where questions such as "am I using this right" are very much in scope. http://www.w3.org/community/audio-dev/
from 8bit.js.
Great, thanks for that! I didn't realise that this would blow up so quickly. I just pushed this afternoon and it's already trending on Github. I'm a newbie when it comes to AudioContext
since I only learned about it over the weekend. I have some big plans with what I want to do though 👍.
from 8bit.js.
I'm trying to use linearRampToValueAtTime()
but it doesn't seem to work on the first time I try and fade it down, but then does work the subsequent tries. Also the fade up starts around the 50% mark and then goes up from there. I'd like if it worked closer to how my library currently does it as it seems much smoother. I also tried exponentialRampToValueAtTime()
but that didn't work at all. No errors, but also no volume change.
from 8bit.js.
Not sure why it's not working. Have you looked at e.g. https://github.com/sourcefabric/Airtime/blob/6bdc2caaec274b6814c15c503d97dc5e3e00bba5/airtime_mvc/public/js/waveformplaylist/fades.js ?
from 8bit.js.
Thanks for the link, I'll implement what they have there and see how I go. At the moment it's close to midnight and I have work tomorrow :). Have a good day/night!
from 8bit.js.
@olivierthereaux - I've implemented this finally, only took 11 months :). When I tried it last time, there may have been some bugs in my code or Chrome itself. In any case, it was rather straight forward this time. Thanks again!
from 8bit.js.
Related Issues (10)
- Feature request: load music data from JSON / JS Objects HOT 5
- Feature Request: Import MIDI HOT 1
- Please specify a LICENSE HOT 2
- LilyPond/ABC notation support HOT 1
- Noise channel HOT 6
- External configuration file HOT 11
- It doesn't work for me (Chrome, Safari) HOT 7
- Extrapolating 8bit.js into a modular library called Band.js
- [enhancement] Add missing bower.json.
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 8bit.js.