/[svn]/linuxsampler/trunk/src/engines/sfz/sfz.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/sfz/sfz.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2167 by persson, Mon Feb 21 17:34:36 2011 UTC revision 2175 by persson, Mon Apr 25 08:12:36 2011 UTC
# Line 412  namespace sfz Line 412  namespace sfz
412              eq2_gain_oncc.set(i, 0);              eq2_gain_oncc.set(i, 0);
413              eq3_gain_oncc.set(i, 0);              eq3_gain_oncc.set(i, 0);
414          }          }
415            cutoff_cc = 0;
416    
417          eg.clear();          eg.clear();
418    
# Line 574  namespace sfz Line 575  namespace sfz
575          region->fil_type = fil_type;          region->fil_type = fil_type;
576          region->cutoff = cutoff;          region->cutoff = cutoff;
577          region->cutoff_oncc = cutoff_oncc;          region->cutoff_oncc = cutoff_oncc;
578            region->cutoff_cc = cutoff_cc;
579          region->cutoff_smoothcc = cutoff_smoothcc;          region->cutoff_smoothcc = cutoff_smoothcc;
580          region->cutoff_stepcc = cutoff_stepcc;          region->cutoff_stepcc = cutoff_stepcc;
581          region->cutoff_curvecc = cutoff_curvecc;          region->cutoff_curvecc = cutoff_curvecc;
# Line 1170  namespace sfz Line 1172  namespace sfz
1172              else if ("xfout_hi" == key_cc) pCurDef->xfout_hicc.set(num_cc, ToInt(value));              else if ("xfout_hi" == key_cc) pCurDef->xfout_hicc.set(num_cc, ToInt(value));
1173    
1174              // filter              // filter
1175              else if ("cutoff_on"  == key_cc || "cutoff_" == key_cc) pCurDef->cutoff_oncc.set(num_cc, ToInt(value));              else if ("cutoff_on"  == key_cc || "cutoff_" == key_cc) {
1176              else if ("cutoff2_on" == key_cc) pCurDef->cutoff2_oncc.set(num_cc, ToInt(value));                  pCurDef->cutoff_oncc.set(num_cc, ToInt(value));
1177                    pCurDef->cutoff_cc = num_cc;
1178                } else if ("cutoff2_on" == key_cc) pCurDef->cutoff2_oncc.set(num_cc, ToInt(value));
1179              else if ("cutoff_smooth"  == key_cc) pCurDef->cutoff_smoothcc.set(num_cc, ToInt(value));              else if ("cutoff_smooth"  == key_cc) pCurDef->cutoff_smoothcc.set(num_cc, ToInt(value));
1180              else if ("cutoff2_smooth" == key_cc) pCurDef->cutoff2_smoothcc.set(num_cc, ToInt(value));              else if ("cutoff2_smooth" == key_cc) pCurDef->cutoff2_smoothcc.set(num_cc, ToInt(value));
1181              else if ("cutoff_step"  == key_cc) pCurDef->cutoff_stepcc.set(num_cc, ToInt(value));              else if ("cutoff_step"  == key_cc) pCurDef->cutoff_stepcc.set(num_cc, ToInt(value));

Legend:
Removed from v.2167  
changed lines
  Added in v.2175

  ViewVC Help
Powered by ViewVC