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(); } } }
public void CreateEvent(AudioEventArgs e) { visuals.Add(new EventVisual(e.SpectrumPoint, e.DataType)); }