User Tag List

Results 1 to 8 of 8

Thread: [Bugs] Issues with the sound object

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation [Bugs] Issues with the sound object

    While developing an application that uses advanced sound techniques, I've noticed several problems:

    - The get channel/sample frequency expression is not supported despite the fact all actions related to frequency are supported
    - It's impossible to play the same sample at two or more different channels at the same. The only workaround I've got to work outside of the standard Windows runtime is to use a different clone of the sample for each channel, which obviously is a dirty hack.
    - It seems that once a channel volume drops below a certain threshold it's considered muted despite being above zero. It creates an ugly artifact when fading in/out samples.

  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)
    -> 1. iOS does not provide any function to get the frequency of a sample. You can change the frequency though, but it is not accurate.
    -> 2. True,j I have to work on this
    -> 3. This is not of my doing, and is a behavior of iOS or OpenAL

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1. What do you mean by not accurate? It would be nice if the runtime worked around this limitation to ease porting from different runtimes, i.e. having a built in runtime array of the frequency of each channel, updating it whenever a sample starts or the frequency actions are used, and implement the get frequency expressions using this array.
    2. Thanks.
    3. Too bad. =/

  4. #4
    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)
    Not accurate means that the frequency is not exactly the same as the one you ask for... But I do my best.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    cfullerNY's Avatar
    Join Date
    Oct 2011
    Posts
    356
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thats interesting...so its possible to change the frequency of a sample at runtime, just not perfectly?

    my little bird.wav can play at different pitches just from one wav file?

  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)
    Yes it is. The frequancy change is based on a frequency of 42000 Herz. If you use something higher, the pitch is increased, lower it is reduced.

  7. #7
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    François, is it possible to change the frequency of a channel while it is playing? I've did some tests, but I'm not sure of the result. Maybe my sound it too short, it seems that it does not work.

    EDIT: Ok, it works for both MP3 and WAV files.

  8. #8
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    For the record, with the iOS runtime setting a channel's frequency only works AFTER having started to play a sample on the said channel. This is not the same behavior as with the PC runtime.

Similar Threads

  1. Bugs when handling sound cross platform
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 13th December 2013, 01:00 PM
  2. Minor issues - not bugs
    By Tuna in forum Fusion 2.5
    Replies: 4
    Last Post: 7th October 2013, 05:25 AM
  3. Bugs 257.6 major issues
    By Redsquirrel in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 12th March 2013, 12:11 PM
  4. Some bugs/issues in MMF2 B252
    By Simon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th September 2011, 11:16 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
  •