Exemple #1
0
 public PadSynthBuilder() : base(null)
 {
     ParameterSetters.Add("frequency, freq, f", param => SetFrequency((float)param));
     ParameterSetters.Add("fftsize, size", param => SetFftSize((int)param));
     ParameterSetters.Add("bandwidth, bw", param => SetBandwidth((float)param));
     ParameterSetters.Add("scale, bwscale", param => SetScale((float)param));
 }
 private void Init()
 {
     ParameterSetters.Add("freq, f, frequency", param => SetFrequency(param));
     ParameterSetters.Add("stretch, s", param => _stretchFactor = param);
     ParameterSetters.Add("feedback, a", param => _feedback     = (float)param);
 }
Exemple #3
0
 private void Init()
 {
     ParameterSetters.Add("probability, prob", param => _probability = param);
 }