Giter Club home page Giter Club logo

Comments (8)

olilarkin avatar olilarkin commented on August 16, 2024 4

I've got some really good results with the Lancsoz resampler, which has much less aliasing that the interpolation modes and is fast and only adds a tiny bit of latency: sdatkinson/NeuralAmpModelerPlugin#341

from neuralampmodelercore.

baconpaul avatar baconpaul commented on August 16, 2024 1

Once I fixed that bug. Lol. Glad to see it helps!

from neuralampmodelercore.

sdatkinson avatar sdatkinson commented on August 16, 2024 1

Coming back to this, I don't think it makes sense to implement the resampler here: same as AudioDSPTools, it's not "NAM-specific" and others may have their own favorites already.

Still, I definitely appreciate the input on this Issue and will be referencing it as I work on getting resampling in my plugin; thanks!

from neuralampmodelercore.

daleonov avatar daleonov commented on August 16, 2024

Yes! You can look at the resampler from JUCE for inspiration. I've been using it with NAM since last summer and it works perfectly for this exact purpose. So might as well port it to NAM. I use a LagrangeInterpolator from here -> https://docs.juce.com/master/classGenericInterpolator.html

from neuralampmodelercore.

daleonov avatar daleonov commented on August 16, 2024

Oh, by the way, two more requests for that:

  1. getLatency() method that tells us how many frames is the resampler's latency, so we can report it to the DAW to adjust PDC.
  2. prepare() method to call outside audio thread that resizes those internal buffers every time sample rate or block size changes.

(obviously method names are arbitrary)

from neuralampmodelercore.

David-Else avatar David-Else commented on August 16, 2024

A few years ago this was considered the highest quality open source resampling library from the master behind Voxengo plugins: https://github.com/avaneev/r8brain-free-src. I assume it still is, check it out!

from neuralampmodelercore.

olilarkin avatar olilarkin commented on August 16, 2024

I am not sure that the cubic resampler WIP in the NeuralAmpModelerCore repo will be of high enough quality. Cubic resampling will introduce a lot of aliasing. But r8brain-free-src is not designed for real time usage afaik, and will be too heavy. I propose to use either WDL_Resampler or perhaps this which @baconpaul kindly MIT'd for me.

from neuralampmodelercore.

olilarkin avatar olilarkin commented on August 16, 2024

Implementing WDL_Resampler in the plug-in code would be simple

from neuralampmodelercore.

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.