In the given sentence, for the word "frivolity," you can substitute words like: fun, lightheartedness, enjoyment, amusement, whimsy, etc. That is, the evening was formal and stultifyingly dull before she made her speech.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.