Giter VIP home page Giter VIP logo

justaddmusic's People

Contributors

gskinner avatar lannymcnie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

justaddmusic's Issues

AudioData is not generated if there is no ontick handler

In the case where the developer wants to use audioData in an existing tick, instead of passing in an ontick handler, the audio data does not get generated.

An ontick must be set to a non-null value in order for the audioData to get populated. Not sure the best solution, maybe a manual` property on the config object or on the instance?

Handle errors on "decodeAudioData"

In Safari and Firefox (OS X) I encountered an issue with audio that loaded, but failed to decode. Currently JAM does not handle or surface this error. Ideally it would console.error, or dispatch an event.

Here is a file that failed. It is 44kbps. When it was re-encoded for 48kbps, it worked fine, so that could be the cause. The error happens specifically when the file is loaded in an iframe, and it seemed to work fine when loaded in its own window.

RTE on first tick

Receiving an RTE when playing default music.

TypeError: undefined is not an object (evaluating 'prevO[key]')
_loop  JustAddMusic.js:336
_calculate  JustAddMusic.js:343
tick  JustAddMusic.js:205

Happened in all browsers on OSX using this demo

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.