G is a perfect note to play over Ebmaj7, as it is one of the four chord tones or that chord: Eb, G, Bb, D (see Figures 2 and 3). Here’s a rundown of the progression: G - Ebmaj7 - F# - C# - Cdim ...
Figure 1 is an improvised solo played over the 12-bar form ... with the inclusion of the notes B and D and F#. In bar 2, I imply, or describe, an A9 chord sound (A, C#, E, G, B) with the notes ...