Giter Club home page Giter Club logo

Comments (6)

jsantell avatar jsantell commented on July 29, 2024

Hmm, guessing it's the sample rate -- what version of Chrome and Ubuntu?

from dancer.js.

dikkietrom avatar dikkietrom commented on July 29, 2024

Hi Jordan,

Chrome Version 21.0.1180.89
Ubuntu
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"

Ubuntu 32 bit version that is. Is there anything I can try out?

Thanks,
Dennis

On Tue, Oct 23, 2012 at 10:56 PM, Jordan Santell
[email protected]:

Hmm, guessing it's the sample rate -- what version of Chrome and Ubuntu?


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-9717894.

from dancer.js.

jsantell avatar jsantell commented on July 29, 2024

Great thank you, will look into it!

from dancer.js.

dikkietrom avatar dikkietrom commented on July 29, 2024

for the time being I was doing this and get the same too fast playing thing. But when I remove the first connect the file plays fine and the analyser seems connected also. I dont see analyser used in your code but maybe it gives you a clue somehow.

    var playAudioFile = function (buffer) {
        var source = context.createBufferSource();
        source.buffer = buffer;
        source.connect(context.destination);                   <---------- first connect


        var analyser = context.createAnalyser();
        analyser.fftSize = 2048; // 2048-point FFT
        source.connect(analyser);                                <---------- 2nd connect
        analyser.connect(context.destination);

        source.noteOn(0); // Play sound immediately

    };

from dancer.js.

jsantell avatar jsantell commented on July 29, 2024

No analyser, but there is a javascriptnode which may produce similar weirdness -- doing a large refactor and will definitely scope this out!

from dancer.js.

shoofle avatar shoofle commented on July 29, 2024

I've encountered this problem too - at first I thought I was doing something wrong, but then I compared and found out that it did it in the dancer.js example too.

from dancer.js.

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.