GithubHelp home page GithubHelp logo

Comments (4)

JohnPaulHarold avatar JohnPaulHarold commented on August 17, 2024 2

hi @midipixel, I've just tried doing the same as you, same effect, and loading a sound file, and stuff works; I heard a really fast tremolo speed. This doesn't discount that you have an issue, but can you also let us know what OS, browser you are on? Or indeed, anything else that might be of interest. I tested your exact steps on Windows10, Chrome latest. FYI, I loaded a sound file:

from pizzicato.

midipixel avatar midipixel commented on August 17, 2024 1

Of course, I'll close it now!

Yes, having trimming and cropping would be really useful. In my case, the app would be really well served with a simple audio editor with UI/features somewhat similar to this one

If I manage to implement it, I'll get in touch. ;)

from pizzicato.

midipixel avatar midipixel commented on August 17, 2024

Hi, @JohnPaulHarold . Thanks for your reply! It made me find out what was wrong in my code.

I tried making a simple test and it worked, indeed. I found out what the problem was.

Instead of

tremolo.speed = speed;

I was trying:

tremolo.options.speed = speed;

...since I was trying to change several parameters at once by passing the options literal to the effect right before playing the sound. Turns out that tremolo.speed and tremolo.options.speed are different properties, eh?

Well, I'm relieved, since setting the properties before playing is a vital part of my application. :)

Btw, I've been testing on the latest versions of Opera, Firefox and Chrome, Windows 10.

from pizzicato.

JohnPaulHarold avatar JohnPaulHarold commented on August 17, 2024

Glad that's resolved. You OK to close the issue also? Interesting you mention a sampler, one of my WebAudio todos has been to make a simple wave editor; trimming, cropping essentially, with an equally simple GUI on top.

from pizzicato.

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.