defined midi to stream