vsergeev / audioprism

A spectrogram tool for PulseAudio and WAV files, written in C++11.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve idle efficiency

ASzc opened this issue · comments

I'd like to keep an audioprism window open in the background, to go along with my music player window. I don't listen to music all the time, and I notice that audioprism has significant CPU usage, even when it's just displaying a black screen.

It would be nice if it suspended rendering (and DFT calculations?) when there is more than a user-defined level of seconds of silence or near-silence. I think that'd reduce the idle CPU to acceptable levels.

Hmm... I guess I had a program making some kind of silent output before. I now see audioprism doing exactly what I described here, so I'll close this issue.