Volumio 2 and brutefir

Good morning, and thank you for this wonderful plugin.
I’ve some issues with the resolution in and out.
My filters are 44000 32 bit mono, one per channel.
I have to resample with volumio? My playlist contains dsf files, and flac in various resolution…

Brutefir resamples the songs according to my filters, or I have to let volumio resamples?
Thanks you

I’m a little late to the party with it comes to Digital Room Correction.

I have managed to get brutefir installed and running.
Now I need to create filters with Room EQ Wizard for brutefir.
I have REW.
I have a calibrated mic.
What I do not know is the file format required by brutefir.

can somebody help me with that?

Allo Boss DAC

Hi!
have a look at /data/INTERNAL of your device from a computer. You’ll find some filters…
Format are wav or raw and more details here : https://www.ludd.ltu.se/~torger/brutefir.html
I advice you to generate a filter with the same sample rate than the music you want to listen (ie 44,1Kz 16b) and set the same value in the plugin.
Place your filter in /data/INTERNAL and fill the plugin setting with it name.ext i.e rephase.raw
let me know :wink:

I had a few issues.
Re-imaged the card and started over.
I am able to start brutefir without issue.

Last night I tried making filters using REW.
The filters resulted in a LOT of distortion.
I set brutefir to 22, while it was better it was still bad.

When I created the filters in REW I limited overall gain to 0 and individual gain to 6.
I set the target curve to result in negative EQ.

I am using a calibrated mic at my listening position.
I believe the real issue is my limited understanding of REW and filter creation.

I spent a few hours working on this tonight, even enlisted the help of a roon employee with extensive experience with minidsp, convolver, brutefir, etc. He talked me through several options on the REW EQ settings, etc.

With his help I was getting slightly better results my system still sounds better without brutefir.

The issues:
To much emphasis in the 80-250hz range (even when the slope was removed in REW).
Imaging was ruined - much more narrow sound stage and flat.
No sense of atmosphere - like a curtain between me and the speakers.

I will try again but done for the night.

I tried Generic and Rephase for the EQ settings in REW.
I tried EQ from 20-200hz and 20-20k.
I tried with and without slopes from 20-100hz and 1000-20k
All settings in REW when I took my waves were 44.1k

I have attached a screen show of my samples.
The right speaker is closer to a corner, thus increased bass response and room gain overall.
I offset the waves for clarity.
Subwoofer was turned off and no bass boost on the amp.
I really dislike that dip at 120hz.

Screen Shot 2018-09-04 at 8.26.30 PM.png

Good morning !

I have just tried to install brutefir2 (on last volumio version)
I followed the download instructions (download, and installation from volumio interface using putty on windows 10)

At 70% of installation progression, error message, juste error nothing else.

Any suggestion ?

Many thanks in advanced

BR

JB

Precision:
the error appear during step “installing dependencies”
error message : “:The following error occurred when installing the plugin: Error”

Thanks in advanced for you help

BR

JB

Ok, it seems to be solved…password must not be changed if we want to install plugin

Hi guys,

I test it with …it “works”…I mean a sound go out of my speakers…more precision:
equalizer work fine - no problem

but it is not my goal with brutefir. I need it to use an impulse responsave created with rephase to correct acoustical phase. And when I use it or those proposed by default after brutefir installation, a huge echo appears make it unusable.

Do you know this problem, any suggestion to make it works?

Many thanks in advanced.

Best Regards,

JB

Another precision, it is impossible to use a wave flle with an other name than those “preinstalled”. plugin answers it is not a good name file (of course it is). The only way for me to use a file created by my own is to replace a “pre-installed” file.

Looks strange!

I have solved the second issue, I did not put the files in the correct folder.

You need tu put the files in the followed folder:
/data/INTERNAL/brutefirfilters…

But still have huge echo…

Any help?

No one can answer?

Humm… This looks like if the sample rate and/or bitepth of your filter is different from the file you play. This is an actual limitation of the plugin.
Can you check it?

thanks for your answer.

I have done a filter with a sample rate of 96kHz and a bitdeph of 32 bits (32 bits LPCM format) using rephase. I play a 24 bit/96 khz audio file format. Do you mean that I need to do a 96 Khz 24 bits LCPM file format with Rephase to play such a file type?

Concerning the input / output format, it seems that nothing else than 16 bit format is available. Can it be a problem for a 24 bits / 96Khz file ?

If yes, no problem for me, I can switch to 44 Khz/16 bit given that must of my music is made of CD ripp. I was testing with 96 khz/24 bits because my active filter is using only this format with an upsampling process before filtering.

Tested, it doesn’t work. I tried with flat.wav file reading a 16bits/44khz file format, still a really huge echo.

My configuration :
Player Volumio + allodigi, plugged via coxial output with a minidsp nanodigi 8 as active filter plugged with 2 full digital amplifiers fxaudio 802.

please test with the file called ‘rephase.raw’

Seems to be ok!
The problem was linked to filter length. As the FFT resolution is partionned, you must give the filter length of a partition and not the total filter length. The partition length is equal to total filter length divided by number of partitions.

Now, it is time to optimise my filter and obtain a linear acoustical phase system :wink:

Ok, Lot of difficulties with brutefir. The main problem is that it modify A LOT ! the frequency response of my system without any amplitude correction. I have created the filter using my PC with rephase / foobar as player and REW fore measurements. It is nearly perfect with a flat frequency response and linear frequency phase response.

When I use the same filter with brutefir/volumio it is a clearly not the same story:
Have a look :
braun amplitude response without brutefir and blue with brutefir :

I have tested a lot of things without succes.

Maybe I will try a little bit more but I think I am thinking on installing Jriver to do phase corrections.

Hello together,

I have a problem to get my filters working. With the test filters everything seems ok, with my filters I only get short distorted sound snippeds. My filters and my config are attatched. My filters are made with Acourate, i can save them in wav (single or double precision). I hope we find my obstacle.

Best regards from germany
Thomas


Oct 07 08:14:20 volumio systemd[1]: Starting brutefir Daemon...
Oct 07 08:14:20 volumio systemd[1]: Started brutefir Daemon.
Oct 07 08:14:20 volumio volumio[9492]: BruteFIR v1.0m (November 2013)                                (c) Anders Torger
Oct 07 08:14:20 volumio volumio[9492]: Internal resolution is 64 bit floating point.
Oct 07 08:14:20 volumio volumio[9492]: Creating 4 FFTW plans of size 16384...finished.
Oct 07 08:14:20 volumio volumio[9492]: Loading 4 coefficient sets...finished.
Oct 07 08:14:20 volumio volumio[9492]: Realtime priorities are min = 2, usermax = 1, mid = 3 and max = 4.
Oct 07 08:14:20 volumio volumio[9492]: Warning: no support for clock cycle counter on this platform.
Oct 07 08:14:20 volumio volumio[9492]: Timers for benchmarking may be unreliable.
Oct 07 08:14:20 volumio volumio[9492]: Filters in process 0: 0 2
Oct 07 08:14:20 volumio volumio[9492]: Filters in process 1: 1 3
Oct 07 08:14:20 volumio volumio[9492]: Realtime priority 1 set for cli process (pid 9496)
Oct 07 08:14:20 volumio volumio[9492]: Creating inverse inplace FFTW plan of size 32768 using wisdom...finished
Oct 07 08:14:20 volumio volumio[9492]: Realtime priority 3 set for input process (pid 9493)
Oct 07 08:14:20 volumio volumio[9492]: Realtime priority 4 set for filter process (pid 9494)
Oct 07 08:14:20 volumio volumio[9492]: Realtime priority 4 set for filter process (pid 9495)
Oct 07 08:14:20 volumio volumio[9492]: Realtime priority 3 set for output process (pid 9498)
Oct 07 08:14:20 volumio volumio[9492]: Fixed I/O-delay is 16384 samples
Oct 07 08:14:20 volumio volumio[9492]: Audio processing starts now
Oct 07 08:14:22 volumio volumio[9492]: peak: 0/15808/+16.60 1/15737/+16.37
Oct 07 08:14:22 volumio volumio[9492]: Safety limit exceeded on output (20.47 > 20.00). Aborting.
Oct 07 08:14:22 volumio systemd[1]: brutefir.service: main process exited, code=exited, status=1/FAILURE
Oct 07 08:14:22 volumio systemd[1]: Unit brutefir.service entered failed state.
Oct 07 08:14:22 volumio systemd[1]: brutefir.service holdoff time over, scheduling restart.
Oct 07 08:14:22 volumio systemd[1]: Stopping brutefir Daemon...
Oct 07 08:14:22 volumio systemd[1]: Starting brutefir Daemon...

Config.PNG

EDIT:

I cant attach WAV files but here is a link with my filters http://workupload.com/archive/XbxpXLQ

Try to increase “input attenuation” to at least 18dB because your filter generates :

Oct 07 08:14:20 volumio volumio[9492]: Audio processing starts now Oct 07 08:14:22 volumio volumio[9492]: peak: 0/15808/+16.60 1/15737/+16.37 Oct 07 08:14:22 volumio volumio[9492]: Safety limit exceeded on output (20.47 > 20.00). Aborting.
So you get clipping and distorsion
let me know