AudioChorusFilter.feedback Manual     Reference     Scripting  
Scripting > Runtime Classes > AudioChorusFilter
AudioChorusFilter.feedback

var feedback : float

Description

Chorus feedback. Controls how much of the wet signal gets fed back into the chorus buffer. 0.0 to 1.0. Default = 0.0.

JavaScript
// Process only once the signal and dont introduce feedback to the filter.

@script RequireComponent(AudioSource)
@script RequireComponent(AudioChorusFilter)

function Start() {
GetComponent(AudioChorusFilter).feedback = 0;
}

using UnityEngine;
using System.Collections;

[RequireComponent(typeof(AudioSource))]
[RequireComponent(typeof(AudioChorusFilter))]
public class example : MonoBehaviour {
void Start() {
GetComponent<AudioChorusFilter>().feedback = 0;
}
}

import UnityEngine
import System.Collections

[RequireComponent(AudioSource)]
[RequireComponent(AudioChorusFilter)]
class example(MonoBehaviour):

def Start():
GetComponent[of AudioChorusFilter]().feedback = 0