User Tag List

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

Thread: Sound Generator

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Apr 2008
    Posts
    421
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sound Generator

    Hi,
    I am trying to do some experiments with sound generator. I have tried to change the frequency and wave form of the generated sound without success. I can hear a sound is generated but how can I control its frequency and wave form?


    Best Regards

    File

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Sound Generator

    Hi,

    When you change the wave type or so, you have to re-generate the sound. Then, add the sound to the MMF bank.

    E.g.

    Set wave type to 2
    Generate sound
    Add sound as "Hello"

    Then use the Sound Player object to play "Hello".

    EDIT: You just added a file..... do not generate before changing the wave type :P

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Apr 2008
    Posts
    421
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sound Generator

    Thanks Looki,

    I will give it a try now.

    Regards

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sound Generator

    Is this object fixed now? Last time i checked it wouldn't even show in the object list anymore, well the flash versions anyway.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Apr 2008
    Posts
    421
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sound Generator

    Hi Looki,
    I did as you mentioned. I can change the wave form without any problem. But still I cannot change the Frequency. In fact it generates a sound even if I do not mention the frequency which I suppose it is the default frequency being used. If I try to change the frequency before I generate the sound, no sound is generated and if I do it after the sound is generated it does not change the frequency of the sound.

    Regards,

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Apr 2008
    Posts
    421
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sound Generator

    Yes you are right I had the same problem. But it is ok now.

  7. #7
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Sound Generator

    Ham I can't test it right now because I don't have any sound output here... maybe later! I'll get back to you.

  8. #8
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Sound Generator

    Oops, I know the problem now. You use extremely high values!
    The variables accept values around 1. The default frequency is 0.3. You can get all the values via expressions if you need guidance. Also, you can enumerate them and output name+value for a quick overview. Sorry for that, needs better documentation+examples!

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Apr 2008
    Posts
    421
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sound Generator

    Quote Originally Posted by Looki
    Oops, I know the problem now. You use extremely high values!
    The variables accept values around 1. The default frequency is 0.3. You can get all the values via expressions if you need guidance. Also, you can enumerate them and output name+value for a quick overview. Sorry for that, needs better documentation+examples!

    Thank you Looki for the explenation. I can change the frequency now. But as I understand this is a factor which is being multiplied by another to generate a frequency which can be heard. What frequency is generated if the factor is 1?

    Regards,

  10. #10
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Sound Generator

    I honestly didn't know because I simply implemented the source code of sfxr.

    Now that I looked at the code (which is a bit messy and there are no comments), it seems to be quite complex. I can't make any sense out of it. It would probably be easier to use a program like Audacity to measure it.



Page 1 of 2 1 2 LastLast

Similar Threads

  1. Sound Player & Generator
    By Looki in forum Extension Development
    Replies: 88
    Last Post: 17th January 2016, 01:35 AM
  2. Sound generator
    By Dave78 in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 27th June 2013, 10:30 PM
  3. Weird Sound Card Beeping - Sound Player Extension
    By xmetalxthrasherx in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 12th July 2011, 06:09 AM
  4. Sound generator
    By Ham in forum File Archive
    Replies: 0
    Last Post: 12th March 2011, 06:08 PM
  5. [Extension Request] Sound to text to Sound Convert
    By LB in forum Extension Development
    Replies: 43
    Last Post: 1st December 2008, 12:58 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
  •