Chris Birkinshaw Brutefir Config

From DRC

Jump to: navigation, search

Contents


Full Config with Everything Enabled

filter_length: 2048,32;
float_bits: 32;
sampling_rate: 44100;
overflow_warnings: true;
max_dither_table_size: 0;
monitor_rate: true;
powersave: true;
lock_memory: false;
debug: false;
logic: "cli" { port: 3000; };


#########################
# xover coeffs

coeff "sub_low" {
        format: "text";
        filename: "/home/mythtv/filters/sub_low.txt";
        shared_mem: false;
};

coeff "mid_low" {
        format: "text";
        filename: "/home/mythtv/filters/mid_low.txt";
        shared_mem: false;
};

coeff "mid_high" {
        format: "text";
        filename: "/home/mythtv/filters/mid_high.txt";
        shared_mem: false;
};


###########################
# DRC coeffs

coeff "main-left" {
        format: "FLOAT_LE";
        filename: "/home/mythtv/filters/normal/left/rps.pcm";
        shared_mem: false;
};

coeff "main-right" {
        format: "FLOAT_LE";
        filename: "/home/mythtv/filters/normal/right/rps.pcm";
        shared_mem: false;
};


##########################
# io

input "left-in", "right-in", "rl-in", "rr-in", "centre-in", "sub-in" {
        device: "jack" { ports: "alsa_pcm:capture_1", "alsa_pcm:capture_2", "", "", "", ""; };
        sample: "AUTO";
        channels: 6;
};

output "left-high", "right-high", "left-low", "right-low", "centre-out", "sub-out" {
        device: "jack" { ports: "alsa_pcm:playback_1", "alsa_pcm:playback_2",
        "alsa_pcm:playback_3", "alsa_pcm:playback_4",
        "alsa_pcm:playback_5", "alsa_pcm:playback_6"; };
        delay: 0,0,0,0,0,36;
        sample: "AUTO";
        channels: 6;
};

##########################
# DRC filtering

filter "main-left" {
        inputs: "left-in"/8, "sub-in"/11;
        to_filters: "hp-left", "bp-left", "lp-front";
#       coeff: -1;
        coeff: "main-left";
};

filter "main-right" {
        inputs: "right-in"/7, "sub-in"/10;
        to_filters: "hp-right", "bp-right", "lp-front";
#       coeff: -1;
        coeff: "main-right";
};

filter "main-centre" {
        inputs: "centre-in";
        outputs: "centre-out";
        coeff: -1;
};

###################################
# xover filtering

filter "hp-left" {
        from_filters: "main-left";
        outputs: "left-high";
        coeff: "mid_high";
};

filter "bp-left" {
        from_filters: "main-left";
        outputs: "left-low";
        coeff: "mid_low";
};

filter "lp-front" {
        from_filters: "main-left", "main-right";
        outputs: "sub-out";
        coeff: "sub_low";
};

filter "hp-right" {
        from_filters: "main-right";
        outputs: "right-high";
        coeff: "mid_high";
};

filter "bp-right" {
        from_filters: "main-right";
        outputs: "right-low";
        coeff: "mid_low";
};


X-Over Only - DRC disabled

I use this as a reference point when evaluating my DRC filters.


filter_length: 2048,32;
float_bits: 32;
sampling_rate: 44100;
overflow_warnings: true;
max_dither_table_size: 0;
monitor_rate: true;
powersave: true;
lock_memory: false;
debug: false;
logic: "cli" { port: 3000; };


#########################
# xover coeffs

coeff "sub_low" {
        format: "text";
        filename: "/home/mythtv/filters/sub_low.txt";
        shared_mem: false;
};

coeff "mid_low" {
        format: "text";
        filename: "/home/mythtv/filters/mid_low.txt";
        shared_mem: false;
};

coeff "mid_high" {
        format: "text";
        filename: "/home/mythtv/filters/mid_high.txt";
        shared_mem: false;
};


###########################
# DRC coeffs

coeff "main-left" {
        format: "FLOAT_LE";
        filename: "/home/mythtv/filters/Cor1L44.pcm";
        shared_mem: false;
};

coeff "main-right" {
        format: "FLOAT_LE";
        filename: "/home/mythtv/filters/Cor1L44.pcm";
        shared_mem: false;
};


##########################
# io

input "left-in", "right-in", "rl-in", "rr-in", "centre-in", "sub-in" {
        device: "jack" { ports: "alsa_pcm:capture_1", "alsa_pcm:capture_2", "", "", "", ""; };
        sample: "AUTO";
        channels: 6;
};

output "left-high", "right-high", "left-low", "right-low", "centre-out", "sub-out" {
        device: "jack" { ports: "alsa_pcm:playback_1", "alsa_pcm:playback_2",
        "alsa_pcm:playback_3", "alsa_pcm:playback_4",
        "alsa_pcm:playback_5", "alsa_pcm:playback_6"; };
        delay: 0,0,0,0,0,36;
        sample: "AUTO";
        channels: 6;
};

##########################
# DRC filtering

filter "main-left" {
        inputs: "left-in"/7, "sub-in"/10;
        to_filters: "hp-left", "bp-left", "lp-front";
        coeff: -1;
#        coeff: "main-left";
};

filter "main-right" {
        inputs: "right-in"/7, "sub-in"/10;
        to_filters: "hp-right", "bp-right", "lp-front";
        coeff: -1;
#        coeff: "main-right";
};

filter "main-centre" {
        inputs: "centre-in";
        outputs: "centre-out";
        coeff: -1;
};

###################################
# xover filtering

filter "hp-left" {
        from_filters: "main-left";
        outputs: "left-high";
        coeff: "mid_high";
};

filter "bp-left" {
        from_filters: "main-left";
        outputs: "left-low";
        coeff: "mid_low";
};

filter "lp-front" {
        from_filters: "main-left", "main-right";
        outputs: "sub-out";
        coeff: "sub_low";
};

filter "hp-right" {
        from_filters: "main-right";
        outputs: "right-high";
        coeff: "mid_high";
};

filter "bp-right" {
        from_filters: "main-right";
        outputs: "right-low";
        coeff: "mid_low";
};

Brutefir Measuring Config

Used when creating a feedback loop to measure the response of the soundcard. Nearly everything is disabled

filter_length: 2048,32;
float_bits: 32;
sampling_rate: 44100;
overflow_warnings: true;
max_dither_table_size: 0;
monitor_rate: true;
powersave: true;
lock_memory: false;
debug: false;
logic: "cli" { port: 3000; };


#########################
# xover coeffs

coeff "sub_low" {
        format: "text";
        filename: "/home/mythtv/filters/sub_low.txt";
        shared_mem: false;
};

coeff "mid_low" {
        format: "text";
        filename: "/home/mythtv/filters/mid_low.txt";
        shared_mem: false;
};

coeff "mid_high" {
        format: "text";
        filename: "/home/mythtv/filters/mid_high.txt";
        shared_mem: false;
};


###########################
# DRC coeffs

coeff "main-left" {
        format: "FLOAT_LE";
        filename: "/home/mythtv/filters/Cor1L44.pcm";
        shared_mem: false;
};

coeff "main-right" {
        format: "FLOAT_LE";
        filename: "/home/mythtv/filters/Cor1L44.pcm";
        shared_mem: false;
};


##########################
# io

input "left-in", "right-in", "rl-in", "rr-in", "centre-in", "sub-in" {
        device: "jack" { ports: "alsa_pcm:capture_1", "alsa_pcm:capture_2", "", "", "", ""; };
        sample: "AUTO";
        channels: 6;
};

output "left-high", "right-high", "left-low", "right-low", "centre-out", "sub-out" {
        device: "jack" { ports: "alsa_pcm:playback_1", "alsa_pcm:playback_2",
        "alsa_pcm:playback_3", "alsa_pcm:playback_4",
        "alsa_pcm:playback_5", "alsa_pcm:playback_6"; };
        delay: 0,0,0,0,0,36;
        sample: "AUTO";
        channels: 6;
};

##########################
# DRC filtering

filter "main-left" {
        inputs: "left-in"/7, "sub-in"/10;
        to_filters: "hp-left", "bp-left", "lp-front";
        coeff: -1;
#        coeff: "main-left";
};

filter "main-right" {
        inputs: "right-in"/7, "sub-in"/10;
        outputs: "right-high";
        coeff: -1;
#        coeff: "main-right";
};

filter "main-centre" {
        inputs: "centre-in";
        outputs: "centre-out";
        coeff: -1;
};

###################################
# xover filtering

filter "hp-left" {
        from_filters: "main-left";
        outputs: "left-high";
        coeff: "mid_high";
};

filter "bp-left" {
        from_filters: "main-left";
        outputs: "left-low";
        coeff: "mid_low";
};

filter "lp-front" {
        from_filters: "main-left";
        outputs: "sub-out";
        coeff: "sub_low";
};
Personal tools