MTG / sms-tools

Sound analysis/synthesis tools for music applications
https://www.upf.edu/web/mtg/sms-tools
GNU Affero General Public License v3.0
1.64k stars 754 forks source link

allocate yhfreq, yhmag, ystocEnv instead of resizing in the loop #127

Closed BenjaminOlsen closed 2 years ago

BenjaminOlsen commented 2 years ago

Sped up the function hpsTimeScale in hpsTransformations.py by allocating the hps output representation containers before the loop, instead of resizing them in every loop iteration.