fixed bug with midi=0 and made separate loudness controller