2 Attachment(s)
Bug? Playing external music file
Heyup! I think I've found a bug!
I'm using build 247, and have attached the mfa file.
I've made a tiny app to preview the WAV music loops in the MMF Library CD. You drag a wav on the window, and it plays and loops it. This works fine, until I build it as an exe.
When built, it registers the drop (by displaying the filename), but the WAV will not play.
Any suggestions?
Try building it please and tell me if it works for you.
Re: Bug? Playing external music file
Did you use a fullpath? try doing something like $appath$+"Music/Msuic.mid"$ as that might help.
Re: Bug? Playing external music file
Nope, that doesn't work dragonguy.
Re: Bug? Playing external music file
The path is always a full path, as it's returned via the drag-drop features of MMF.
Try it, it works fine when run as an mfa file (drag a wav onto the app window and it'll play and loop), but doesn't work when run as a compiled exe.
I'm fairly sure it's a problem with the "Play and Loop Sample File On Specific Channel" command.
EDIT: Can I have some confirmation that others have this problem when running and compiling it?
Re: Bug? Playing external music file
Sounds like yet another sound filters problem. The automatic setting won't work with external files.
BTW that's an uber simple little app that allows to easily preview sounds/musics in various formats. Might be useful. :)
Re: Bug? Playing external music file
Yes, this problem is fixed in the build 248. In the build 247 if you play only external sound files you have to edit the sound filters in the properties of the application, unselect "Automatic" and manually select the filters you need.
Re: Bug? Playing external music file
Good to know it is fixed. I remember I had this problem sometime ago and posted for help. One of the mods recommended the Yves solution above.. unselect Automatic and manually select only the filters needed (in my case, only OGG). I recently had this issue again and remembered the solution and it worked. :)
Re: Bug? Playing external music file
Yep, that's what I had to do to get my one to work
Re: Bug? Playing external music file
Yup, did it and it works! :) Nice to know it's fixed in 248 though. :)
Re: Bug? Playing external music file
Out of curiousity, how does the fix work? Does it actually look through the expressions for things that looks like file extensions, or is there some simpler explanation?