AudioKit / AudioKitUI

Controls and Visualization for AudioKit apps
MIT License
187 stars 52 forks source link

Prevents amplitudes from being mapped below 0.0 #2

Closed Matt54 closed 3 years ago

Matt54 commented 3 years ago

Issue: The map function is producing negative values, which is causing the FFTView "caps" to be offset below the view. Fix: Set all negative values to 0.0

aure commented 3 years ago

Thanks!