Example #1
0
        public override void SetupOn(AudioSource source)
        {
            AudioHighPassFilter orMakeFilterOn = SoundFilter.GetOrMakeFilterOn <AudioHighPassFilter>(source);

            orMakeFilterOn.cutoffFrequency    = this.cutoffFrequency;
            orMakeFilterOn.highpassResonanceQ = this.highpassResonanceQ;
        }
Example #2
0
        public override void SetupOn(AudioSource source)
        {
            AudioLowPassFilter orMakeFilterOn = SoundFilter.GetOrMakeFilterOn <AudioLowPassFilter>(source);

            orMakeFilterOn.cutoffFrequency   = cutoffFrequency;
            orMakeFilterOn.lowpassResonanceQ = lowpassResonaceQ;
        }
Example #3
0
        public override void SetupOn(AudioSource source)
        {
            AudioEchoFilter orMakeFilterOn = SoundFilter.GetOrMakeFilterOn <AudioEchoFilter>(source);

            orMakeFilterOn.delay      = delay;
            orMakeFilterOn.decayRatio = decayRatio;
            orMakeFilterOn.wetMix     = wetMix;
            orMakeFilterOn.dryMix     = dryMix;
        }
Example #4
0
        public override void SetupOn(AudioSource source)
        {
            AudioReverbFilter orMakeFilterOn = SoundFilter.GetOrMakeFilterOn <AudioReverbFilter>(source);

            this.baseSetup.ApplyTo(orMakeFilterOn);
        }