Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003180GameMaker: Studio[All Projects] Audiopublic2012-05-05 16:092013-03-05 15:35
Reporterkitramos 
Assigned ToMike Dailly 
PriorityMediumSeverityC - GeneralReproducibility100%
StatusclosedResolutionno change required 
PlatformWindows, HTML5OSWindows 7OS Versionhome 64 bit sp1
Summary0003180: Midi Audio will not play
Descriptioni was going though the tutorial and got to the part about adding background music and while I can preview the sound, it will not play in game. the game doesn't seem to glitch or crash when it tries but no music ever comes out. I then added a thing to test if the sound was playing in the windows target it will always act as if the sound isn't playing, but in the html5 target it will pass that test after it attempted to start the sound even though the sound hasn't actually started in either target. the other sounds play on the game, in both targets.
Steps To Reproduceadd mid file as sound name it bgm, use the preview button, sound plays.
create object test
add onCreate event to play the bgm sound set to loop to true.
add OnLeftMouseClick event
     test is bgm sound playing
         set sprite to volume_on
     else
         set sprite to volume_off

create object play
     test is bgm sound playing
         stop sound bgm
     else
         play sound bgm set looping true

put both objects in the room.
click test object
click play object
click test object again.
Additional Informationin the html5 target, when I click the toggle, then the test it will not always change state but if wait a few moments after clicking toggle to hit test then it will flip.

on windows target the test always shows no sound playing even after I hit toggle and then wait a few moments just as with the html5 target, but this one stays at no sound playing. also get a unsupported file error in the debug console every time I hit either object.
GM Version
Attached Files

- Relationships

-  Notes
(0001696)
alexandervrs (updater)
2012-05-05 16:19

midi is unsupported from now on and eventually all references to it (Tutorials, Background sound kind, GML functions, Open file dialog ) will vanish.
(0001699)
Mike Dailly (administrator)
2012-05-05 17:26

Midi is no longer supported in Studio... sorry. It's simply not possible to get consistent sounding music across platform; and that's saying that the platform even supports it.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker