If you choose both modes, and only one of the cards is still a legal target when Reviving Melody tries to resolve, only that card is returned to your hand.

Artwork
Loading artwork…
Reviving Melody
Journey into Nyx · #138 · EN
Nonfoil—Foil—
Card rules
Choose one or both —
• Return target creature card from your graveyard to your hand.
• Return target enchantment card from your graveyard to your hand.
"Listen to my song, and you need never forge a golden mask to return to me."
Uncommon · Illustrated by Cynthia Sheppard
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You choose which mode you're using—or whether to use both modes—as you're casting the spell. Once this choice is made, it can't be changed later while the spell is on the stack.