system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How the play by play announcing works on NBA video games like 2k12?

It sounds real and is very smooth with the gameplay,they never mess up the names! It sounds as if they recorded every single player doing every situation and now they just pick and choose what to use!
gpt
They break it up. They'll record the announcer saying the players name - say Dirk Nowitski - possibly with different inflections (beginning of a sentence, excited, end of a sentence, etc.). Then they'll record the different plays or announcements - say "shoots for 3!" - and combine them. The game knows which player is doing what action and can combine them to make a complete sentence. If Dirk Nowitski shoots for three they'll combine the "Dirk Nowitski" sound bit and the "shoots for 3" sound bit to make it one sentence. They might also use some sort of algorithm to smooth out the breaks in between each bit, but it is sometimes noticeable (especially in older games). You may also notice that some phrases may be repeated but with different player names, or they go with a generic phrase like, "And it's good!" which don't include a player name.