The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Solved: Resets camilladsp playback device channels
#1
Hi! I have a problem with moode audio that i can´t solve. When i restart moode audio i have a problem that shows :Failed to open audio output. When i go to check what is wrong i can see that my config has errors that the Pipeline outputs 8 channels, playback device has 2. When i go to camilladsp i can change the channes from two to eight and evertying works. I save and i can play audio, but when i restart i have the same problem. I have attached a video. What is wrong? I have noticed that i choose the same config file under camilladsp settings in moode audio both under General>Signal processing and under File managment>configuration. Is that right?

https://youtu.be/zRGqwDwmY-g

This is the yaml file for the camilladsp

Code:
description: An example of a simple 2-way crossover
devices:
 adjust_period: null
 capture:
   channels: 2
   extra_samples: null
   filename: /dev/stdin
   format: S32LE
   read_bytes: null
   skip_bytes: null
   type: File
 capture_samplerate: null
 chunksize: 1024
 enable_rate_adjust: null
 playback:
   channels: 8
   device: plughw:0,0
   format: S32LE
   type: Alsa
 queuelimit: null
 rate_measure_interval: null
 samplerate: 44100
 silence_threshold: null
 silence_timeout: null
 stop_on_rate_change: null
 target_level: null
 volume_ramp_time: 150
filters:
 bafflestep:
   description: Baffle step compensation
   parameters:
     freq: 500
     gain: -4
     slope: 6
     type: Highshelf
   type: Biquad
 highpass2k:
   description: 2nd order highpass crossover
   parameters:
     freq: 2000
     q: 0.707
     type: Highpass
   type: Biquad
 lowpass2k:
   description: 2nd order lowpass crossover
   parameters:
     freq: 2000
     q: 0.707
     type: Lowpass
   type:   tweeterdelay:
   description: Time alignment for tweeters
   parameters:
     delay: 0.5
     subsample: null
     unit: ms
   type: Delay
mixers:
 to4chan:
   channels:
     in: 2
     out: 8
   description: Expand 2 channels to 8
   mapping:
   - dest: 0
     mute: null
     sources:
     - channel: 0
       gain: 0
       inverted: false
       mute: null
       scale: null
   - dest: 1
     mute: null
     sources:
     - channel: 1
       gain: 0
       inverted: false
       mute: null
       scale: null
   - dest: 2
     mute: null
     sources:
     - channel: 0
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 3
     mute: null
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null

   - dest: 4
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 5
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 6
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
   - dest: 7
     mute: true
     sources:
     - channel: 1
       gain: -5
       inverted: false
       mute: null
       scale: null
pipeline:
- bypassed: null
 channel: 0
 description: Pre-mixer filters left
 names:
 - bafflestep
 type: Filter
- bypassed: null
 channel: 1
 description: Pre-mixer filters right
 names:
 - bafflestep
 type: Filter
- bypassed: null
 description: null
 name: to4chan
 type: Mixer
- bypassed: null
 channel: 2
 description: Highpass for left tweeter
 names:
 - highpass2k
 - tweeterdelay
 type: Filter
- bypassed: null
 channel: 3
 description: Highpass for right tweeter
 names:
 - highpass2k
 - tweeterdelay
 type: Filter
- bypassed: null
 channel: 0
 description: Lowpass for left woofer
 names:
 - lowpass2k
 type: Filter
- bypassed: null
 channel: 1
 description: Lowpass for right woofer
 names:
 - lowpass2k
 type: Filter
processors: null
title: Example crossover
Reply


Messages In This Thread
Resets camilladsp playback device channels - by ma00aem - 01-26-2025, 04:19 PM

Forum Jump: