Hello I have finished to implement import and export function (format 0 and 1). But for that I have made a lot of change in the BMidiEvent class. The sort function of BMidiStore is really slowly I try to make a bubble sort but I hope we(you) can speed it. Next step for me is rewriting BMidiPort Answer me quickly if I can't change BMidiClass. A+ Jerome