But, I would emphasize, they usually do that by first genetically modifying the creature whose brain they want to manipulate to make some of its neurons into opto-couplers. They wouldn't be doing that if there was an easier way. :)
(It turns out that—even without the genetic modification—some frequencies of flashing light do cause the brain to do certain things. See, for example, https://cosmosmagazine.com/biology/flashing-light-clears-tox.... But the effects of this, from what I understand, aren't the same effect you would get by actually getting the brain to entrain to that frequency; it's maybe entraining the pulse-rate of the brain's glymphatic channels or somesuch, but not synaptic firing.)
https://news.mit.edu/2016/visual-stimulation-treatment-alzhe...
And then of course... we shouldn't expect to be able to sum up highly effective heuristics for understanding the world in a single sentence.
Are you completely ambivalent to such a ridiculous claim? No, you should disbelieve it unless you get a sufficient amount of evidence.
So, disbelieve in part by trying to disprove. Win win.
Auditory Beat Stimulation and its Effects on Cognition and Mood States
If you count any sort of sound as "music", then sure.