fixed midi read example