Search found 60 matches

by crocket
Thu Sep 12, 2019 10:13 pm
Forum: System Tuning and Configuration
Topic: No one should ever bother with bridging ALSA and JACK.
Replies: 7
Views: 308

Re: No one should ever bother with bridging ALSA and JACK.

1. You can eliminate pops, crackles, clicks, and xruns in the bridge between ALSA and JACK. You can do so by replacing ALSA loopback with a dedicated USB soundcard. Plug SPDIF output of an onboard soundcard into SPDIF input of a USB soundcard. Route all system sounds to SPDIF out. Run zita-a2j on SP...
by crocket
Thu Sep 12, 2019 11:17 am
Forum: System Tuning and Configuration
Topic: No one should ever bother with bridging ALSA and JACK.
Replies: 7
Views: 308

No one should ever bother with bridging ALSA and JACK.

Bridging ALSA and JACK without major backfiring effects like pops and xruns is enormously difficult and can take months of dedicated efforts. After months of dedicated efforts, I obtained the best result possible. But, even the perfect result possible from the bridge is worse than using ALSA alone. ...
by crocket
Sat Sep 07, 2019 11:34 pm
Forum: System Tuning and Configuration
Topic: Switching off WiFi when there is no LAN
Replies: 4
Views: 289

Re: Switching off WiFi when there is no LAN

If you want a compact setup, adding a bulky WiFi router to a machine is suboptimal.

I'd rather

  • choose a functional WiFi dongle that can be easily interrupted or uses DMA to bypass CPU
  • use either CONFIG_RT_SCHED_GROUP or CONFIG_PREEMPT_RT_FULL.
by crocket
Thu Sep 05, 2019 11:41 pm
Forum: System Tuning and Configuration
Topic: Switching off WiFi when there is no LAN
Replies: 4
Views: 289

Re: Switching off WiFi when there is no LAN

Can it withstand

Code: Select all

nice -n 19 stress-ng --iomix 8 --ionice-class idle --cpu 8 -t 5m
without xruns?
by crocket
Sun Sep 01, 2019 2:06 am
Forum: System Tuning and Configuration
Topic: The best way to bridge ALSA and JACK that I found.
Replies: 0
Views: 280

The best way to bridge ALSA and JACK that I found.

For months, I went through lots of trials and errors in order to remove pops, crackles, and clicks from the bridge between ALSA and JACK. ALSA loopback caused a lot of pops, crackles, and clicks. It also produced soft xruns that were not reported by zita-ajbridge. Today, I think I found the way to e...
by crocket
Tue Aug 13, 2019 12:26 pm
Forum: System Tuning and Configuration
Topic: [DELETED]
Replies: 2
Views: 417

[DELETED]

[DELETED]
by crocket
Thu Aug 08, 2019 9:56 pm
Forum: System Tuning and Configuration
Topic: [OBSOLETE] line-out / line-in vs SPDIF out / SPDIF in
Replies: 8
Views: 302

Re: [OBSOLETE] line-out / line-in vs SPDIF out / SPDIF in

Forget about pulseaudio jack sink because it is worse than alsa_in reading from ALSA loopback according to my test.
I realized I need more information on SPDIF. I made a new thread about it.
by crocket
Thu Aug 08, 2019 5:40 am
Forum: System Tuning and Configuration
Topic: [OBSOLETE] line-out / line-in vs SPDIF out / SPDIF in
Replies: 8
Views: 302

Re: line-out / line-in vs SPDIF out / SPDIF in

Right now, I am attracted to ALSA dmix --> Onboard SPDIF out --> USB soundcard SPDIF in --(alsa_in)--> netjack1 ==(ethernet)==> JACK server --> USB/I2S Amp --> speakers As long as netjack1 receives clean audio, there will be no noise. But, I haven't tested this setup. Has anyone tried a similar setu...
by crocket
Thu Aug 08, 2019 12:09 am
Forum: System Tuning and Configuration
Topic: [OBSOLETE] line-out / line-in vs SPDIF out / SPDIF in
Replies: 8
Views: 302

Re: line-out / line-in vs SPDIF out / SPDIF in

Since so many desktop applications use Pulseaudio maybe you might rethink your "no Pulseaudio" descision, at least on the desktop PC. On the desktop PC, ALSA client -> Pulseaudio -> netjack -> LAN/WLAN -> netjack -> jack -> ALSA (low level) -> audio device and Pulseaudio client -> Pulseau...
by crocket
Wed Aug 07, 2019 11:30 am
Forum: System Tuning and Configuration
Topic: [OBSOLETE] line-out / line-in vs SPDIF out / SPDIF in
Replies: 8
Views: 302

Re: line-out / line-in vs SPDIF out / SPDIF in

Since so many desktop applications use Pulseaudio maybe you might rethink your "no Pulseaudio" descision, at least on the desktop PC. On the desktop PC, ALSA client -> Pulseaudio -> netjack -> LAN/WLAN -> netjack -> jack -> ALSA (low level) -> audio device and Pulseaudio client -> Pulseau...
by crocket
Wed Aug 07, 2019 6:39 am
Forum: System Tuning and Configuration
Topic: [OBSOLETE] line-out / line-in vs SPDIF out / SPDIF in
Replies: 8
Views: 302

[OBSOLETE] line-out / line-in vs SPDIF out / SPDIF in

I want to share a pair of speakers with two computers. Which setup is going to avoid pops, clicks, and xruns? --> // connection that's not between two computers ==> // connection between two computers It is assumed that the computer that has speakers runs both JACK server and JACK clients that conne...
by crocket
Tue Aug 06, 2019 5:27 pm
Forum: System Tuning and Configuration
Topic: [OBSOLETE] Don't bridge ALSA and JACK through ALSA loopback and alsa_in.
Replies: 11
Views: 309

Re: Don't bridge ALSA and JACK through ALSA loopback and alsa_in. There's a better way.

It seems that sending audio via line-out and line-in is the only reliable way.

S/PDIF has clock synchronization issue that I may not be able to fix. line-out and line-in don't have such synchronization issue.

I am looking into Behringer U-Control UCA202 or UCA222.
by crocket
Tue Aug 06, 2019 5:11 pm
Forum: System Tuning and Configuration
Topic: [OBSOLETE] Don't bridge ALSA and JACK through ALSA loopback and alsa_in.
Replies: 11
Views: 309

Re: Don't bridge ALSA and JACK through ALSA loopback and alsa_in. There's a better way.

That's strange, because Pulseaudio does a similar redirection for ALSA clients somewhere in /usr/share/alsa. Did you try to install Pulseaudio and jack-sink? On my PCs the redirection ALSA -> Pulseaudio -> jack works flawlessly. For example the squeezelite audioplayer outputs to ALSA, gets redirect...
by crocket
Tue Aug 06, 2019 4:43 pm
Forum: System Tuning and Configuration
Topic: [OBSOLETE] Don't bridge ALSA and JACK through ALSA loopback and alsa_in.
Replies: 11
Views: 309

Re: Don't bridge ALSA and JACK through ALSA loopback and alsa_in. There's a better way.

Is it possible to run alsa_in on S/PDIF optical in and avoid xruns, pops, or clicks from clock jitter?

Go to advanced search