User Tag List

Results 1 to 7 of 7

Thread: Sound Channels

  1. #1
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sound Channels

    Is it possible to play a sample within a range of channels.

    I'm assigning 5 channels (for example) to each of 4 players, and editing the pan of these channels depending on where the player is on the screen.

    This works nicely - however, I can't find a good method of playing a sample in that players fixed channels - e.g. P1 shoots, play gun sample in one of channels 1-5.

    Initially I tried typing 1,2,3,4,5 in the expression editor, and this was a valid expression - but upon testing, it only affected the first number in the sequence. The same applied when I tried using 'and' or 'or' in the expression editor to try and affect multiple channels.

    So, my question is, is there a way of picking on multiple channels in the expression editor when you use 'play on a specific channel'?

    Thanks

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes. Use this evented sound handling system and you'll be able to do that easily - as well as applying modifiers to ranges of channels (e.g. set the volume to 50% on channel 1-5) without conflicting with emitters or other modifiers settings. It takes a little time to learn, but my .mfa offers a very elegant way to deal with MMF2's sound engine.

    In your case, you'll want to make the emitters play on channel 1-5. Either you can make those emitters set the pan of your sounds, or you can assign a modifier to channel 1-5. Only thing is, if you use my sound system, you have to make all sound operations through it and not use the normal sound related conditions for anything.

  3. #3
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Nifflas - looks like you've created an excellent solution and I love how helpful you are on these boards, however it appears soundplayer.mfx (extension) doesn't exist any more! I've tried the extension manager and a manual search for the file - only 7 exist and all the file links are broken

    I'm also using XNA exporter at the moment which doesn't support the extensions used although I definitely want to see your sound handling system, so if anyone out there can forward me soundplayer.mfx that would be superb.

    My original question still applies if anyone has a work-around - can I use the expression editor to make something apply to multiple channels (or at least use the limited set of extensions usable on the XNA exporter)

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fab - cheers Marv

  6. #6
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nifflas - that's some amazing stuff you've spanked out there! Love the slow motion effect - really wish it was usable in XNA stuff.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Should be useable in XNA, you have two options:

    1: Change the event that plays the sound into lots of events - one for each sample (because MMF2 doesn't let you pick a sound from an expression).
    2: Pay someone to make an XNA port of Sound Player. It's probably a very, very easy job to do because only two of the extension's actions needs porting for my sound thing to work.

Similar Threads

  1. HWA - Possible more sound channels?
    By izac in forum Hardware Accelerated Runtime
    Replies: 10
    Last Post: 1st February 2010, 07:15 AM
  2. 32 sound channels are not enough !
    By izac in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 8th June 2009, 09:43 PM
  3. question about sound and channels
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th June 2008, 12:08 AM
  4. Using multiple sound channels
    By Zenoff64 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th August 2007, 10:51 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
  •