MTG / essentia.js

JavaScript library for music/audio analysis and processing powered by Essentia WebAssembly
https://essentia.upf.edu/essentiajs
GNU Affero General Public License v3.0
645 stars 42 forks source link

Migrate to python 3 #62

Open jmarcosfer opened 3 years ago

jmarcosfer commented 3 years ago

Modify scripts in /src/python to use Python 3 instead of Python 2.

This mainly involves changing old string formatting style, for example:

return "const %s %s=std::vector<float>%s" % (map_types_to_cpp(param_dict['type'])

...to using the .format() string method or f-strings.