Hi Henrik,@jheoaustin I see no reason why this would not work. CamillaDSP can do all the splitting/filtering/summing you mention.
I have no experience with Dirac. IIUC then it presents a virtual soundcard that you use as output device. It outputs the processed sound to another device of your choice. If you let it output to Blackhole and let CamillaDSP capture from that it should work. Don't know what latency to expect though since it's a fairly long chain.
Thank you very much for your positive reply, and also for your great effort and contribution of CamillaDSP. I will look into options of completing a system with CamillaDSP at the center. It's a long latency process, but I seem to be insensitive to A/V sync problem, so I think it should be fine.
BTW, Did you mean CamillaDSP or Dirac by "it" when you said "it presents" and "It outputs"? Dirac seems to work mostly as a plugin(VST/AAX/AU), so I guess its use flexibility is a bit limited. I wish I could use Dirac plugin from CamillaDSP or some other S/W, and somehow create a virtual audio output device that actually takes the input from source player apps, process Dirac and my own crossover, and output to the actual output device for the USB DAC.
Aha! I did an enquire on how to catch who dose the process killing on a Mac forum (but no luck there) but one comment was that Soundflower wasn't developed any ore since a couple of years as opposed to Blackhole... my installs are not able to run for more than a few days now.
Perhaps I should try Blackhole and see if the situation improves...?
//
Perhaps I should try Blackhole and see if the situation improves...?
//
I meant Dirac. See here: https://confluence.dirac.services/plugins/servlet/mobile?contentId=159566914#content/view/159566914Did you mean CamillaDSP or Dirac by "it" when you said "it presents" and "It outputs"? Dirac seems to work mostly as a plugin(VST/AAX/AU), so I guess its use flexibility is a bit limited.
Camilladsp does not support plugins.
Yes makes sense to try. SoundFlower hasn't seen any updates in a long time and the way it's implemented via a kernel extension is deprecated.Perhaps I should try Blackhole and see if the situation improves...?
Hi Henrik,
Thank you very much for your help again. I tried to install it on my MacBook Air, and I encountered an error in running the downloaded binary:
2023-03-24 03:58:48.521481 INFO [src/bin.rs:711] CamillaDSP version 1.0.3
2023-03-24 03:58:48.521736 INFO [src/bin.rs:712] Running on macos, aarch64
2023-03-24 03:58:48.524045 ERROR [src/bin.rs:777] Invalid config file!
devices.capture.type: unknown variant
Could you lead me to the right path?
Regards,
Jay
Thank you very much for your help again. I tried to install it on my MacBook Air, and I encountered an error in running the downloaded binary:
2023-03-24 03:58:48.521481 INFO [src/bin.rs:711] CamillaDSP version 1.0.3
2023-03-24 03:58:48.521736 INFO [src/bin.rs:712] Running on macos, aarch64
2023-03-24 03:58:48.524045 ERROR [src/bin.rs:777] Invalid config file!
devices.capture.type: unknown variant
Alsa
, expected one of File
, Stdin
, CoreAudio
at line 8 column 11Could you lead me to the right path?
Regards,
Jay
I think what happens is that the default installation assumes a Windows environment i.e. Alsa etc which is not recognised on a Mac. One can start Camilla to do default or wait for configuration at a later stage... waiting, which I think will fix your problem, looks like:
./camilladsp -v -w -p 1234
Then you use the command interface or GUI (web browser) to set up Camilla at a later stage.
//
./camilladsp -v -w -p 1234
Then you use the command interface or GUI (web browser) to set up Camilla at a later stage.
//
You will need to create a configuration file for your system. You can use the gui as TNT suggested, or just do it manually. I would suggest to create a simple one manually first. Use a good text editor that can help with the yaml syntax. This one for example: https://code.visualstudio.com/2023-03-24 03:58:48.524045 ERROR [src/bin.rs:777] Invalid config file!
Start by checking the main camilladsp readme. Then read the macos-specific one here:
https://github.com/HEnquist/camilladsp/blob/master/backend_coreaudio.md
Then you can check the step-by-step giude on how to build an example config: https://github.com/HEnquist/camilladsp/blob/master/stepbystep.md
Thank you very much, TNT and Henrik,
I confirmed today that DiracLiveProcessor creates a virtual audio output device and Audirvana and VLC can choose it to output the audio. I hope that DiracLiveProcessor can choose the device CamillaDSP creates for its input.
I was able to try TNT's suggestion using -w option, but it didn't seem to create any output device, maybe due to the lack of a config file. I tried to use the web GUI editor, but the browser said the web page at the URL didn't send out any data. I will try the manual config later, but I think I will need the GUI functionality. Looking forward to a further help.
I confirmed today that DiracLiveProcessor creates a virtual audio output device and Audirvana and VLC can choose it to output the audio. I hope that DiracLiveProcessor can choose the device CamillaDSP creates for its input.
I was able to try TNT's suggestion using -w option, but it didn't seem to create any output device, maybe due to the lack of a config file. I tried to use the web GUI editor, but the browser said the web page at the URL didn't send out any data. I will try the manual config later, but I think I will need the GUI functionality. Looking forward to a further help.
I am getting following errors:
2023-03-25 03:14:47.392059 INFO [src/bin.rs:711] CamillaDSP version 1.0.3
2023-03-25 03:14:47.392104 INFO [src/bin.rs:712] Running on macos, aarch64
2023-03-25 03:14:47.439264 ERROR [src/bin.rs:344] Playback error: Could not find playback device 'hw:Generic_1'
Could you let me know the right name of the playback device?
2023-03-25 03:14:47.392059 INFO [src/bin.rs:711] CamillaDSP version 1.0.3
2023-03-25 03:14:47.392104 INFO [src/bin.rs:712] Running on macos, aarch64
2023-03-25 03:14:47.439264 ERROR [src/bin.rs:344] Playback error: Could not find playback device 'hw:Generic_1'
Could you let me know the right name of the playback device?
I dont know how you run CDSP on your Mac but here is how I start my system:
(One time.. UPDATE SYMLINKS: defaults write -g NSDisableAutomaticTermination -bool no)
Start Terminal.app
I can list the available devices using listdevices-macos-amd64.tar.gz - but I dont know if there is an aarch64 version or where to find it...
Terminal 1
cd /Users/audio1/Documents/Ca+Di/Camilla/gui/pycamilla-10
export PATH=/usr/local/anaconda3/bin:$PATH
source ~/.bash_profile
conda activate camillagui
cd /Users/audio1/Documents/Ca+Di/Camilla/gui/pycamilla-10/camillagui
python main.py
- - - - - -
Terminal 2
cd /Users/audio1/Documents/Ca+Di/Camilla/gui/pycamilla-10/
./camilladsp -v -w -p 1234
- - - - - -
I use Squeezplayer - stop it if running...
Terminal 3
cd /usr/local/bin
./SPstartScript.sh -s
->
Type the number of the max rate to use:
1) 44.1kHz
2) 48kHz
3) 96kHz
4) 192kHz
#? 1
Using 44.1kHz
44100
Type the number of the device to use:
1) Built-in Output 3) Soundflower (64ch)
2) Soundflower (2ch) 4) Digiface USB (24007543)
#? 2
Soundflower (2ch)
Squeezplayer startar!
- - - - - -
In Safari:
localhost:5000
//
(One time.. UPDATE SYMLINKS: defaults write -g NSDisableAutomaticTermination -bool no)
Start Terminal.app
I can list the available devices using listdevices-macos-amd64.tar.gz - but I dont know if there is an aarch64 version or where to find it...
Terminal 1
cd /Users/audio1/Documents/Ca+Di/Camilla/gui/pycamilla-10
export PATH=/usr/local/anaconda3/bin:$PATH
source ~/.bash_profile
conda activate camillagui
cd /Users/audio1/Documents/Ca+Di/Camilla/gui/pycamilla-10/camillagui
python main.py
- - - - - -
Terminal 2
cd /Users/audio1/Documents/Ca+Di/Camilla/gui/pycamilla-10/
./camilladsp -v -w -p 1234
- - - - - -
I use Squeezplayer - stop it if running...
Terminal 3
cd /usr/local/bin
./SPstartScript.sh -s
->
Type the number of the max rate to use:
1) 44.1kHz
2) 48kHz
3) 96kHz
4) 192kHz
#? 1
Using 44.1kHz
44100
Type the number of the device to use:
1) Built-in Output 3) Soundflower (64ch)
2) Soundflower (2ch) 4) Digiface USB (24007543)
#? 2
Soundflower (2ch)
Squeezplayer startar!
- - - - - -
In Safari:
localhost:5000
//
Last edited:
Camilladsp does not create any devices. You need to use BlackHole. Please read this: https://github.com/HEnquist/camilladsp/blob/master/backend_coreaudio.mdI was able to try TNT's suggestion using -w option, but it didn't seem to create any output device, maybe due to the lack of a config file.
Yeah I know. It's already updated in the branch for the version 2.0. I don't want to update anything in the master branch now because then I'll have conflicts when merging 2.0. No big problem, just tedious.
I was able to run it with blackhole and the MacBook speaker. I will try to use actual S/W players and actual filters/configs to try out further. Please understand if I ask some more newbie questions. Thank you very much again for your helps.
No that doesn't look very good. I saw something like this a while back, but only using the pre-built 1.0.1 binary that wascompiled with a nightly compiler. I have not seen it after recompiling with a stable one. It should have been fixed by 1.0.2. Can you try upgrading to 1.0.3? It's built with an even later compiler, could potentially help.
- Home
- Source & Line
- PC Based
- CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc