Code Monkey home page Code Monkey logo

react-webaudio-5150's People

Contributors

kutalia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-webaudio-5150's Issues

Audio node context issue

I have the following error when launching with Chrome:

Unhandled Rejection (InvalidAccessError): AudioNode.connect: Can't connect nodes from different AudioContexts
App/</<
src/App.tsx:154

  151 |   }, {});
  152 | 
  153 |   const firstNode = state.plugins[0][0];
> 154 |   streamSource.connect(firstNode as AudioNode);
      | ^  155 | 
  156 |   setState(prevState => ({ ...prevState, allPluginsTailNode: allPluginsTailNode as AudioNode }));
  157 | });

Error "Unhandled Rejection (NotSupportedError): Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 48000 does not match the context rate of 44100 Hz."

Hi! When I compile and run the app on my computer (Mac Book Pro 2021), Catalina, I got a "Unhandled Rejection (NotSupportedError): Failed to set the 'buffer' property on 'ConvolverNode': The buffer sample rate of 48000 does not match the context rate of 44100 Hz."

103 | audioData[i] = impulseBufferArr[i];
104 | }
105 |

106 | preampConvolver.buffer = audioBuffer;
| ^ 107 |
108 | onPluginReady([preampConvolver, node], index);
109 | });

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.