Git Product home page Git Product logo

theresas-sound-world's Issues

Does "tsw.load" work?

Calling tsw.load as described here http://theresassoundworld.com/#load doesn't appear to work. The arguments are not parsed into arrays and objects which are compatible with the loadFile function.

For example, at line 589 ("number_of_files = Object.keys(files).length;"), the number_of_files will always equal 1 (if isArray(files) === true).

My REAL question: is tsw.load known to actually work currently? If so, I'll debug MY code -- if not, I'll debug tsw.load and submit a pull request.

envelopes?

Are envelopes officially supported? I see them referenced in the documentation and attempted to use them but was unsuccessful... Would be a great feature :)

Should be able to specify audio parameter transition type

For example, gain could be ramped by doing something like:

var volume = tsw.gain();
volume.gain(0.8, tsw.now()); // set gain to 0.8 immediately
volume.gain(0.2, tsw.now() + 4, 'linear'); // Linear ramp from 0.8 to 0.2 over the course of  4 seconds.

Not entirely sure about the syntax should be. The above doesn't feel intuitive enough.

FadeIn / FadeOut not working in Firefox

After getting a SyntaxError: An invalid or illegal string was specified (line 249) in tests for this line while using the latest version of Firefox, I think I've discovered an issue with Mozilla's implementation of the w3 AudioParam methods.

I believe they have reversed the arguments. See: mozilla's documentation vs w3 draft.

I've never filed a bug like this, so until I figure out how, I'm leaving this as a placeholder. @stuartmemo, do you have any input on this?

Error - tsw.js:42 Uncaught TypeError: Cannot create property 'value' on number '0'

I'm getting this error in the console:

I am using Chrome on linux - Version 52.0.2743.82 (64-bit)

tsw.js:42 Uncaught TypeError: Cannot create property 'value' on number '0'

I found this error while looking at the online demo of Sympathetic synthesisor here

The issue seems to be caused by the face that 'reduction' is a read only float, and can't be changed, as it is in

    var applySettings = function (node, settings) {
       for (var setting in settings) {              
                node[setting].value = settings[setting];
        }
    };

I have been able to fix this with the following:

    var applySettings = function (node, settings) {
       for (var setting in settings) {
            if(typeof node[setting] === "object")
            {
                node[setting].value = settings[setting];
            }
        }
    };

This was working for me up until recently so I guess it's just for the latest version of Chrome (Version 52.0.2743.82 (64-bit)).

Can't schedule panning

Should be able to schedule panning like so:

var panner = tsw.panner();
panner.pan(-1, tsw.now() + 4); // Pan to the left 4 seconds from now.

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.