The sound you are hearing is a modified flute playing a high-pitched, piercing melody. It's not a traditional whistle, but rather a very specific and deliberate musical choice to create a tense and ominous feeling.
The theme music was composed by James Newton Howard, and it has become synonymous with the Hunger Games franchise, capturing the essence of the dystopian world and the impending danger.