NessStretchUnity - A NessStretch / PaulStretch Implementation for Unity

NessStretchUnity - A NessStretch / PaulStretch Implementation for Unity

21 Lượt nghe
NessStretchUnity - A NessStretch / PaulStretch Implementation for Unity
This is a Unity implementation of the NessStretch algorithm - converted from the Python NessStretch reference into a streaming-version using C#, and then into C# for Unity. What are we stretching? In this case, a snippet of "Sia - Wild Ones". If I play the original clip then the video gets flagged, so not doing that =D This video is recorded from the Unity Recorder package, but it does run perfectly on my Google Pixel 8. Tricky to run and record on an AVD though (it stutters) as my CPU is an i7-7700k, which is several years old at this point, so that doesn't surprise me at all. It does the math though - uses the NWaves package for FFT and Inverse FFT math, and sounds alright. The memory usage on a release build is way, way less on Android than is shown here - it uses like like 200MB or so for any sized audio. It's just as I'm recording from the Unity Editor it reports the entire RAM usage for the app plus the editor here - hence we're in the GB range.