Giter VIP home page Giter VIP logo

Comments (7)

meenie avatar meenie commented on August 28, 2024

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.

olivierthereaux avatar olivierthereaux commented on August 28, 2024

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.

meenie avatar meenie commented on August 28, 2024

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.

meenie avatar meenie commented on August 28, 2024

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.

olivierthereaux avatar olivierthereaux commented on August 28, 2024

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.

meenie avatar meenie commented on August 28, 2024

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.

meenie avatar meenie commented on August 28, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.