Example D > A
G>D
E>B
D>E
what are some cool ways of jamming over these two chords without repeating triads too much
The first three are all I-V changes, perhaps the most basic progression ever in a major key.
The I-IV is also very common but sounds different. While a V chord naturally resolves back to the I chord, the IV chord is a much weaker resolution so it’s a popular jamming vehicle because it never feels like it’s ending.
The D-E implies IV - V key of A major so it’s pretty unstable.
Another two chord wonder is I -vi (that’s 6 minor) like C - Amin
Now, as to what to play depends on how long you stay on each chord. If you’re switching every bar that’a a lot different than spending four bars on each or six bars on the first and two on the second, etc.
When the same chord lasts longer than one bar, it sounds fine to start on a chord tone that is NOT the root. If you;re in the key of C major and the first four bars is the C chord, you could play something like this:
C D E C - E G A E - G A C G - E G D E
That’s mainly chord tone with a few scale tones, the D and A being the two notes that fill out the C major pentatonic scale ( C D E G A)
Now if you follow that with four bars of the G7 chord (G B D F):
G D B G - B D G F - D F G B - D B G B
which resolves nicely to the C on the downbeat of the next bar
So how did I come up with that? It’s a mix of arpeggios and major pentatonic fragments. The next level would be to add the two notes not found in the pentatonic scale, the 4 and the 7, F and B:
C D E C - D E F G - C B A G - A G E D
You can also use the minor pentatonic to give it more tension, making it “bluesey”. Here the Bb and Eb are used from that scale in bars 2 and 3.
C D E C - E G Bb C - G Bb Eb F - C E G C
Some other licks you often hear using chromatic runs, including notes not in the major scale. Here’s one in you can use for the I-IV in C (chords are C and F, one bar each):
C D Eb E - F A Bb B - C Bb A G - F G Eb F
It’s just a mix of the major scale and the minor pentatonic, creating lines moving up by half steps (chromatic) in the first two bars and then just the minor pentatonic in the next two bars.
For I-vi in C major, two bars of C followed by 2 bars of A minor.
C E G A - C Bb G Ab - A C E C - E C A G
The Ab is not in the key of C but works as passing tone between G and A
So start messing around with patterns like this and like Lobster11 wrote, also start messing around with the rhythm.
Have fun!