Giter Club home page Giter Club logo

Comments (4)

b1ek avatar b1ek commented on August 9, 2024

My guess is that its just Python being Python. I briefly read through the code, and didnt find any ridiculous while loops that might be the cause. Although the maintainers would know it better

from blanket.

ttoommxx avatar ttoommxx commented on August 9, 2024

That's what I thought too, though even for python that usage looks not too reasonable. Well the app is really nice though, so don't really mean to escalate the problem

from blanket.

rafaelmardojai avatar rafaelmardojai commented on August 9, 2024

The CPU usage only goes up when the app is playing, and it goes higher or lower depending on how much sounds you're playing at once.

So I would assume that the cause is GStreamer. If you play individual sounds on Totem or Clapper, you will see a CPU usage that is equal to or higher than Blanket when multiplied by the number of sounds playing at once.

from blanket.

lukas-kasticky avatar lukas-kasticky commented on August 9, 2024
'Volume levels' setting page showing multiple volume sliders for Blanket

In a related note, Blanket is using one channel per sound instead of combining them. Maybe that makes a difference performance-wise. Then the multi-channel output could be made optional. (It still has its uses, i.e. playing Rain on the stereo and Summer Night through a different speaker closer to the window)

from blanket.

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.