For my game i store all game data in an archive i use tmemorystream to access files from it. For the moment i use tmediaplayer for playing midi files but that requires me to write the tmemorystream with the midi data to the disk and play that and delete the file afterwards. Is there a way i can play a midi file directly from a tmemorystream?