Blindfish2

Audio functions

  • Currently 3.0/5 Stars.
Sign In to rate this mediascape!

demonstration of how to apply functions to all Audios. In theory the principles used could be used for any group of objects.


  • Tutorial
  • Portable

blindfish | 28 April 2009
Tags: tutorial audio fade training

Download Now 57 downloads 1.41 MB

Description

This mscape contains two functions, which fade out and pause all playing audio clips and fade in all paused audio clips respectively. To achieve this the functions iterate through all audios (including those in folders), checks their current status and carries out an action where appropriate. See comments in code for an explanation.

Function calls have been placed on the up and down button events.

Audio courtesy of freesound.org. See readme in content folder for details.

Setup instructions

This demo relies on the Functions tool in the 2.5.3349 release, so won't work in earlier versions of the toolkit. The functionality could easily be duplicated in older versions of mscape by placing the code on Timers with a Period of 0. If you don't have the 2.5.3349 release installed just open the .msl file in a text editor and find the code ;)

Credits

blindifsh

MSIN: ABA0000574

Creative Commons

This work is licensed under a Creative
Commons Attribution 3.0 License
.