Ejemplo n.º 1
0
 private static void AudioEvent(AudioEventArgs e)
 {
     if (e.DataType == SpectrumType.LINEAR)
     {
         if (e.SpectrumPoint < 2)
         {
             SpriteBatchHandler.reverseWubbing();
         }
         else if (e.SpectrumPoint < 8)
         {
             SpriteBatchHandler.increaseWubitude();
         }
         else
         {
             SpriteBatchHandler.decreaseWubitude();
         }
     }
 }
Ejemplo n.º 2
0
 public void CreateEvent(AudioEventArgs e)
 {
     visuals.Add(new EventVisual(e.SpectrumPoint, e.DataType));
 }