Git Product home page Git Product logo

audioeffectdynamics's People

Contributors

markzp avatar newdigate 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

Watchers

 avatar  avatar  avatar  avatar

audioeffectdynamics's Issues

Audio dropouts when changing parameters

Hi Mark,

Just having a playing around with the dynamics effects - the compressor is very nice indeed but I have an issue:

When changing any of the compression parameters live, the sound mutes then fades back in fairly quickly. Is this intended? I have reviewed the library and can't find the exact place in the code that causes this. Is this intentional?

Any help would be great, thanks again!

log/exp

Just a qestion, have you tested that your log and exp implementations are really faster than the fpu?

NAN issue in powf() expression causes compressor to not let audio thru

The powf expression may return NAN (Not A Number) if the audio level in is low from a source it seems. Then the compressor will not give audio data out and appears "dead" ...

Here:

gain = gateGain * powf(10.0f, (compdb + compMakeupGain + limitdb) / 20.0f);

To check if a NAN_ https://stackoverflow.com/questions/570669/checking-if-a-double-or-float-is-nan-in-c/570694

I added this "hacky" fix:

if (compdb != compdb) compdb = 0.0f; // trick to detect NAN .. Became a bit overmodulated with compdb to 1 so I set it to 0

I am not sure if it is a good idea to set it to zero however. At least this fixed the NAN issue.

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.