ok thank you that worked! i was using gambatte i think
Try using a different Game Boy core, since as far as we know, the Gambatte core has some issues when emulating GBStudio games, especially with the sound.