User Tag List

Results 1 to 3 of 3

Thread: Trouble Playing External Sound Files

  1. #1
    No Products Registered

    Join Date
    Aug 2006
    Location
    Australia
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trouble Playing External Sound Files

    I've been working on an app that uses a lot of external sound files. Usually with MMF1.5 I'd load them via an extention like Direct Show but since MMF2's in-bult sound object can load external sound files I've been using that instead.

    Everything works great when I test the program from within MMF but once I build the stand-alone program the sounds do not play at all. At first I thought it was because I got the file path wrong but the same path entered into Direct Show plays fine. I also tried direct paths to my hard disk eg. "C:\soundfiles\carhorn.wav" and putting the wav in the same folder as the app with no file path, but nothing seems to work for me.

    Can anyone think what I am doing wrong. Has anyone else had success with using the new "play sample file..." actions when compiled into a stand-alone app.

    Like I said everything works fine from within MMF and the multiple channel support and volume controls are great. I just can't seem to get the sound to work when it comes to building the final exe.

    I am using MMF2 Developer with build R241.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Trouble Playing External Sound Files

    Go to application properties, and under build there is a "sound filters" button. Click this and you are presented with a list of sound types, with the "Automatic" option selected.

    Now usually using the automatic option is fine. When you build your EXE MMF2 looks at the sound within your application and decides which ones are really needed (this cuts down on file size). If, however, you are using external files, then you should be setting this manually and selecting the filters that you want to be available to your application.

    P.S. This question is also answered in the MMF2 help file, under FAQ (Frequently Asked Questions).

  3. #3
    No Products Registered

    Join Date
    Aug 2006
    Location
    Australia
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble Playing External Sound Files

    Thanks Joshtek that did the trick.

Similar Threads

  1. [BUG] - Same sound playing
    By Nico in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 3rd September 2011, 02:36 PM
  2. Having trouble playing music
    By jathak in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 4th May 2009, 07:22 AM
  3. Bug? Playing external music file
    By Dines in forum File Archive
    Replies: 11
    Last Post: 15th July 2008, 01:35 PM
  4. Sound not playing
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th February 2008, 11:02 PM
  5. external sound files
    By Dave in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th August 2007, 10:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •