Exemplo n.º 1
0
 public EQ(int channel, int priority, float[] octavesSpacing)
     : base(channel, priority, IntPtr.Zero)
 {
     foreach (var f1 in octavesSpacing)
     {
         bql.Add(f1, BiQuadFilter.PeakingEQ(44000, f1, 4, 1));
     }
     OctavesSpacing = octavesSpacing;
 }
Exemplo n.º 2
0
 public void Update(int band, float gain)
 {
     bql[OctavesSpacing[band]] = BiQuadFilter.PeakingEQ(44000,
                                                        OctavesSpacing[band], .2f, gain);
 }