Thanks for the update~
The sounds being erased with the event works perfectly, but I was also wondering if the sound itself could also not play if any of the event pages weren't active (such as any switch/variable conditions not being met in the first place).