06-15-2023, 03:25 AM
OK! Here goes:
I burned a fresh image on my sdhc and fired it up. After nominating the ProtoDAC as the active device I rebooted as required, producing the following output from moodutl -l:
I then saved the 'ProtoDAC VC.yml' file contents to a text file and copied it to /usr/share/camilladsp/configs. I did it this way to avoid any software that might interact with a .yml file on the way to the RPi 4. using ssh, I then went to the configs directory created an empty file named 'ProtoDAC VC.yml' and ran 'cat 'ProtoDAC VC.txt' > 'ProtoDAC VC.yml'. Which, captured from the screen, is shown below:
Next, I ran 'Update library' to make the LR Channel and Phase file available and played it successfully. (without loading the config file in CamillaDSP.) Next I loaded the 'ProtoDAC VC.yml' In the 'General> signal processing' box of CDSP menu, saved it, and it completed the loading without error. Then, without playing the file, I looked at 'ProtoDAC VC.yml' and it was truncated as shown next:
Then, attempting to play LR Channel and Phase, I got the error "MPD Error failed to open audio output" The captured /var/log/mpd/log is as shown:
I did not nominate the same config file in the pipline editor slot. Should I do so?
Hopefully my efforts to pare this issue down so there are fewer possible causes to chase will help.
Thanks again for your help,
Skip
I burned a fresh image on my sdhc and fired it up. After nominating the ProtoDAC as the active device I rebooted as required, producing the following output from moodutl -l:
Code:
moodeutl -l
20230614 181111 worker: --
20230614 181111 worker: -- Start moOde 8 series
20230614 181111 worker: --
20230614 181111 worker: Successfully daemonized
20230614 181111 worker: Waiting for Linux startup...
20230614 181123 worker: Linux startup complete
20230614 181123 worker: Boot config backed up
20230614 181125 worker: File check (OK)
20230614 181126 worker: Session vacuumed
20230614 181126 worker: Session loaded
20230614 181126 worker: Debug logging (OFF)
20230614 181126 worker: --
20230614 181126 worker: -- Audio debug
20230614 181126 worker: --
20230614 181126 worker: ALSA cards: (0:sndrpirpidac | 1:empty | 2:empty | 3:empty
20230614 181126 worker: MPD config: (0:ProtoDAC TDA1387 X8 | mixer:(PCM) | card:0)
20230614 181126 worker: ALSA mixer actual (none)
20230614 181127 worker: ALSA volume (none)
20230614 181127 worker: --
20230614 181127 worker: -- System
20230614 181127 worker: --
20230614 181128 worker: Host (moode)
20230614 181128 worker: Hardware (Pi-4B 1.1 4GB)
20230614 181128 worker: moOde (8.3.3 2023-06-08)
20230614 181128 worker: RaspiOS (11.7)
20230614 181128 worker: Kernel (6.1.21-v8+ #1642)
20230614 181128 worker: Procarch (aarch64, 64-bit)
20230614 181128 worker: MPD ver (0.23.12)
20230614 181128 worker: CPU gov (ondemand)
20230614 181128 worker: Userid (spack)
20230614 181128 worker: Homedir (/home/spack)
20230614 181128 worker: Timezone (America/Los_Angeles)
20230614 181128 worker: Keyboard (us)
20230614 181128 worker: USB boot (enabled)
20230614 181128 worker: File sys (expanded)
20230614 181128 worker: HDMI port (On)
20230614 181128 worker: Sys LED0 (On)
20230614 181128 worker: Sys LED1 (On)
20230614 181128 worker: --
20230614 181128 worker: -- Network
20230614 181128 worker: --
20230614 181128 worker: eth0 adapter exists
20230614 181128 worker: eth0 address check (Off)
20230614 181128 worker: IP addr (192.168.1.3)
20230614 181128 worker: Netmask (255.255.255.0)
20230614 181129 worker: Gateway (192.168.1.1)
20230614 181129 worker: Pri DNS (192.168.1.1)
20230614 181129 worker: Domain (lan)
20230614 181129 worker: wlan0 adapter exists
20230614 181129 worker: wlan0 country (US)
20230614 181129 worker: wlan0 configured SSID (4Pi_one)
20230614 181129 worker: wlan0 SSID alternates (None)
20230614 181129 worker: wlan0 router mode (Off)
20230614 181129 worker: wlan0 address check (up to 90 secs)
20230614 181318 worker: wlan0 address not assigned
20230614 181318 worker: wlan0 AP mode not activated, eth0 active but Router mode is Off
20230614 181318 worker: wlan0 address not assigned
20230614 181319 worker: --
20230614 181319 worker: -- Software update
20230614 181319 worker: --
20230614 181319 worker: Automatic check (Off)
20230614 181319 worker: --
20230614 181319 worker: -- Audio config
20230614 181319 worker: --
20230614 181319 worker: MPD conf updated
20230614 181319 worker: ALSA card number (0)
20230614 181319 worker: MPD audio output (ProtoDAC TDA1387 X8)
20230614 181319 worker: Audio formats (S16_LE, S24_LE)
20230614 181319 worker: ALSA mixer name (none)
20230614 181319 worker: MPD mixer type (software)
20230614 181319 worker: Hdwr volume controller not detected
20230614 181319 worker: ALSA output mode (Default: plughw)
20230614 181319 worker: ALSA loopback (Off)
20230614 181319 worker: Reset renderer active flags
20230614 181319 worker: CamillaDSP configuration (off)
20230614 181319 worker: CamillaDSP volume sync (Off)
20230614 181319 worker: CamillaDSP volume range (60 dB)
20230614 181319 worker: --
20230614 181319 worker: -- File sharing
20230614 181319 worker: --
20230614 181319 worker: SMB file sharing (Off)
20230614 181319 worker: NFS file sharing (Off)
20230614 181319 worker: --
20230614 181319 worker: -- MPD startup
20230614 181319 worker: --
20230614 181320 worker: MPD started
20230614 181320 worker: MPD accepting connections
20230614 181320 worker: MPD output 1 ALSA Default (On)
20230614 181320 worker: MPD output 2 ALSA Bluetooth (Off)
20230614 181320 worker: MPD output 3 HTTP Server (Off)
20230614 181320 worker: MPD crossfade (off)
20230614 181320 worker: MPD ignore CUE files (yes)
20230614 181320 worker: Default playlist loaded for first boot
20230614 181320 worker: --
20230614 181320 worker: -- Music sources
20230614 181320 worker: --
20230614 181320 worker: USB sources
20230614 181320 worker: No drives found
20230614 181320 worker: NAS sources
20230614 181320 worker: None configured
20230614 181320 worker: --
20230614 181320 worker: -- Feature availability
20230614 181320 worker: --
20230614 181320 worker: Input select (available)
20230614 181320 worker: Input (MPD)
20230614 181320 worker: Output (ProtoDAC TDA1387 X8)
20230614 181320 worker: Bluetooth (available)
20230614 181320 worker: AirPlay renderer (available)
20230614 181320 worker: Spotify renderer (available)
20230614 181320 worker: Squeezelite (available)
20230614 181320 worker: RoonBridge renderer (not installed)
20230614 181320 worker: Multiroom sender (available)
20230614 181320 worker: Multiroom receiver (available)
20230614 181320 worker: UPnP renderer (available)
20230614 181320 worker: DLNA server (available)
20230614 181320 worker: GPIO button handler (available)
20230614 181320 worker: Stream recorder (available: not installed)
20230614 181320 worker: HTTPS-Only mode (n/a)
20230614 181320 worker: --
20230614 181320 worker: -- Other
20230614 181320 worker: --
20230614 181320 worker: USB volume knob (Off)
20230614 181320 worker: USB auto-mounter (udisks-glue)
20230614 181320 worker: Saved MPD vol level (0)
20230614 181320 worker: Preamp volume level (0)
20230614 181320 worker: MPD volume level (0) restored
20230614 181320 worker: ALSA volume level (None)
20230614 181320 worker: Auto-play (Off)
20230614 181321 worker: LocalUI (Off)
20230614 181321 worker: Automatic CoverView (Off)
20230614 181321 worker: On-screen keyboard (Off)
20230614 181321 worker: Library scope (all)
20230614 181321 worker: View reset to playback
20230614 181321 worker: Maintenance interval (360 minutes)
20230614 181321 worker: Screen saver activation (Never)
20230614 181321 worker: Session permissions (OK)
20230614 181321 worker: --
20230614 181321 worker: -- Startup complete
20230614 181321 worker: --
20230614 181321 worker: Mount monitor (off)
20230614 181321 worker: Watchdog monitor (started)
20230614 181321 worker: Ready
I then saved the 'ProtoDAC VC.yml' file contents to a text file and copied it to /usr/share/camilladsp/configs. I did it this way to avoid any software that might interact with a .yml file on the way to the RPi 4. using ssh, I then went to the configs directory created an empty file named 'ProtoDAC VC.yml' and ran 'cat 'ProtoDAC VC.txt' > 'ProtoDAC VC.yml'. Which, captured from the screen, is shown below:
Code:
cat 'ProtoDAC VC.yml'
---
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
...
Next, I ran 'Update library' to make the LR Channel and Phase file available and played it successfully. (without loading the config file in CamillaDSP.) Next I loaded the 'ProtoDAC VC.yml' In the 'General> signal processing' box of CDSP menu, saved it, and it completed the loading without error. Then, without playing the file, I looked at 'ProtoDAC VC.yml' and it was truncated as shown next:
Code:
cat 'ProtoDAC VC.yml'
---
devices:
capture:
type: File
channels: 2
filename: /dev/stdin
format: S24LE
playback:
type: Alsa
channels: 2
device: plughw:0,0
format: S24LE
...
Code:
cat /var/log/mpd/log
Jun 14 18:10 : update: added SDCARD/Stereo Test/LRMonoPhase4.flac
Jun 14 18:26 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
Jun 14 18:27 : player: played "SDCARD/Stereo Test/LRMonoPhase4.flac"
2023-06-15 01:31:04.401349 INFO [src/bin.rs:711] CamillaDSP version 1.0.3
2023-06-15 01:31:04.401529 INFO [src/bin.rs:712] Running on linux, aarch64
2023-06-15 01:31:04.402360 ERROR [src/bin.rs:777] Invalid config file!
devices: missing field `samplerate` at line 3 column 10
Jun 14 18:31 : output: Failed to play on "ALSA Default" (alsa): snd_pcm_poll_descriptors_revents() failed: No such device
Jun 14 18:31 : exception: Failed to open audio output
no pid file present!
ALSA lib libasound_module_pcm_cdsp.c:869:(cdsp_hw_free) Error executing camilla_exit_cmd /usr/local/bin/cdspstorevolume
I did not nominate the same config file in the pipline editor slot. Should I do so?
Hopefully my efforts to pare this issue down so there are fewer possible causes to chase will help.
Thanks again for your help,
Skip