diyAudio

diyAudio (https://www.diyaudio.com/forums/index.php)
-   PC Based (https://www.diyaudio.com/forums/pc-based/)
-   -   Pulseaudio Crossover Rack - multi-way crossover design & implementation with linux (https://www.diyaudio.com/forums/pc-based/330273-pulseaudio-crossover-rack-multi-crossover-design-implementation-linux.html)

phofman 28th August 2019 05:18 PM

Quote:

Originally Posted by Tfive (https://www.diyaudio.com/forums/pc-based/330273-pulseaudio-crossover-rack-multi-crossover-design-implementation-linux-post5898818.html#post5898818)
Actually adaptive resampling is only ever needed in case of loopback or combine, where the hardware clocks of the source and sink (in case of loopback) or the two sinks (in case of combine) may differ slightly over time.

What if your source is timed to another clock? Recording from a second soundcard, USB-audio gadget (OTG) output, incoming SPDIF signal, etc.?

Tfive 28th August 2019 05:20 PM

Well, then you are using a loopback module which does the adaptive resampling, right?

phofman 28th August 2019 05:22 PM

That would be very good, can you use the loopback module with your config? I thought that was direct loopback from alsa source to alsa sink. Maybe not, I really do not know PA well.

Tfive 28th August 2019 05:31 PM

Modules

You can specify both the source and the sink which you want to connect. source would then be your capture device, i.e. a soundcard with SPDIF input or the gadget. Sink would then be PaXoverRack.Input, it's always named the same.

EDIT: Please note that the statement setting up the loopback module must come after all the stuff that PaXoverRack sets up.

phofman 28th August 2019 05:40 PM

:up: thanks for explanation. Then the USB-audio gadget would work with your setup without any extra work on your side.

Still LOTS of corner issues to iron out for the gadget to become fully usable, though.

DarpMalone 29th August 2019 01:41 AM

Quote:

Originally Posted by DarpMalone (https://www.diyaudio.com/forums/pc-based/330273-pulseaudio-crossover-rack-multi-crossover-design-implementation-linux-post5898143.html#post5898143)
Well, I've been playing music in JRiver from local files, streaming from the NAS, Streaming via DLNA as well as streaming bluetooth from my phone to Lubuntu for the past hour without a glitch. It looks like adding the tsched=0 did the trick!

I love your PaXoverRack software!
Thanks again Tfive


Unfortunately, something that I noticed with the new tsched=0 setting, when PulseAudio has been sitting idle for a couple minutes and then I play audio, regardless of the input source, the audio begins with the output channels completely out of sync, and slowly syncs up. It takes about 40s but once it locks up it stays locked until the next time it sits idle for a few minutes.

This is happening with the Atomic Pi running Lubuntu

Tfive 29th August 2019 01:37 PM

We'll have to deal with workarounds in the time it takes to debug the issue with pulseaudio and ladspa sinks etc...

Meanwhile you can try commenting the line "load-module module-suspend-on-idle" in the default.pa to prevent pulseaudio to suspend your soundcard sinks. I suspect this will prevent the issue after idle.

Please chime and confirm the bug here: (!)
Playback heavily out of sync with ASUS Xonar U5 and U7 without tsched=0 (#651) * Issues * PulseAudio / pulseaudio * GitLab
Please also share your configuration there.

DarpMalone 30th August 2019 08:12 PM

Quote:

Originally Posted by Tfive (https://www.diyaudio.com/forums/pc-based/330273-pulseaudio-crossover-rack-multi-crossover-design-implementation-linux-post5899618.html#post5899618)
We'll have to deal with workarounds in the time it takes to debug the issue with pulseaudio and ladspa sinks etc...

Meanwhile you can try commenting the line "load-module module-suspend-on-idle" in the default.pa to prevent pulseaudio to suspend your soundcard sinks. I suspect this will prevent the issue after idle.

Please chime and confirm the bug here: (!)
Playback heavily out of sync with ASUS Xonar U5 and U7 without tsched=0 (#651) * Issues * PulseAudio / pulseaudio * GitLab
Please also share your configuration there.

That thread is closed now. I'm about to read through it all the same.

Thanks again Tfive

Tfive 30th August 2019 08:35 PM

It's not reopened as of now, because I failed to meet the debugging requirements of the PA developer a few months back. I'm trying to come up with a minimal case to reproduce this issue, which is not at all trivial. There are a lot of variables involved: sample format, sample rate, number of ladspa plugins, number of splitters (modeled as combine-sink modules) etc...

It would certainly help if you just commented and told them you are affected, too! There can still be comments on "closed" issues. Expect it to be reopened soon, as I will do a whole lot of boresome debugging setup tomorrow :/

I'm off to bed soon though doday... Hopefully.

DarpMalone 30th August 2019 08:46 PM

Just noticed that I could still comment so i did a few minutes ago.

Thanks


All times are GMT. The time now is 04:17 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 17.65%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Copyright ©1999-2021 diyAudio

Wiki