1, 2, and 3 are to hold down different valves. Space bar is to play a note. Up and down arrows are to raise or lower the pitch.
Optimized, moved trumpet to stage, and note holds down correctly.