View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003180Studio Archive[All Projects] AudioPublic2012-05-05 16:092015-07-07 16:49
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
         set sprite to volume_off

create object play
     test is bgm sound playing
         stop sound bgm
         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
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.
Mike Dailly (Manager)
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 - 2017 MantisBT Team
Powered by Mantis Bugtracker