Thank you for your donation!


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


Solved: Updated to 9.2.4 - CamillaDSP problems
#31
From the documentation
https://github.com/HEnquist/camilladsp?t...v-file#fir

Code:
The filename field should hold the path to the coefficient file. Using the absolute path is recommended in most cases.

If a relative path is given it will first try to find the file relative to the config file path. If it's not found there, the path is assumed to be relative to the current working directory. Note that this only applies when the config is loaded from a file. When a config is supplied via the websocket server only the current working dir of the CamillaDSP process will be searched.

So based on the docs I don't think camilla can find this file.
filename: L-F1-Feb19-$samplerate$.wav

Maybe put it in the coeffs directory and then filename: ../coeffs/L-F1-Feb19-$samplerate$.wav
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#32
(03-03-2025, 09:12 PM)tonywsea Wrote: yes and no. When I add them using the filter editor, the file selector allows me to pick it.  Then I change it to $samplerate$ and that is accepted. Then when I save the config that i sok.  But when I load it I see filter errors and that is where I see it looking for the files in ..../configs and cant find them.
I would prefer to have sub-directories where I can store all the filters assocuiated with a config file but I'm wary to go that step until this is solved.

But I frame all this with the thought that once a config file load fails - which had already happened - other strange things such as config selector in Moode disappears and nothing will reset things - even re-boot.

I suspect what is happening is that once my faulty config file failed previous to this sequence, it shuts down some camilladsp gui service and is writing some state information into a config file.  That seems to me the only way it can't recover even on a re-boot.

I am gong to re-flash the sdcard with 9.2.5 tonight and run the convert config function on it and then see if it loads.  If the gui fails again, I guess we have a faulty config that is not being properly converted.  If it runs then yaay!

I am generating the configs from Python based on designing sets of filters.  Once I find what the problems are, I can make any changes required.  I believe I saw a function in pycamilladsp to be able to check a config.  I might try that as a part of this investigation.  Its a question of time as it is for all of us.

Thanks so much.

I did a fresh install 9.2.5

From Moode, when I check the config this error:

 [url=http://moode.local/cdsp-config.php#notarget][/url][color=var(--config-help-color)] Configuration is not valid
Invalid filter 'l-f1'. Reason: No such file or directory (os error 2)

[/color]I try to upgrade and will not die to errors
Here is the config snip:

filters:
  l-f1:
    description: null
    parameters:
      channel: 0
      filename: /usr/share/camilladsp/coeffs/L-F1-Feb19-$samplerate$.wav
      type: Wav
    type: Conv
  l-f10:

I tried also with L-F1-Feb19-$samplerate$.wav same error.

I verify that the files are indeed there.

AHHH!!! Could be that the $samplerate$ notation is being treated as a literal filename by the config checker? It might need to verify that at least one file of name L-F1-Dec19-[44100...384000].wav file was there.  Or - let it pass through and catch it at run-time - subject to the gui crashing.

I will hold off on directly loading it as it will likely crash the gui - until I have have heard back.
Reply


Forum Jump: