Coder Social home page Coder Social logo

Comments (4)

jniemann66 avatar jniemann66 commented on July 28, 2024 1

@mgood7123 yeah it's been on my to-do list for a while. Having said that, though, the performance bottleneck is the actual interpolation/decimation/convolution. I have tried reading larger blocks of data and didn't make a lot of difference to the speed, and reading the whole file is just extending the block size to it's logical conclusion. It turns out the file i/o is a fairly small percentage of the processing time.

As far as operating as a resampler as a library, this is where memory buffers make more sense than reading from a file. So I can see why you would want that.

I might be able to have a look at it over the Christmas break.

(Note: the clipping-protection mechanism writes the whole conversion to a temp file (as floating point) and then scales it down if it clipped.)

.

One thing I do want to do is enable live input from a pipe, but this is pretty much the opposite of processing the whole thing in memory, and instead using small blocks to reduce latency.

from resampler.

jniemann66 avatar jniemann66 commented on July 28, 2024 1

Closing this, but noted for future reference.

from resampler.

mgood7123 avatar mgood7123 commented on July 28, 2024

Found a very informative video related to this, may be useful for improving realtime decoding speed (eg for streamed resampling and playback)

CPU Performance vs. Real-Time Performance in Digital Audio Workstations (DAW) https://m.youtube.com/watch?v=GUsLLEkswzE

from resampler.

mgood7123 avatar mgood7123 commented on July 28, 2024

Interesting

from resampler.

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.