User Tag List

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

Thread: Master Volume, Channel Volume, Sound Volume

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Master Volume, Channel Volume, Sound Volume

    [This is really not specifically bound to the IPhone exporter since it happens generally with MMF]

    Say that you set the master volume to 70, then the volumes from channels 1 to 31 to 70 and finally, volume for channel 32 to 50. Now, if you play a sound on channel 32 MMF respects the volume set for that channel and the master volume.

    However:

    1) If you play a sound and let MMF choose the channel, then the MMF runtime only takes into account the master volume, disregarding whatever volume you set for the channels, and

    2) If you play a sound in a channel, say channel 1 (in my example set to 70), and set in the same group of actions the volume of that sound to, say, 100, it overrides the sound level set on the channel.

    I can live with "2", just by normalizing the level of all sounds with an external editor, like Audacity or else. But "1" forces me to manually set the channel for every sound play, instead of letting the MMF runtime pick it for me.

    My question is, can the behavior of MMF for "1" be modified so that MMF respects the max volume set for each channel?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    Please post only iphone related topicsz in this forum...
    About the iPhone implementation : the sound player work with channels. The volume is set for the channels, and I see no other way of making it work..

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    12,728
    Mentioned
    52 Post(s)
    Tagged
    2 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    1) We won't change this. In the best case we could add an option, but I don't see that to happen soon, too much work.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    "Please post only iphone related topicsz in this forum..."

    Ok, my bad. Won't happen again.

    "About the iPhone implementation : the sound player work with channels. The volume is set for the channels, and I see no other way of making it work.."

    Of course it works with channels. I just thought that when MMF is just about to play a sound where the dev hasn't specify a channel, the runtime:

    1) Choose a channel to play the sound,
    2) Assess the volume set for that channel,
    3) Plays the sound in that channel with its volume set to the result of: <volume of sound> * <volume of channel> / 10000 (and I guess the master volume is being taking care automatically).

    "1) We won't change this. In the best case we could add an option, ..., too much work."

    Ok, I┤ll manually assign each sound to a specific channel to get full control of the volume.

    "but I don't see that to happen soon"

    For that eventual moment in the future ...

    ... if you are internally treating each sound as an object (I mean, not in a "play and forget" way), then that object could have as fields:

    a) the channel assigned (either by the dev or by the MMF runtime),
    b) its raw volume (the one set for that type of sound), and
    c) its current volume (the one from which is playing now that results from the equation above, and if you want, also taking into account the master volume).

    This way the current volume (being played for the first time or modified) is relative to the master volume, the channel volume, and the sound volume.

    Thanks guys anyway, and I cannot wait to get beta 7

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    Found a bug: volume levels for channels are only respected for sounds already being played. I mean, if you play a sound in channel X and later change the volume of channel X, if the sound is still being played, its volume is adjusted accordingly.

    Now, if you play a new sound on channel X, the volume assigned to the channel is not taken into account to play the new sound.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    I think I corrected it. Set volume channel only stored the new volume of the channel if a sound was playing on that channel.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    As soon as beta 7 gets release I will test it

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    Not fixed

    Plus, sounds play really slowly. Is anything in beta 7 messing with the speed that sounds should play?

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    Can you send me an example showing the set channel volume problem?
    For the speed of the sounds, I'll see that with Yves

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Master Volume, Channel Volume, Sound Volume

    > Can you send me an example showing the set channel volume problem?

    Sure. As soon as I get back home, I┤ll upload the example file.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Volume keys should change multimedia volume
    By qenio in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 14th October 2012, 09:56 AM
  2. [BUG RC1] Channel Volume Reversed
    By Danny in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 13th October 2012, 06:14 PM
  3. [Request] Set volume on channel #X
    By Koji_Kabuto in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 4th December 2011, 04:31 PM
  4. Main volume and Channel volume
    By ASD in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 23rd August 2010, 06:51 AM
  5. BUG: Channel volume glitches
    By Shroomlock in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th May 2008, 04:51 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
  •