CamillaDSP IIR format output?

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
The CamillaDSP - https ... github.com/HEnquist/camilladsp#introduction

has started to attract a lot of attention.

This is a request for support of the CamillaDSP text format for IIR PEQ - to be outputted by REWs EQ function.

The format is described here:



It would be a great help.

Thanks!
 
Last edited by a moderator:

ddude003

AV Addict
Joined
Aug 13, 2017
Messages
1,560
Location
Somewhere Northeast of Kansas City Missouri
More  
Preamp, Processor or Receiver
PrimaLuna Dialogue Premium TubePre (2 channel+sub)
Main Amp
McIntosh MC152 SS Amp (2 channel)
Additional Amp
Yamaha RX-A850 Pro (the other 5 channels lol)
DAC
Chord Electronics Ltd. Qutest
Computer Audio
MacBook Pro, Custom i7 7700k De-lid 2xAsus1080ti GFX, Audirvana Studio, Hang Loose Convolver, Tone Projects Michelangelo, Pulsar Massive & 8200, LiquidSonics, SoX
Universal / Blu-ray / CD Player
Sony UBP-X700 /M Ultra HD 4K HDR & PS5
Streaming Equipment
Netgear Nighthawk S8000 Streaming Switch, Lumin U1 Mini Streamer Transport
Streaming Subscriptions
QoBuz Studio Premier, Amazon Prime & Netflix
Front Speakers
Martin Logan ElectroMotion ESL
Center Channel Speaker
Martin Logan Motion C2
Surround Speakers
Martin Logan Motion 4
Surround Back Speakers
Martin Logan Motion 4 (yes, another set of these)
Subwoofers
Martin Logan Dynamo 700
Other Speakers
Cifte 12AU7 NOS & Genalex Gold Lion Tubes in Pre
Screen
Elite Screens Aeon CLR3 0.8 Gain 103-inch
Video Display Device
Samsung The Premiere LSP7T UST Laser Projector
Remote Control
PrimaLuna, Lumin iApp, Samsung & Yamaha
Other Equipment
ThrowRug, SaddleBlankets, WideBand & Bass Traps...
Although I have a couple of convolution engines at hand, I might be interested in trying CamillaDSP for FIR room correction on MacOS... Is there a Users Doc that describes straight forward steps for installation and an example filter chain for a vanilla 2 channel stereo FIR convolution?
 

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
I'm "new" here so wasn't allowed to post links... This is the available instructions but several use posted guides exists if you make a search.


I run CDSP on a Mac mini and do use a combo of IIR and FIR.

If you don't fancy installing things etc perhaps use one of one of the packages that is delivered with CDSP integrated is a way to do it e.g, in Moode.

Good luck!

//
 
Last edited by a moderator:

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
If I have installed and run V5.20.13 MacOS, may I just install this over it - the easy way upgrade as usual?

//
 

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
Tested... :-)

filters:
filter_1:
parameters:
freq: 70.3
gain: -1.6
q: 3.521
type: Peaking
type: Biquad
filter_2:
parameters:
freq: 97.60000000000001
gain: 2.9000000000000004
q: 2.001
type: Peaking
type: Biquad


The many decimals and the odd 1 and 4 in the end - how come?

REW do not do tighter than +/-1 dB for auto EQ so the great precision seem a bit "unbalanced"?

//
 

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
Also tried to import an yml file I use but it gave parse error...

//
 

Attachments

  • config-47.yml.zip
    1.2 KB · Views: 13

John Mulcahy

REW Author
Joined
Apr 3, 2017
Messages
7,910
The random digits are snakyaml's representer getting a bit over-enthusiastic with doubles. I looked at replacing its numeric representer but it was a bit of a faff so I didn't bother :)

Your file is not valid YAML, the error messages are spectacularly unhelpful but the problem is an extra space in front of the label for the first filter.
 

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
OK - the yml file came out of CamillaDSP using its GUI to create it.
 

ddude003

AV Addict
Joined
Aug 13, 2017
Messages
1,560
Location
Somewhere Northeast of Kansas City Missouri
More  
Preamp, Processor or Receiver
PrimaLuna Dialogue Premium TubePre (2 channel+sub)
Main Amp
McIntosh MC152 SS Amp (2 channel)
Additional Amp
Yamaha RX-A850 Pro (the other 5 channels lol)
DAC
Chord Electronics Ltd. Qutest
Computer Audio
MacBook Pro, Custom i7 7700k De-lid 2xAsus1080ti GFX, Audirvana Studio, Hang Loose Convolver, Tone Projects Michelangelo, Pulsar Massive & 8200, LiquidSonics, SoX
Universal / Blu-ray / CD Player
Sony UBP-X700 /M Ultra HD 4K HDR & PS5
Streaming Equipment
Netgear Nighthawk S8000 Streaming Switch, Lumin U1 Mini Streamer Transport
Streaming Subscriptions
QoBuz Studio Premier, Amazon Prime & Netflix
Front Speakers
Martin Logan ElectroMotion ESL
Center Channel Speaker
Martin Logan Motion C2
Surround Speakers
Martin Logan Motion 4
Surround Back Speakers
Martin Logan Motion 4 (yes, another set of these)
Subwoofers
Martin Logan Dynamo 700
Other Speakers
Cifte 12AU7 NOS & Genalex Gold Lion Tubes in Pre
Screen
Elite Screens Aeon CLR3 0.8 Gain 103-inch
Video Display Device
Samsung The Premiere LSP7T UST Laser Projector
Remote Control
PrimaLuna, Lumin iApp, Samsung & Yamaha
Other Equipment
ThrowRug, SaddleBlankets, WideBand & Bass Traps...
Your file is not valid YAML, the error messages are spectacularly unhelpful but the problem is an extra space in front of the label for the first filter.
What the heck kind of parser worries about spaces... Come on CamillaDSP give me a break... OMeta anyone?

@TNT had said "If you don't fancy installing things etc perhaps use one of one of the packages that is delivered with CDSP integrated is a way to do it e.g, in Moode."

No worries, been using one version or another of Nix since the early 80's... AT&T Sys V + BSD enhancements anyone?
 
Last edited:

John Mulcahy

REW Author
Joined
Apr 3, 2017
Messages
7,910
YAML uses spaces for nesting, like Python, so that's a feature of the configuration file format rather than CamillaDSP.
 

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
One could still argue that someting that one cant see has severe significance isn't so "UX" :) but maybe its not ment for humans to write this by "hand"?

It will be OK.

Now I'm just waiting for CamillaDSP to be able to import a text file of filters :) via the GUI so that one don't have to fiddle with an editor. Henrik, the designer of CDSP says it's on it's way. But it saves a lot of typing already ;-D thank you very much.

//
 

ddude003

AV Addict
Joined
Aug 13, 2017
Messages
1,560
Location
Somewhere Northeast of Kansas City Missouri
More  
Preamp, Processor or Receiver
PrimaLuna Dialogue Premium TubePre (2 channel+sub)
Main Amp
McIntosh MC152 SS Amp (2 channel)
Additional Amp
Yamaha RX-A850 Pro (the other 5 channels lol)
DAC
Chord Electronics Ltd. Qutest
Computer Audio
MacBook Pro, Custom i7 7700k De-lid 2xAsus1080ti GFX, Audirvana Studio, Hang Loose Convolver, Tone Projects Michelangelo, Pulsar Massive & 8200, LiquidSonics, SoX
Universal / Blu-ray / CD Player
Sony UBP-X700 /M Ultra HD 4K HDR & PS5
Streaming Equipment
Netgear Nighthawk S8000 Streaming Switch, Lumin U1 Mini Streamer Transport
Streaming Subscriptions
QoBuz Studio Premier, Amazon Prime & Netflix
Front Speakers
Martin Logan ElectroMotion ESL
Center Channel Speaker
Martin Logan Motion C2
Surround Speakers
Martin Logan Motion 4
Surround Back Speakers
Martin Logan Motion 4 (yes, another set of these)
Subwoofers
Martin Logan Dynamo 700
Other Speakers
Cifte 12AU7 NOS & Genalex Gold Lion Tubes in Pre
Screen
Elite Screens Aeon CLR3 0.8 Gain 103-inch
Video Display Device
Samsung The Premiere LSP7T UST Laser Projector
Remote Control
PrimaLuna, Lumin iApp, Samsung & Yamaha
Other Equipment
ThrowRug, SaddleBlankets, WideBand & Bass Traps...
It just seems silly that in this day and age we have off-side languages where strict formatting is for "human readability"... That's what parsers, pritty-printers, browsers and xtanslation utilities are for... If you don't like my style of writing a program then just whip out your favorite TXL or browser and change the "formatting" to your taste... Been smalltalking with a lisp since the late 70s... Not much new in hardware or software in the last 50 years... Just smaller and faster... And a lot of bad ideas codified by the likes of Micro$oft and others...

White space... Three too many, four not enough? Lol...
 
Last edited:

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
Using the Camilla support with good result. Looking at the text describing the option to output yml...

"Save filter settings to file"

"Setting" ?? Is this really the best word for it?

Next option is "... export... as text.." - the yml is also a text file...

Save vs. export... whats the difference really?

This section is not so intuitive and made me have to test most options in order to get what I wanted.

Maybe: 'Save Equaliser filters' / Load Equaliser filters.

And perhaps it is possible to move the Export "as text" and "as formatted text" to be an option in the save/load dialogue so the "Export" lines/options could be skipped all together?

//
 

Wirrunna

New Member
Joined
Jul 5, 2020
Messages
8
More  
Preamp, Processor or Receiver
NAD C725BEE
Front Speakers
Klipschorns
Could the Model field which currently is set to Filters be able to be overwritten so that the input is used instead of filter_1: , filter_2: . i.e. if it is set to Right Bass then the filter set is Right_Bass_1: , Right_Bass_2: etc.
REW CamillaDSP Equaliser.jpg
 

John Mulcahy

REW Author
Joined
Apr 3, 2017
Messages
7,910
Could the Model field which currently is set to Filters be able to be overwritten so that the input is used instead of filter_1: , filter_2: . i.e. if it is set to Right Bass then the filter set is Right_Bass_1: , Right_Bass_2: etc.
No, but REW can prompt for a label to use whenever CamillaDSP filters are saved. I have updated the V5.20.14 early access builds to add that.
 
  • Like
Reactions: TNT

Wirrunna

New Member
Joined
Jul 5, 2020
Messages
8
More  
Preamp, Processor or Receiver
NAD C725BEE
Front Speakers
Klipschorns
No, but REW can prompt for a label to use whenever CamillaDSP filters are saved. I have updated the V5.20.14 early access builds to add that.
Excellent, it does ask now.

I have attached a .mdat file that says it is 96 kHz file but when I select EQ and then pick CamillaDSP as Equaliser it says Equaliser: CamillaDSP(48kHz) - see attached screengrab, the REW measurement screen shows file details at bottom left and top right.
 

Attachments

  • Nov 1 M150R 20-500 02.zip
    105 KB · Views: 13
  • REW 96kHz file showing as 48kHz in CDSP EQ.jpg
    REW 96kHz file showing as 48kHz in CDSP EQ.jpg
    193.7 KB · Views: 35

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
Is the Fs really relevant for IIR filters? For any equaliser?... or maybe some?

//
 

John Mulcahy

REW Author
Joined
Apr 3, 2017
Messages
7,910
Excellent, it does ask now.

I have attached a .mdat file that says it is 96 kHz file but when I select EQ and then pick CamillaDSP as Equaliser it says Equaliser: CamillaDSP(48kHz) - see attached screengrab, the REW measurement screen shows file details at bottom left and top right.
It's actually a 6 kHz measurement. The Decimate IR Analysis preference allows REW to reduce the sample rate of measurements made over a limited frequency range to speed up processing and reduce storage. A 500 Hz measurement really doesn't need 96 kHz sampling, but you can turn that option off if you wish.

1669808224229.png
 

TNT

Member
Thread Starter
Joined
Nov 29, 2020
Messages
66
OK - like a general choice and aspects of Fs for reproducing sound. But the filter parameters dont include a term of Fs - do they?

//
 
Top Bottom