yes, there is a way, first you load the game to your emulator, then you go to the area in the game where you want to get the music from, now, i asuming that you are using VisualBoyAdvance, so, when you are in that area, go to tools, then go to record, then click on sound recording, when you want the sound to stop recording, just exit out of the emulator.