## DEFAULT GENERAL SETTINGS ##

float_bits: 64;             # internal floating point precision
sampling_rate: 44100;       # sampling rate in Hz of audio interfaces
filter_length: 4096,16;      # length of filters
# config_file: "/home/beesound/.brutefir_config"; # standard location of main config file
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: "/usr/lib/brutefir";   # extra path where to find BruteFIR modules
monitor_rate: true;        # 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: "/home/beesound/.brutefir_convolver"; # location of convolver config file

## LOGIC ##

logic: "cli" { port: 3000; };

## COEFFS ##

coeff "lowleft" {
        filename: "/beesound/brutefir/filter/ep8/Cor1L44.dbl";
	format: "FLOAT64_LE";
};

coeff "lowright" {
        filename: "/beesound/brutefir/filter/ep8/Cor1R44.dbl";
	format: "FLOAT64_LE";
};

coeff "midleft" {
        filename: "/beesound/brutefir/filter/ep8/Cor2L44.dbl";
	format: "FLOAT64_LE";
};

coeff "midright" {
        filename: "/beesound/brutefir/filter/ep8/Cor2R44.dbl";
	format: "FLOAT64_LE";
};

##coeff "highleft" {
##        filename: "/beesound/brutefir/filter/ep8/Cor3L44.dbl";
##	format: "FLOAT64_LE";
##};

##coeff "highright" {
##        filename: "/beesound/brutefir/filter/ep8/Cor3R44.dbl";
##	format: "FLOAT64_LE";
##};

## INPUT, OUTPUT ##							

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

output "llow", "rlow", "lmid", "rmid" {
##output "llow", "rlow", "lmid", "rmid", "lhigh", "rhigh" {
        device: "alsa" { device: "hw:0";}; # ignore_xrun: true; };
        sample: "S24_4LE";
	channels: 26/0,1,2,3;
	delay: 0,0,0,0;
##	channels: 26/0,1,2,3,4,5;
##	delay: 0,0,0,0,0,0;
	dither: true;
};

## FILTERS ##

filter "llowfilter" {
        from_inputs: "left"/0.5;
        to_outputs: "llow";
	coeff: "lowleft";
};

filter "rlowfilter" {
        from_inputs: "right"/0.5;
        to_outputs: "rlow";
	coeff: "lowright";
};

filter "lmidfilter" {
        from_inputs: "left"/0.5;
	to_outputs: "lmid";
	coeff: "midleft";
};

filter "rmidfilter" {
       from_inputs: "right"/0.5;
       to_outputs: "rmid";
       coeff: "midright";
};

##filter "lhighfilter" {
##       from_inputs: "left"/0.5;
##       to_outputs: "lhigh";
##       coeff: "highleft";
##};

##filter "rhighfilter" {
##       from_inputs: "right"/0.5;
##       to_outputs: "rhigh";
##       coeff: "highright";
##};
                     	