Hi,
I'm trying to get a MidiFile to play in a basic applet, but I can't hear the sound. I used the Game Tutorial on here for the code, but I'm not sure if it will work with .mid's as it said it was using .au
Is there a special kind of object besides AudioClip that I need to make the Midi play? I've included my code just in case you need to look at it:
Code:Clip bgm; public void init() { bgm = getAudioClip (getCodeBase(), "GS_stadium.au"); } public void run() { bgm.play(); }


Reply With Quote


Bookmarks