Update mixer.py

refactored a thing