AUDIO: (FM-TOWNS) - cleanup euphony code

(rework parts of the code + improve variable naming)
AUDIO: fix invalid mem access in midiparser.cpp