Giter Site home page Giter Site logo

Compression about lsdpack HOT 4 CLOSED

jkotlinski avatar jkotlinski commented on June 2, 2024
Compression

from lsdpack.

Comments (4)

Eiyeron avatar Eiyeron commented on June 2, 2024

I wonder what would be the additional CPU cost such compression would add. I haven't done benchs, but I suspect the usage to be quite varying due to how sample playback can be taxing on the CPU, right?

from lsdpack.

jkotlinski avatar jkotlinski commented on June 2, 2024

Right, adding compression definitely costs CPU cycles, so it is a trade off. Maybe any work on this should be postponed until it is more clear if and how people will actually use this.

from lsdpack.

Eiyeron avatar Eiyeron commented on June 2, 2024

Well, I saw people wanting to make players with custom graphics and animations, akin to jukeboxes. Some are planning audio registers-based vizs so I guess unless they go wild during the interrupts, they might be okay with the routine running.

That being said, I haven't seen how the other available drivers work, so I won't be able to properly compare and tell if lsdj would be fit for being a game-wise audio driver if you go easy on the CPU (no vibrato, samples, etc...).

Also it'd be interesting to project a hypothetical CPU/interrupt usage in the song (I guess min/max/avg/peaks?), if that's possible.

Anyway thanks for making a player, people already are making good use for it, like making "official" benchmark material.

from lsdpack.

jkotlinski avatar jkotlinski commented on June 2, 2024

I added a simple visualization of CPU cost now. It does not look like there are too much free cycles to spend on better compression.

from lsdpack.

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.