Git Product home page Git Product logo

diffsptk's People

Contributors

takenori-y avatar yoyololicon 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  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  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  avatar  avatar  avatar  avatar  avatar

diffsptk's Issues

bug: assertion error in frequency domain MLSA when `alpha=0` and `fft_length > 1021`

As the title said, when using MLSA with mode="freq-domain", fft_length=1024, alpha=0, it triggers the assertion error at:

assert max(self.in_order, self.out_order) + 1 < self.n_fft

This is due to the argument n_fft of MelGeneralizedCepstrumToSpectrum is not exposed to FrequencyDomainFIRFilter so it's always 512.

self.mgc2sp = MelGeneralizedCepstrumToSpectrum(
filter_order,
fft_length,
alpha=alpha,
gamma=gamma,
out_format="magnitude" if phase == "zero" else "complex",
)

Is it intentional?
I propose to add n_fft as an argument to FrequencyDomainFIRFilter.

Any plan for a `functional` module?

Hi, as the title said, is there any plan to provide a functional module, like PyTorch did, for some state-less transformations?
For example, conversion functions like lar2par, par2lpc, levdur, and so on depend on an order parameter that can be inferred from the input data.
Having them as pure functions would be great without creating a nn.Module instance.
It would also be cool to have equivalent functional counterparts of other transforms, with default arguments that work out of the box when chaining the functions, similar to how librosa does.

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.