metrasynth / radiant-voices

Work with SunVox file format tools (create, modify, read, write)
https://radiant-voices.rtfd.io/
Other
40 stars 3 forks source link

Replace awesome-slugify dependency with simplified inline function #15

Open matthewryanscott opened 6 years ago

matthewryanscott commented 6 years ago

The only use of slugify is to create Python-compatible aliases for labeled user-defined controllers on MetaModules.

For example, if you had a label called "Cutoff Frequency" then it would alias that controller as u_cutoff_frequency.

The reason I thought this would be needed is because slugify will do a transformation of non-Latin to Latin characters. For example, "частота среза" would be changed to u_chastota_sreza.

However, this is not necessary. u_частота_среза is a valid identifier in Python.