Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


moode audio with dac8x and camilladsp
#1
Hi!
I want to make moode audio work with a raspberry pi 5 and dac8x.
as i am a total noob on linux this is quite a challange Big Grin

when i run aplay -l
i get this result.

card 0: sndrpihifiberry [snd_rpi_hifiberry_dac8x], device 0: HifiBerry DAC8x HiFi pcm5102a-hifi-0 [HifiBerry DAC8x HiFi pcm5102a-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Then i have tried to copy the example crossover to make a 2-way speaker (this is exactly what i cant to make, i just need to configure all the values later)

---
title: Example crossover
description: An example of a simple 2-way crossover
devices:
  samplerate: 44100
  chunksize: 1024
  capture:
    type: File
    channels: 2
    filename: /dev/stdin
    format: S32LE
  playback:
    type: Alsa
    channels: 2
    device: hw:0,0
    format: S32LE
  volume_ramp_time: 150
mixers:
  to4chan:
    description: Expand 2 channels to 4
    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
        inverted: false
    - dest: 3
      sources:
      - channel: 1
        gain: -5
        inverted: false


filters:
  highpass2k:
    type: Biquad
    description: 2nd order highpass crossover
    parameters:
      type: Highpass
      freq: 2000
      q: 0.707
  lowpass2k:
    type: Biquad
    description: 2nd order lowpass crossover
    parameters:
      type: Lowpass
      freq: 2000
      q: 0.707
  bafflestep:
    type: Biquad
    description: Baffle step compensation
    parameters:
      type: Highshelf
      freq: 500
      slope: 6
      gain: -4
  tweeterdelay:
    type: Delay
    description: Time alignment for tweeters
    parameters:
      delay: 0.5
      unit: ms
pipeline:
- type: Filter
  description: Pre-mixer filters left
  channel: 0
  names:
  - bafflestep
- type: Filter
  description: Pre-mixer filters right
  channel: 1
  names:
  - bafflestep
- type: Mixer
  name: to4chan
- type: Filter
  description: Highpass for left tweeter
  channel: 2
  names:
  - highpass2k
  - tweeterdelay
- type: Filter
  description: Highpass for right tweeter
  channel: 3
  names:
  - highpass2k
  - tweeterdelay
- type: Filter
  description: Lowpass for left woofer
  channel: 0
  names:
  - lowpass2k
- type: Filter
  description: Lowpass for right woofer
  channel: 1
  names:
  - lowpass2k


For some reason the playback channel section alters the number of channels from four to two.
Thanks/Andreas from Sweden
Reply
#2
I would ask in the main CamillaDSP thread at diyAudio.
https://www.diyaudio.com/community/threa...st-7845952

People post their configs / questions and get lots of help :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(11-17-2024, 10:23 PM)Tim Curtis Wrote: I would ask in the main CamillaDSP thread at diyAudio.
https://www.diyaudio.com/community/threa...st-7845952

People post their configs / questions and get lots of help :-)

Thanks! It was solved by add all eight channels to the mixer
Reply
#4
Nice :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: