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)

Send us your News: If you have a story or product you'd like us to cover - email news@sonicstate.com or use our contact form or join our Discord and post in #cool-finds


Get the latest headlines, offers and more in our mega sonicstate newsletter - delivered to your in box every week

More From: UNITY
Even more news...


 

Get Our Newsletter


More...

SonicLAB: Genki Katla With Venus Theory 

We look at the volcanic synth


Lifeforms SV-2 - Pittsburgh Modular's Redesigned Semi-Modular 

SV-1 successor with thru-zero FM


SonicLAB: Pittsburgh Modular Lifeforms SV-2 

Classy analogue synth reviewed


AmiGUS mini: 24-bit Sound for Amiga 1200 & 600 

32 Channel PCMCIA Soundcard in Beta


SonicLAB: Lambda Synthetics Polypulse 

Algorithmic Performance Workstation


Will Vintage Gear become Liquidated E-Waste? 

Geopolitics, CRTs, Antique Computers & Vintage Synths