private void reset_chorus_filter(AudioChorusFilter acf)
{
//reset chorus filter to default
foreach (ConfigNode filter in filter_defaults.nodes)
{
if (filter.name == "CHORUS")
{
if (filter.HasValue("dry_mix")) acf.dryMix = Single.Parse(filter.GetValue("dry_mix"));
if (filter.HasValue("wet_mix_1")) acf.wetMix1 = Single.Parse(filter.GetValue("wet_mix_1"));
if (filter.HasValue("wet_mix_2")) acf.wetMix2 = Single.Parse(filter.GetValue("wet_mix_2"));
if (filter.HasValue("wet_mix_3")) acf.wetMix3 = Single.Parse(filter.GetValue("wet_mix_3"));
if (filter.HasValue("delay")) acf.delay = Single.Parse(filter.GetValue("delay"));
if (filter.HasValue("rate")) acf.rate = Single.Parse(filter.GetValue("rate"));
if (filter.HasValue("depth")) acf.depth = Single.Parse(filter.GetValue("depth"));
//if (filter.HasValue("feedback")) acf.feedback = Single.Parse(filter.GetValue("feedback"));
}
}
}