python/lib/aubio/cut.py: clean-up, split in functions