Coder Social home page Coder Social logo

Comments (3)

jniemann66 avatar jniemann66 commented on July 28, 2024

Hi Klassikmann - I'm impressed that you tried the quad-precision version - you Mad lad !!
Unfortunately, the speed of quad-precision is never going to be great unless one day we have a CPU that does quad precision in hardware - until then, the 128-bit quad-precision operations need to be "simulated" in software.

Nevertheless, there might be some things that can be done to speed it up a bit. I haven't really tested DSD with quad-precision much - I didn't think there would be much interest in doing so, but you appear to have contradicted that little assumption :-) , so maybe there are some optimization opportunities lurking in the shadows.

I'll have a look into it when I get a chance - absolutely flat-out atm. Can't promise anything, but who knows ? might be able to squeeze some more out of it - should be able to do better than 0.1x at any rate.

Cheers
Judd

from resampler.

klassikmann avatar klassikmann commented on July 28, 2024

Hi Judd,

thank you for your immediate feedback.

You're right, I'm testing quadruple-precision out of pure curiosity. Double-precision is more than enough for real life. The slowness of quad-precision seems to be appear in DSD->PCM conversion only.

Here a test result resampling PCM 16/44.1 (46'44") to 24/48:
Single-Precision (-r 48000 -b 24 --mt --multistage):
Time=101819 ms [27.5x]

Double-Precision (-r 48000 --doubleprecision -b 24 --mt --multistage):
Time=104067 ms [26.9x]

Quad-Precison (-r 48000 -b 24 --mt --multistage):
Time=91972 ms [30.5x]

Quad-precision seemed to be the fastest.

Regards
Herbert

from resampler.

jniemann66 avatar jniemann66 commented on July 28, 2024

Ok - Thanks for that. There might be something going wrong with DSD conversion in Quad precision - I'll try to check it out on the Weekend

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.