User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Muting/unmuting sounds

  1. #1
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Muting/unmuting sounds

    Hello all.

    I am playing various different samples in a frame but have now built an "Options" frame for the standard game options like muting/unmuting sounds. I have a Global Value which changes depending on the user choice in the Options frame for muting sound but when I test for this option at the beginning of each frame (IF "Sound = 0" THEN "Stop any Sample").

    This mostly works but some sounds still leak through as an annoying "click" sound whereas others are completely silent.

    Can anyone explain why this is happening and how better to handle muting/unmuting of sounds?

    Thanks in advance,
    Tim.

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Muting/unmuting sounds

    You could send some menu commands to check/uncheck the play samples or play music menu choices, even if the menu is hidden.

    This might be a better way to do it but it would require you to do a bit of eventing to make it work how you need it to.

    A nice little example file of this would be pretty cool if anyone has some free time.

  3. #3
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    An example would be great if anyone can put one together - I cannot get the sounds to silence properly at all!

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    Have you trying stoping all the channels instead of samples?? Maybe it will work better.

  5. #5
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    Is that with the "Stop any sample playing" option? If so, I have tried that with the same results unfortunately. Otherwise I can't find a "Stop all channels" option.

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    Can't you just manually set it to stop all the channels you don't want playing? It's should take more than a couple of minutes to make.

  7. #7
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    Should each sample be on a separate channel?

    I must admit that I haven't been assigning channels to samples at all while building the game but that may well be just through lack of knowledge! I have a 45-minute looping music sample as the soundtrack and then a number of individual samples for shooting/moving etc. noises.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    I find that just setting the channel volume to 0 works best for muting sounds.

  9. #9
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    So should I set all my samples to play on Channel 0? Or should each sample use a different channel? Or the soundtrack uses Channel 0 and all other sounds use Channel 1 maybe?

    Sorry, but this is my first game in MMF so am unsure on how the sound should be laid out!

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Muting/unmuting sounds

    It's probably a good idea to map out the sounds over different channels. Set the music to channel 1, all effect to channel 2-3, all ambient sounds to 4-5 etc. You'll have greater control over the sound this way.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Question about muting a music sample (not pausing)
    By mrmdesign in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th July 2011, 11:23 AM
  2. Parent & Sub-Applicaton sound muting possible?
    By Kid_Roleplay in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th November 2010, 09:20 AM
  3. Muting events?
    By Reactor in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 20th May 2009, 03:43 PM
  4. Muting sound in in the application
    By Digitalmayhem in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th May 2009, 06:30 AM
  5. Sounds sounds sound
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th November 2007, 07:26 AM

Posting Permissions

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