Jerome, > Hello I found a big problem in the class : Maybe I was not clear on this before, but: we should re-implement BMidi using the stuff from libmidi2, just like you did for BMidiPort. The current implementation of BMidi is incomplete and mostly wrong. Don't be surprised if it does things incorrectly. My suggestion is that you re-write all of the functions. Correctly, of course ;-) Matthijs