Saturday, February 11, 2006

BruteFIR configuration file

This is the file I named "ac1corr". BruteFIR configuration file is the integral part of digital room correction.

Here is mine......!

## DEFAULT GENERAL SETTINGS ##

float_bits: 32; # internal floating point precision
sampling_rate: 44100; # sampling rate in Hz of audio interfaces
filter_length: 8192,8; # length of filters
overflow_warnings: true; # echo warnings to stderr if overflow occurs
show_progress: false; # echo filtering progress to stderr
max_dither_table_size: 0; # maximum size in bytes of precalculated dither
allow_poll_mode: false; # allow use of input poll mode
modules_path: "."; # extra path where to find BruteFIR modules
monitor_rate: false; # monitor sample rate
powersave: true; # pause filtering when input is zero
lock_memory: true; # try to lock memory if realtime prio is set
convolver_config: "/";
# location of convolver config file

## GENERAL EXPLANATION ##
## Sections comprise types input, output, coeff and filter.
## input defines how BruteFIR gets its audio data
## output defines where BruteFIR sends its audio data after filtering
## coeff allows the input of filter coefficients like those generated by DRC,
## or crossover filters like high pass for a tweeter & low pass for a woofer.
## filter combines an input with filter coefficients producing an output
## The configuration below is probably the simplest you will get
## for a DRC setup. The input section reads in audio data
## from standard input, DRC corrections for the left and right speakers
## are read from their respective files. The left and right inputs and
## filter coefficients are then combined. The output is sent to ALSA,
## the linux sound system. BruteFIR is run from the command line using
## cdparanoia --output-raw-little-endian 2 - | brutefir ./.brutefir_config
## where the 2 is telling cdparanoia to rip the second track of the cd.

## COEFF DEFAULTS ##

coeff "drc_l" {
filename: "/beesound/brutefir/filter/ep1/cor1l44.pcm";
format: "FLOAT_LE"; # file format
attenuation: 0.0; # attenuation in dB
};

coeff "drc_r" {
filename: "/beesound/brutefir/filter/ep1/cor1r44.pcm";
format: "FLOAT_LE"; # file format
attenuation: 0.0; # attenuation in dB
};

## INPUT DEFAULTS ##
# module and parameters to get audio

input "left_in", "right_in" {
device: "alsa" { device: "hw:0";}; # ignore_xrun: true; };
sample: "S24_4LE";
channels: 26/0,1;

};

## OUTPUT DEFAULTS ##
#output "left_out", "right_out" {

output "left_out", "right_out" {
device: "alsa" { device: "hw:0";}; # ignore_xrun: true; };
sample: "S24_4LE";
channels: 26/0,1;
delay: 0,3,282,282;
dither: true;


};

## FILTER DEFAULTS ##

filter "l_filter" {
from_inputs: "left_in"/0.0;
to_outputs: "left_out"/0.0;
coeff: "drc_l";
};
filter "r_filter" {
from_inputs: "right_in"/0.0;
to_outputs: "right_out"/0.0;
coeff: "drc_r";
};

0 Comments:

Post a Comment

<< Home