Comments (3)
Yes, I can detect when an application attaches and detaches from the audio server, so I know when the stream is paused.
I did some tests, and this issue only happens when no applications are attached.
So Pipewire pauses the entire audio pipeline instead of filling the audio buffers with silence.
from jdsp4linux.
On my setup, I only hear a sharp pop when a new sound plays after several seconds of total silence. In extreme cases, I would sometimes hear either or both channels being cut out for several milliseconds in the exact same scenario. This occurs both in the PulseAudio and Pipewire flavors, the latter I'm using now as I gave up using PA due to unsolvable overruns with DSP apps.
I think this is more of a timing issue because the DSP pipeline has its own buffer (I may be wrong as I have not studied the app's source code), so there would always be a short delay as the audio is being passed through. Every time the pipeline becomes idle when no sound is playing, it would get paused after a short amount of time. Combine that with the tiny delay caused by the buffer and you get a tiny bit of the previously played sound immediately after the pipeline is unpaused.
On a related note, I've also noticed that some effects such as long reverbs do get paused with the entire pipeline when no audio is playing. As a result, you'd hear the previous sound's reverb once the pipeline gets unpaused. I find that annoying, but that's a topic for another issue.
from jdsp4linux.
I will take a look on that.
Reverb does has multiple feedback and delay lines
Cleaning up the filter state of reverb will do the job, but in general, we need to know when audio get paused.
@ThePBone Are there ways to obtain stream pause/resume, I mean, of course, I could detect signal volume and a counter to check for silence, but I think stream pausing isn't a silent, but a event?
from jdsp4linux.
Related Issues (20)
- Having to re-link the audio constantly while browsing has been fixed with GIT version.
- Use for inputs HOT 1
- option to disable limiter
- [Question] How do I use it with `module-combine-sink`? HOT 2
- jamesdsp_filter works briefly before permanently not outputting audio
- App doesn't open HOT 1
- How to check if JamesDSP is working? HOT 1
- Application links seem to be missing since 2.7.0 update
- no sound effects since last update 2.7.0 in Ubuntu 22.04 HOT 2
- The app crashes when I change the played song in any music player
- 2.7.0 won't start HOT 1
- crash after using graphics eq HOT 2
- Auto Close Application issue HOT 2
- changes don't seem to have any impact HOT 1
- random crashes HOT 2
- Fails to compile on GCC 14
- JamesDSP doesnt want to open HOT 15
- Any way to make JamesDSP work on X over ssh?
- Compile error in airbag.c HOT 1
- Missing gain import when using the AutoEQ database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdsp4linux.