06-11-2023, 04:08 PM
(06-11-2023, 01:40 AM)Tim Curtis Wrote: You may want to try this CamillaDSP config. It does polarity inversion and uses the nice CamillaDSP volume control with dither for 16 bit.
Copy to "/usr/share/camilladsp/configs/ProtoDAC VC.yml"
Code:devices:
adjust_period: 10
capture:
channels: 2
extra_samples: 0
filename: /dev/stdin
format: S16LE
read_bytes: 0
skip_bytes: 0
type: File
capture_samplerate: 0
chunksize: 4096
enable_rate_adjust: false
enable_resampling: false
playback:
channels: 2
device: hw:0,0
format: S16LE
type: Alsa
queuelimit: 1
rate_measure_interval: 1
resampler_type: Synchronous
samplerate: 44100
silence_threshold: -60
silence_timeout: 3
stop_on_rate_change: false
target_level: 0
filters:
Dither:
parameters:
bits: 16
type: Simple
type: Dither
Volume:
parameters:
ramp_time: 200
type: Volume
mixers:
stereo:
channels:
in: 2
out: 2
mapping:
- dest: 0
mute: false
sources:
- channel: 0
gain: -3
inverted: true
mute: false
- dest: 1
mute: false
sources:
- channel: 1
gain: -3
inverted: true
mute: false
pipeline:
- name: stereo
type: Mixer
- channel: 0
names:
- Volume
type: Filter
- channel: 1
names:
- Volume
type: Filter
- channel: 0
names:
- Dither
type: Filter
- channel: 1
names:
- Dither
type: Filter
Hi Tim,
I created the file and it is recognized when I selected it and the configuration process went without objection. However, songs would not play with an MPD error 'Failed to open audio output'. I expect I'm missing something simple.
Also, a simple question: I have files with a variety of sample rates, bit depths. Mostly flacs with a few mp3s and others. Will this CDSP configuration work on all of them?
thanks,
Skip