8.10Arpeggio under a melody
Suppose the melody is in your right hand.
You now cannot use the entire right hand for accompaniment.
So move the accompaniment mostly to the left hand.
For C:
LH:
C-G-E-G
while RH plays melody.
For Am:
A-E-C-E
This is one reason arpeggiated left-hand patterns are so useful for solo piano.