03-22-2021, 09:28 PM
@lurkio maybe it easier; try to use the HDMI 7.1 output with a HDMI 7.1 audio extractor.
I'm not sure if it really works, but for arround $50 you can buy a cheap quality device to see if it works at all.
And if so buy another device to upgrade the sound quality to the required level. (like http://www.cypeurope.com/store/store/app....2-HDMI2.0 ).
With 8x channels the max samplerate is limited.
I tried the following procedure on my Pi 4, but I have no mini hdmi cable or audioextractor to verify if the audio plays correct:
The crossover example config taken from the camilladsp site:
I'm not sure if it really works, but for arround $50 you can buy a cheap quality device to see if it works at all.
And if so buy another device to upgrade the sound quality to the required level. (like http://www.cypeurope.com/store/store/app....2-HDMI2.0 ).
With 8x channels the max samplerate is limited.
I tried the following procedure on my Pi 4, but I have no mini hdmi cable or audioextractor to verify if the audio plays correct:
- Activate HDMI as active output device
- Create new crossover.yml config with the example below
- Upload the crossover.yml with upload button on the moode camilladsp config screen
- Active the crossover configuration and press save
- After that toggle the default device button to off and save
- At the pipeline editor section
- Toggle expert mode to on
- Toggle status to on
- Open the editor
- In the playback device settings, change the channels from 2 tot 4
- Connect with mini hdmi to hdmi cable to a hdmo 7.1 audio extractor.
- If you now play music, you will see at the audio multichannel output is active
The crossover example config taken from the camilladsp site:
Code:
---
devices:
samplerate: 44100
chunksize: 1024
capture:
type: Alsa
channels: 2
device: "hw:Loopback,0,0"
format: S16LE
playback:
type: Alsa
channels: 4
device: "hw:0"
format: S16LE
mixers:
to4chan:
channels:
in: 2
out: 4
mapping:
- dest: 0
sources:
- channel: 0
gain: 0
inverted: false
- dest: 1
sources:
- channel: 1
gain: 0
inverted: false
- dest: 2
sources:
- channel: 0
gain: -5.0
inverted: false
- dest: 3
sources:
- channel: 1
gain: -5.0
inverted: false
filters:
highpass2k:
type: Biquad
parameters:
type: Highpass
freq: 2000
q: 0.707
lowpass2k:
type: Biquad
parameters:
type: Lowpass
freq: 2000
q: 0.707
bafflestep:
type: Biquad
parameters:
type: Highshelf
freq: 500
slope: 6.0
gain: -4.0
pipeline:
- type: Mixer
name: to4chan
- type: Filter
channel: 2
names:
- highpass2k
- type: Filter
channel: 3
names:
- highpass2k
- type: Filter
channel: 0
names:
- lowpass2k
- bafflestep
- type: Filter
channel: 1
names:
- lowpass2k
- bafflestep