Blog: Game Audio Scripting With Unity - Part 2

US Working with reverb      29/04/14

Audio Filters
Finally, let's look briefly at Audio Filters. Audio Filters are additional audio effects available with the Pro version of Unity. Specifically they are: Low Pass Filter, High Pass Filter, Echo Filter, Distortion Filter, Reverb Filter and Chorus Filter.

Audio Filters work a bit differently than Reverb Zones. While Reverb Zones have some awareness of the scene (via the Audio Listener and Audio Sources), Audio Filters can be thought of as simple effects units in a typical effects chain.

Audio Filters can also be applied to either Audio Sources or Audio Listeners. For example, if the player is underwater you could apply a Low Pass Filter to the Audio Listener, thereby affecting all Audio Sources. Conversely, if a machine was going haywire you could apply a Distortion Filter to the corresponding Audio Source.

As with everything else we've looked at, Audio Filters can be manipulated by script. The Script reference shows all variables and methods available. Here's the Low Pass Filter script reference, as an example.

Conclusion
I hope you've found this two part series useful. If you have any questions or if anything is unclear please leave a comment or contact me directly (snug at snugsound dot com).

Find out more about Unity

Adam McLellan, AKA Snug, is a DJ and producer based in Halifax, Nova Scotia, Canada. Since a young age he's been fascinated by the intersection of art and technology. When he's not producing or performing he's sharing his knowledge and ideas through teaching, writing for his personal blog (snugsound.com)




More From: UNITY
Even more news...


 

Want Our Newsletter?



More...

5 Firmware Updates that Totally Changed the Game 

Revisions that turned synths into brand new machines


With a lot of utillity


3 Home Keyboards that are Actually AWESOME Synths! 

Not somewhere you usually look...


The Magic of 1980's Pinball Soundtracks 

Suzanne Ciani's captivating sci-fi soundscape


Raspberry PI5 Hardware VST Host 

Floyd Steinberg gets the gear together


Competition: WIN FabFilter Bundles & Plug-ins! 

Prizes worth over €1100! Enter now


Hey there, we use Cookies to customize your experience on Sonicstate.com