Volumio 2 and brutefir

dac usb is khadas but I only use it for tests

@danielfelix
If you already measure your room, you have done the most difficult.
An easy way :
You can generate your filter directly in the plugin using DRC-FIr. You just have to export the impulse (one per channel) from REW to the shared folder called brutefirfilters/filter-sources of Volumio.
Select the, the target curve, give a name (or not) and press ā€˜generate filter’. One minute later, you get the calculated filter you have to select to use it.
I made a wiki here : https://volumio.github.io/docs/Plugins_User_Manuals/brutefir/Making_Measurment.html
let me know if you need more info :wink:

Hi
I’m trying to create filters with REW and RePhase, but I have a problem when playing sweep signal trough volumio and BruteFIR plugin, the graph of the recorded sweep starts very low in the bass/mid range and rising at the high range, when I play the sweep trough REW then all look normal.
Have I done something wrong? To my ears the signal sound’s ok.

Another question, is there a fast way to disable the effect of filters? Should be nice to compare with and without filters.

btw. found a small bug, the pink noise file for both channels should be named PinkNoise_48k_16-bit_BOTH.WAV

/Lars

Hi!
What is the version of REW your are using? need to investigate
I corrected the problem for pink noise 2 channels… Thanks!
You can set DIrac pulse as neutral filter to compare with yours, even while playing.

I’m using REW version 5.20 Beta 23. And I using an Umik-1 as microphone. all running on a mac

left.jpgThis i what a sweep looks like

When I change the sample rate from 48kHz to 44.1 kHz, then is ok.
/Lars

I was writing you to check this! So, good!
How do you plan to generate your filters? Will you try the automatic generation from the plugin using drc-fir?

I will try REW EQ and RePhase at a start. Maybe trying automatic generation also

Did my first filter, the result was not as I expected, maybe I have to do some more homework :smiley:
Predicted:
Filter.jpg

Measurement:
Left.jpg

The other speaker is similar. Have used REW and RePhase, any tips is much appreciated.

Now thing start to looking good. Tried to make a filter with DRC and a very simple target curve.
DRC_filter.jpg
I have to do some more work on the target file. But I’m on the track i think. I’m not sure how to use the Input Attenuation.

I have to thank you balbuze for this great work. Very impressive. Keep up the good work.
/Lars

Good! Attenuation must be a least equal to the maxi correction you have done. If not you’ll experience clipping. Check with sudo journactl -f to see if the problem occurs. Let me know.

Hi Balbuze and thank you for this wonerful plugin.
I’ve a question; i have made my filters response with rew at 48 Khz;
Brutefir automatically resample all files to the frequency of the filters (so, for example,by upsampling the 44,1 flies and by downsampling the 192 khz files?
Or i must to set the resampler on Volumio at 48 khz?
If I check with volumio.local/DEV/ i’ve seen that 44,1khz files are played as is, even with the 48 khz filters loaded in brutefir
Thank you very much

Hi
Everything is resampled by the plugin. The most important is that filters you use are defined with the same sample rate than the one set in the plugin or you’ll get weird results.

Hi Balbuze;
thank you very much again; your plugin it is by far the most useful of all those done so far in Volumio, for me

Hi there, first of all thank you all for such an amazing code. I have been back and forth with the idea of getting a minidsp to correct the nasties in my room, but I dont like the the idea of doing a ADC -> DAC after is processed by my DAC. I rather have a correction done in the digital domain with the brutefir plugin. However I cant seem to make it work properly,

I ve beein reading all the journal log to see whats the problem but is quite random… sometimes it will say Failed to start I/O module, other times will say Failed to open ALSA device ā€œhw:0,0ā€ Device busy and I can not really pin point whats the problem. I manage to get some sound out with one mp3 file at 48khz sampling rate with FLOAT LE 32 bits floating point filter format and S32LE output format but it only works with that specific file and that specific configuration. However if I reload the same file, it will not play sound unless I go to the brutefir settings and apply the settings again. It is very weird. It wont play FLACS, DSD, or spotify unless I disable the plugin. (I have tried all the settings).

I have installed volumio in shuttle pc IntelĀ® Coreā„¢ i3-3220 CPU @ 3.30GHz, this mini pc has an optical output that is labelled as HDA Intel PCH, ALC662 analog, So I wonder if this is a hardware related issue. I have tried connecting the usb dac directly to the shuttle pc but It doesnt work either, brutefir will only let me use the ā€œanalog through brutefirā€ (which uses the optical too) output.

I am willing to get new hardware in order to use this plugin, but I would like you guys to recommend me something thats tested and will work with all files and inputs and still able to to do the room correction, if thats possible.

Thank you for you work.

I just bought Khadas Tone DAC and but dont get the software mixer to work with brutefir?
Also get som pops and cracks?
Raspberry 3b+.
Is it possible?

Sorry, but the plugin doesn’t work with software mixer.
Usb Dac with rpi3 produce pop and cracks. It seems to be due to an hardware limitation

It works without cracks very well but not with Brutefir so maybe its to much to handle for rpi3 via USB.
Dont now if Khadas work with I2S but maybe thats an solution.

I raised the buffer to 8Mb and 40 % and have played for an hour now with one crack in the beginning.
So its not 100% but its close to working.
I run over wifi so maybe thats cracking even if I have good connection?