Comments (6)
It may be caused by PipeWire itself. Run pw-play -v test.wav
to see the delay.
Rocky Linux 9 works well, the delay is 2048
and I can hear a clear sound.
now=2472351168973 rate=1/48000 ticks=43008 delay=2048 queued=0
now=2473075616347 rate=1/48000 ticks=77824 delay=2048 queued=0
now=2474183420970 rate=1/48000 ticks=131072 delay=2048 queued=0
now=2475351964615 rate=1/48000 ticks=186368 delay=2048 queued=0
now=2476069723593 rate=1/48000 ticks=221184 delay=2048 queued=0
now=2477168449525 rate=1/48000 ticks=274432 delay=2048 queued=0
now=2478279790842 rate=1/48000 ticks=327680 delay=2048 queued=0
now=2479399421351 rate=1/48000 ticks=380928 delay=2048 queued=0
I also test on Fedora 39, which delay is 10240
and I can hear noisy sound.
stream time: now:1912175561068 rate:1/48000 ticks:61440 delay:10240 queued:1882 buffered:32 buffers:1 avail:1
stream time: now:1913004872486 rate:1/48000 ticks:94208 delay:10240 queued:1881 buffered:32 buffers:1 avail:1
stream time: now:1913896419255 rate:1/48000 ticks:120832 delay:10240 queued:1882 buffered:32 buffers:1 avail:1
stream time: now:1914859452183 rate:1/48000 ticks:149504 delay:10240 queued:1881 buffered:32 buffers:1 avail:1
stream time: now:1915894128718 rate:1/48000 ticks:180224 delay:10240 queued:1881 buffered:32 buffers:1 avail:1
Maybe changing some config of PipeWire can fix it. But I'm not familiar with it.
from audio-share.
I can confirm that with pw-play, I had rattling sound as well. But after following the instructions from https://linuxmusicians.com/viewtopic.php?t=25768, I was able to get clear sound with pw-play. Unfortunately, the remote audio still is noisy even though pw-play is working well.
from audio-share.
I can confirm that with pw-play, I had rattling sound as well. But after following the instructions from https://linuxmusicians.com/viewtopic.php?t=25768, I was able to get clear sound with pw-play. Unfortunately, the remote audio still is noisy even though pw-play is working well.
This post introduce the new config way using pw-metadata -n settings
instead of editing the .conf
file directly. But the Rokcy Linux 9 and Fedora 39 both have same runtime settings.
[abc@localhost ~]$ pw-metadata -n settings
Found "settings" metadata 30
update: id:0 key:'log.level' value:'2' type:''
update: id:0 key:'clock.rate' value:'48000' type:''
update: id:0 key:'clock.allowed-rates' value:'[ 48000 ]' type:''
update: id:0 key:'clock.quantum' value:'1024' type:''
update: id:0 key:'clock.min-quantum' value:'1024' type:''
update: id:0 key:'clock.max-quantum' value:'2048' type:''
update: id:0 key:'clock.force-quantum' value:'0' type:''
update: id:0 key:'clock.force-rate' value:'0' type:''
from audio-share.
The Rocky 9 and Fedora 39 are both installed in my VirtualBox. I install VBox Guest Additions for Fedora 39 and the sound become clear while the PipeWire settings is untouched.
from audio-share.
I'll close this issue. If you still have problem, you can reopen it.
from audio-share.
Here is a little tip for other Linux users: there is a flatpak app that relays audio from Linux device without rattling sound but perhaps higher latency: https://flathub.org/apps/de.haeckerfelix.AudioSharing
from audio-share.
Related Issues (20)
- [BUG] No sound on Arch Linux HOT 7
- [New Feature] Reject TCP only clients. HOT 1
- [New Feature] Edit sample rate HOT 4
- [BUG] Android client crashes after set `AudioTrack Buffer size Scale` to `0` and reconnect HOT 4
- IPv6 Support
- [BUG] No longer working after Arch update (PC). (console command) Version: v0.0.17 HOT 2
- [New Feature] Add a tile in Quick Settings HOT 1
- [New Feature] Add "Repair Firewall" button for AudioShareServer.exe
- [Suggestion] Simplifying the server setup HOT 3
- [BUG] Can't connect to server HOT 5
- [New Feature] quick setting tile HOT 1
- [BUG] Endpoint 0 HOT 9
- [BUG] latency is greater than, 2000ms at times HOT 49
- [New Feature] Adjust the audio recording thread to High Priority HOT 2
- [New Feature] Support MacOS HOT 1
- [New Feature] Suggestion: Utilize Speaker APK as an Audio Receiving Server for Device Audio Forwarding
- [BUG] Cannot compile under Linux HOT 2
- Is it possible to add automatic reconnection after disconnection? HOT 6
- [New Feature] Edit the capture PCM format(integer or float, bitwise, etc)
- [BUG] i have a very specific bug report HOT 6
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 audio-share.