MIDI over USB with Leonardo

there is an example to programming a arduino leonardo with a Teensy library ?