#!/usr/bin/env python
#
# WARNING!!
# This file is automatically generated.
# DO NOT MODIFY THIS FILE!
#
# To generate this file, please run:
# cd /path/to/this/package
# python ./scripts/respeaker_gencfg.py
#

from dynamic_reconfigure.parameter_generator_catkin import *

gen = ParameterGenerator()

#       name    type     level     description     default      min      max
gen.add("STATNOISEONOFF", bool_t, 0, "Stationary noise suppression. 0 = OFF 1 = ON", True)
gen.add("GAMMA_ETAIL", double_t, 0, "Over-subtraction factor of echo (tail components). min .. max attenuation", 1.000000, 0.000000, 3.000000)
gen.add("AGCTIME", double_t, 0, "Ramps-up / down time-constant in seconds.", 0.982401, 0.100000, 1.000000)
gen.add("GAMMA_NS_SR", double_t, 0, "Over-subtraction factor of stationary noise for ASR.  [0.0 .. 3.0] (default: 1.0)", 1.000000, 0.000000, 3.000000)
gen.add("AGCDESIREDLEVEL", double_t, 0, "Target power level of the output signal.  [-inf .. 0] dBov (default: -23dBov = 10log10(0.005))", 0.005000, 0.000000, 0.990000)
gen.add("MIN_NN_SR", double_t, 0, "Gain-floor for non-stationary noise suppression for ASR. [-inf .. 0] dB (default: -10dB = 20log10(0.3))", 0.300000, 0.000000, 1.000000)
gen.add("STATNOISEONOFF_SR", bool_t, 0, "Stationary noise suppression for ASR. 0 = OFF 1 = ON", True)
gen.add("MIN_NS_SR", double_t, 0, "Gain-floor for stationary noise suppression for ASR. [-inf .. 0] dB (default: -16dB = 20log10(0.15))", 0.150000, 0.000000, 1.000000)
gen.add("GAMMA_ENL", double_t, 0, "Over-subtraction factor of non-linear echo. min .. max attenuation", 1.000000, 0.000000, 5.000000)
gen.add("NLAEC_MODE", int_t, 0, "Non-Linear AEC training mode. 0 = OFF 1 = ON - phase 1 2 = ON - phase 2", 0, 0, 2)
gen.add("TRANSIENTONOFF", bool_t, 0, "Transient echo suppression. 0 = OFF 1 = ON", True)
gen.add("RT60ONOFF", bool_t, 0, "RT60 Estimation for AES. 0 = OFF 1 = ON", True)
gen.add("AGCGAIN", double_t, 0, "Current AGC gain factor.  [0 .. 60] dB (default: 0.0dB = 20log10(1.0))", 11.119642, 1.000000, 1000.000000)
gen.add("NONSTATNOISEONOFF", bool_t, 0, "Non-stationary noise suppression. 0 = OFF 1 = ON", True)
gen.add("AECFREEZEONOFF", bool_t, 0, "Adaptive Echo Canceler updates inhibit. 0 = Adaptation enabled 1 = Freeze adaptation, filter only", False)
gen.add("AGCMAXGAIN", double_t, 0, "Maximum AGC gain factor.  [0 .. 60] dB (default 30dB = 20log10(31.6))", 31.600000, 1.000000, 1000.000000)
gen.add("CNIONOFF", bool_t, 0, "Comfort Noise Insertion. 0 = OFF 1 = ON", True)
gen.add("NONSTATNOISEONOFF_SR", bool_t, 0, "Non-stationary noise suppression for ASR. 0 = OFF 1 = ON", True)
gen.add("NLATTENONOFF", bool_t, 0, "Non-Linear echo attenuation. 0 = OFF 1 = ON", False)
gen.add("ECHOONOFF", bool_t, 0, "Echo suppression. 0 = OFF 1 = ON", True)
gen.add("AECNORM", double_t, 0, "Limit on norm of AEC filter coefficients", 2.000000, 0.250000, 16.000000)
gen.add("AECSILENCELEVEL", double_t, 0, "Threshold for signal detection in AEC [-inf .. 0] dBov (Default: -80dBov = 10log10(1x10-8))", 0.000000, 0.000000, 1.000000)
gen.add("GAMMA_E", double_t, 0, "Over-subtraction factor of echo (direct and early components). min .. max attenuation", 1.000000, 0.000000, 3.000000)
gen.add("FREEZEONOFF", bool_t, 0, "Adaptive beamformer updates. 0 = Adaptation enabled 1 = Freeze adaptation, filter only", False)
gen.add("AGCONOFF", bool_t, 0, "Automatic Gain Control.  0 = OFF  1 = ON", True)
gen.add("MIN_NN", double_t, 0, "Gain-floor for non-stationary noise suppression. [-inf .. 0] dB (default: -10dB = 20log10(0.3))", 0.300000, 0.000000, 1.000000)
gen.add("MIN_NS", double_t, 0, "Gain-floor for stationary noise suppression. [-inf .. 0] dB (default: -16dB = 20log10(0.15))", 0.150000, 0.000000, 1.000000)
gen.add("GAMMA_NS", double_t, 0, "Over-subtraction factor of stationary noise. min .. max attenuation", 1.000000, 0.000000, 3.000000)
gen.add("HPFONOFF", int_t, 0, "High-pass Filter on microphone signals. 0 = OFF 1 = ON - 70 Hz cut-off 2 = ON - 125 Hz cut-off 3 = ON - 180 Hz cut-off", 1, 0, 3)
gen.add("GAMMAVAD_SR", double_t, 0, "Set the threshold for voice activity detection. [-inf .. 60] dB (default: 3.5dB 20log10(1.5))", 15.000000, 0.000000, 1000.000000)
gen.add("GAMMA_NN", double_t, 0, "Over-subtraction factor of non- stationary noise. min .. max attenuation", 1.100000, 0.000000, 3.000000)
gen.add("GAMMA_NN_SR", double_t, 0, "Over-subtraction factor of non-stationary noise for ASR.  [0.0 .. 3.0] (default: 1.1)", 1.100000, 0.000000, 3.000000)

exit(gen.generate("respaker_ros", "respeaker_ros", "Respeaker"))
