Code Monkey home page Code Monkey logo

Comments (1)

mattpitkin avatar mattpitkin commented on June 18, 2024

[Caveat: this is what I think is happening, but I could be wrong.] When you create a new DFState, as returned from init_df, then memory for the frame analysis/synthesis (e.g., storing the part of the previous frame from the overlap) is zeroed and also the normalisation states for the spectrum and ERB spectrum will be initialised to specific values (the normalisations states are updated for each frame). When you call state.reset(), it resets the memory for the frame analysis/synthesis to zero, but it does not re-initialise the normalisations, which is why you see different results. If you are using a pre-used, but reset, state on independent audio, the fact that the normalisation was not reset can result is a short impulsive transient before the normalisation settles down and loses memory of the previous data that was passed through the state. (Note - you get a similar normalisation transient effect from a new state anyway as the normalisation starts at somewhat arbitrary values and takes a short time to see enough data to settle).

from deepfilternet.

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.