> I want to make a midi file player, a piece of code who can open a midi file and play this midi file (with loop capability, rewind, forward ...) on a midi output of my choice. Oh, it is very simple but without midi output :)) sr = 44100 ksmps = 64 nchnls = 1 instr 1 abyte loscil 0.7, 1/5, 1, 1, 1 out abyte endin f1 0 0 -1 "fanfare.mid" 0 1 1 i1 0 8 e tito