@ Sof v1.0 @
# This is the parameters file for the production system

@ AudioFrontEnd 0 @
audio = {
  byte_order = BIG_ENDIAN;	
  num_channels = 1;
};
audio_output = {
  file_type = RAW;
  byte_order = BIG_ENDIAN;	
};
frame_duration = 0.01;
#features = SAMPLED_DATA;
features = SAMPLED_DATA;
output_mode = "AUDIO_FILE";

@ Algorithm 0 @
#% 134 67
 name = CoefficientLabel;
 variable = SAMPLED_DATA;
 type = INPUT;

@ Algorithm 1 @
#% 69 138
 name = "Filter";
 algorithm = LTI;
 ma_coef = 0.5, 0.5;

@ Algorithm 2 @
#% 206 137
 name = CoefficientLabel;
 variable = SAMPLED_DATA;
 type = OUTPUT;

@ DiGraph<Long> 0 @
weighted = true;
vertices =
        {0, {0}},
        {1, {1}},
        {2, {2}};

arcs =  {0, 1, 0},
        {1, 2, 0};
       
@ SingleLinkedList<Recipe> 0 @
values = {
 input = __input_SAMPLED_DATA;
 output = ___DATA_0;
 recipe = {
   name = CoefficientLabel;
   variable = SAMPLED_DATA;
   type = INPUT;
 };
}, {
 input = ___DATA_0;
 output = ___DATA_1;
 recipe = {
   name = "Filter";
   algorithm = LTI;
   ma_coef = 0.5, 0.5;
 };
}, {
 input = ___DATA_1;
 output = __output_SAMPLED_DATA;
 recipe = {
   name = CoefficientLabel;
   variable = SAMPLED_DATA;
   type = OUTPUT;
 };
};

@ SingleLinkedList<Triple<Pair<Long,Long>,Float,Boolean>> 0 @
values = {{{0},{1}}, {0.0}, {false}},
	 {{{1},{2}}, {0.0}, {false}};
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
@ DiGraph<Recipe> 1 @
weighted = true;
vertices =
	{0, {input = "__input_SAMPLED_DATA";
output = "___DATA_0";
recipe = {
  name = "CoefficientLabel";
  algorithm = "DATA";
  implementation = "COPY";
  variable = "SAMPLED_DATA";
  type = "INPUT";
  coef_type = "PROPAGATE";
};
}},
	{1, {input = "___DATA_0";
output = "__input_SAMPLED_DATA";
recipe = {
  name = "Filter";
  algorithm = "LINEAR";
  implementation = "DIFFERENCE_EQUATION";
  num_channels = 1;
  ma_coef = 0.5,0.5;
  ar_coef = 1;
  ma_lag = 0,-1;
  ar_lag = 0;
  debug_level = "NONE";
};
}},
	{2, {input = "__input_SAMPLED_DATA";
output = "__output_SAMPLED_DATA";
recipe = {
  name = "CoefficientLabel";
  algorithm = "DATA";
  implementation = "COPY";
  variable = "SAMPLED_DATA";
  type = "OUTPUT";
  coef_type = "PROPAGATE";
};
}};
arcs =
	{0, 1, 0},
	{1, 2, 0};
