Taking a short phrase from a popular jazz tune and working it through the keys by alternating between singing and playing is great way to learn a new melody that comes directly from the jazz tradition.
This is a simple altered dominant line from introduction to Thelonious Monk’s tune ‘Round Midnight. The numeric analysis of this melody is: #9, b9, #5, 3, #11.
All the notes come from the altered scale (the 7th mode of melodic minor scale). The altered scale is: 1, b9, #9, 3, #11, #5, b7, 1.