Advanced Sound Object

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • This object basically is an add-on (NOT a replacement like Onu) to MMF's sound engine:

    • Create and delete sounds from files or memory
    • Full control over sound playback via their names (instead of selecting it in MMF's sound dialogue)
    • Generate custom sound effects - thanks a lot to Tomas Pettersson and Please login to see this link.


    I highly recommend you to download sfxr and mess around with it. It's a really great tool and it will help you to use the extension since it is *very* similar to the object' sound generator - You can even import/export SFS files that are used by it.

    It's rather late and the examples are a bit messy - nonetheless, I hope that you will enjoy this object. :)

    Please login to see this link.

    Here is a simple demo of the sound generator.
    Please login to see this link.

    Please login to see this link.

  • Thanks. :)
    I have uploaded a new version.
    You can get all generator variables via expressions (Old expressions have been removed since they were useless).
    The menus are a bit more organized now, and you can disable the genrator completely in the object's properties (for the sake of efficiency), plus you can set the length of the buffer for the sound generator (It's 5 seconds by default).

    Please login to see this link.

  • You can use MMF's inbuilt expressions for that! They take a string parameter anyway.

    For example: SamplePosition("Test")

    Playing a looped sound is not yet supported but I might add it later.

    However you can simulate looping with the expressions:

    SamplePosition("Test") == SampleDuration("Test")
    + Set position of sound "Test" to 0

    Please login to see this link.

  • Update. The object has been renamed to simply "Sound Object" - the link is different as well:
    Please login to see this link.

    You can now play a sound and directly specify its parameters (volume, pan..). Also, there is a condition that is triggered whenever a sound is played. You can then get the sound index and the channel it is played on via expressions.

    Please login to see this link.

  • Thanks for this extension :)

    Just wondering can you use the filters etc on wav sounds you load or just generated? I just had a quick look through the examples and options but it seems for generated sounds only.

  • For generated sounds only. It would take too much effort (and increase in file size etc.) for it to work on any sound.

    I *could* add support for loaded WAV files - No OGG etc. - but that sounds kind of messy. A dedicated extension would be nicer.

    Please login to see this link.

  • That is what i was originally thinking thanks for the info.

    Yeah a dedicated effects extension would be much better. Sfxr is mainly aimed at retro sounds also so the filters and effects could be more advanced in another object.

    I just sent you a PM by the way, hopefully you got it ok :)

  • The problem is that MMF's sound engine was not meant for effects etc. - You'd have to use a separate library like FMOD or Bass that allows you to easily apply effects.

    Thanks for the PM - Just so everybody knows (I know some people on Gwerdy asked me this before) - I'll port the extension to Flash :) Thanks to Atom who discovered an AS3 version of sfxr!

    Please login to see this link.

  • Ok, yeah Xlua FMOD was probably the most advanced audio for MMF i have seen yet but i think that has some license to it. Most of the time is doesn't matter because you can just render to wav or mp3 sounds but realtime effects like filters and reverb would be very useful. Hopefully MMF3s sound engine will be more advanced though. :)

    This is a very useful object though and nice for retro sounds, a flash version will be great so hopefully that code works ok. Thanks Looki :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!