Thank you for your donation!


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


Solved: Conv filter in CDSP semi-crashes Moode
#1
Wink 
Wonderful software, has made me somewhat obsessed...

On a fresh installation of 9.0.8 I upload one single wav file to CamillaDSP (attached, 32 PCM float 44100 Hz, 513 kB, 1,5s) and create a conv filter with it in a new CDSP config with nothing else in it. CamillaDSP can plot the FR of the IR just fine.

Soon after Moode semi-crashes by not responding to the menu buttons under Configure (Library, Audio, Network, System MPD, CamillaDSP and so on). Only the Clock Radio btutton works. The camilladsp config choice button next to the "m" in the top right corner typically disappears (have tried this whole process maybe four times). I can still reach camilladsp through port 15000 and it is running, even though the "Audio Information/Playback" in Moode says it is not.

The only way to get it all working again seems to be a fresh (re)install.

Everything else is working great, is my wav file somehow incompatible/broken? It opens fine in REW. I have made sure to use simple short names of files and configs and no special characters.

I use a Raspberry Pi 3B, original PSU and a Sandisk 32 GB SD card.

 Thank you


Attached Files
.zip   DRCLRNereefterEQ.zip (Size: 49.4 KB / Downloads: 3)
Reply
#2
Did you do a restore?

I think this might be (at minimum) a bug in the restore routine for a particular param. Run the command below and let me know the result.

Code:
moodeutl -q "UPDATE cfg_system SET value=replace(value, ';', ',') WHERE param='camilladsp_quickconv'"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(09-01-2024, 10:53 PM)Tim Curtis Wrote: Did you do a restore?

I think this might be (at minimum) a bug in the restore routine for a particular param. Run the command below and let me know the result.

Code:
moodeutl -q "UPDATE cfg_system SET value=replace(value, ';', ',') WHERE param='camilladsp_quickconv'"
Nope, no restore. (I have previously had the same issue with unresponsive menu buttons from restores, though.)

I ran the suggested command and it was accepted, did not yield a response (in SSH command prompt) and also no change in behavior (still unresponsive menu buttons). Restart changed nothing.
Reply
#4
The bug involves two more files. I'll post a patch later this morning.

If the SQL update was successful it won't return anything.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
Give this a try and then reboot.

Code:
sudo wget -q https://raw.githubusercontent.com/moode-player/moode/develop/www/inc/cdsp.php -O /var/www/inc/cdsp.php

sudo wget -q https://raw.githubusercontent.com/moode-player/moode/develop/www/inc/autocfg.php -O /var/www/inc/autocfg.php

moodeutl -q "UPDATE cfg_system SET value=replace(value, ';', ',') WHERE param='camilladsp_quickconv'"

moodeutl -q "UPDATE cfg_system SET value=replace(value, '''', '') WHERE param='camilladsp_quickconv'"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
(09-02-2024, 02:19 PM)Tim Curtis Wrote: Give this a try and then reboot.

Code:
sudo wget -q https://raw.githubusercontent.com/moode-player/moode/develop/www/inc/cdsp.php -O /var/www/inc/cdsp.p

sudo wget -q https://raw.githubusercontent.com/moode-player/moode/develop/www/inc/autocfg.php -O /var/www/inc/autocfg.php

moodeutl -q "UPDATE cfg_system SET value=replace(value, ';', ',') WHERE param='camilladsp_quickconv'"

moodeutl -q "UPDATE cfg_system SET value=replace(value, '''', '') WHERE param='camilladsp_quickconv'"

Thanks. It did not work to release the already faulty installation from its dizzy spell, so I made a fresh sd card with 9.0.8, ran the commands above and restarted. Set up a new CDSP config with my .wav IR. It all seemed to work, the dsp process was running and I could navigate the menues fine. Then I activated resampling with sox in the MPD menu and the "semi-crash" with unresponsive menu buttons sadly happened again.
Reply
#7
I'm not able to repro the camilla + sox = semi crash.

Tested a couple of times with Camilla Quickconv and SoX and no issues whatsoever.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
(09-02-2024, 06:47 PM)Tim Curtis Wrote: I'm not able to repro the camilla + sox = semi crash.

Tested a couple of times with Camilla Quickconv and SoX and no issues whatsoever.

I tried again (new install, ran the commands, restarted) and this time the menu buttons stopped working when I attempted to change the Audio/Output device, after having set up a new CDSP config like before.. So it seems more general and not related to resampling.
Reply
#9
One theory was that some .wav IR files were somehow inappropriate but I have now tested three different ones, both 32 bit float and 16 bit signed, issue persists identically.
Reply
#10
Maybe its time to post a startup log, just to rule out some stuff?
----------------
Robert
Reply


Forum Jump: