Coder Social home page Coder Social logo

Comments (12)

oampo avatar oampo commented on June 23, 2024

This seems to be an issue with sink.js (which Audiolet uses for output) and the Web Audio API more broadly. See jussi-kalliokoski/audiolib.js#69 (comment) for an explanation of what's going on. I'm not sure there's too much that can be done to help until any changes to the API stabilise and filter down to sink.js. All part of the joy of working with developing web technologies I'm afraid :(

from audiolet.

Karbonforms avatar Karbonforms commented on June 23, 2024

Yeah, I realise we're on the cutting edge here. I'll just test/develop using Chrome stable from a VM for now. Cheers Joe.

from audiolet.

oampo avatar oampo commented on June 23, 2024

No problems. I'll leave this open for now until it's no longer an issue so other people aren't caught out.
Cheers for the report,
Joe

from audiolet.

spjnowak avatar spjnowak commented on June 23, 2024

I get the same error in the beta release of Safari 6.

from audiolet.

oampo avatar oampo commented on June 23, 2024

Yeah, sounds like the changes have gone into Safari too.

@jussi-kalliokoski - any word on when this might be fixable?

from audiolet.

spjnowak avatar spjnowak commented on June 23, 2024

Just installed Beta 2 of Safari 6 and it works!

from audiolet.

jussi-kalliokoski avatar jussi-kalliokoski commented on June 23, 2024

I decided to roll in the fix, regardless of whether it may break in the future. For now it actually looks like it will break because main thread audio processing might be removed altogether.

from audiolet.

oampo avatar oampo commented on June 23, 2024

Thanks Jussi. Yeah, I've been following the arguments in the bug - that will mean big changes to both Audiolet and audiolib.js I'd imagine. Interesting times...

from audiolet.

jussi-kalliokoski avatar jussi-kalliokoski commented on June 23, 2024

Well, existing demos will break, no doubt, but I'll be sure to get support for main thread audio processing in sink.js, regardless of whether the Web Audio API will support it by default or via hacks. :) Which means we can tell angry people just to upgrade to the latest version, heh.

I suppose with Audiolet you could make something that would have the graphs in the main thread but the actual logic would happen in the worker and get best of the both worlds. With audiolib.js that won't work since there's less / incompatible abstraction. That said, audiolib.js already works in a worker (and actually I have a cool mechanism to inject it into a worker along with the plugins, at least in my mind it's cool, heh) so it's not that much of a biggie. However, I'll probably rewrite all of audiolib.js at some point to optimize for performance rather than ease of writing more modules at the core, sort of utility functions in the spirit of C, and then an abstraction layer (or a few) on top of that.

from audiolet.

MiracleBlue avatar MiracleBlue commented on June 23, 2024

Hey Joe and Jussi, thanks for your diligence in trying to get this fixed :) I just updated to the latest Chrome today and noticed it had broken and was very worried.

Joe, would you mind providing an updated build file with the new sink? I don't have juicer installed on my machine to run a build myself :P

Thanks again guys!

from audiolet.

oampo avatar oampo commented on June 23, 2024

Jussi - Yeah, I think Audiolet will eventually become more of a wrapper over the Web Audio API as it becomes more widely supported.

Nicolas - Done and done!

from audiolet.

MiracleBlue avatar MiracleBlue commented on June 23, 2024

Thank you sir! You are a gentleman and a scholar :D

I've been doing a LOT of work on JSaw recently :) got an extra burst of motivation to keep me going.

from audiolet.

Related Issues (20)

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.