C# Class AudioDirectorScript, FrequencyDomain

Inheritance: MonoBehaviour
ファイルを表示 Open project: sagarpatel/FrequencyDomain Class Usage Examples

Public Properties

Property Type Description
audioSourceArray UnityEngine.AudioSource[]
averageAmplitude float
bScale float
calculatedRGB Color
currentSampleRate int
currentlyPlayingFileName string
dbValue float
decadesAveragesArray float[]
gScale float
initialLPFCutoffFrequency float
isBCIData bool
isLiveAudio bool
liveAudioSource UnityEngine.AudioSource
overallAmplitudeScaler float
pseudoLogArray float[]
pseudoLogArrayBuffer float[]
rScale float
rmsValue float
sampleArrayFreqBH float[]
sampleStartIndex int
samplesPerDecadeArray int[]
scalingPerDecadeArray float[]

Public Methods

Method Description
CalculateAverageAmplitude ( ) : void
CalculateRBG ( ) : void
HandleLiveInputSwitch ( string newDeviceName ) : void
HandleLowPassFilter ( ) : void
SpeadLocalMaxima ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
LaunchLiveAudioSource ( ) : IEnumerator

Method Details

CalculateAverageAmplitude() public method

public CalculateAverageAmplitude ( ) : void
return void

CalculateRBG() public method

public CalculateRBG ( ) : void
return void

HandleLiveInputSwitch() public method

public HandleLiveInputSwitch ( string newDeviceName ) : void
newDeviceName string
return void

HandleLowPassFilter() public method

public HandleLowPassFilter ( ) : void
return void

SpeadLocalMaxima() public method

public SpeadLocalMaxima ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

audioSourceArray public_oe property

public AudioSource[],UnityEngine audioSourceArray
return UnityEngine.AudioSource[]

averageAmplitude public_oe property

public float averageAmplitude
return float

bScale public_oe property

public float bScale
return float

calculatedRGB public_oe property

public Color calculatedRGB
return Color

currentSampleRate public_oe property

public int currentSampleRate
return int

currentlyPlayingFileName public_oe property

public string currentlyPlayingFileName
return string

dbValue public_oe property

public float dbValue
return float

decadesAveragesArray public_oe property

public float[] decadesAveragesArray
return float[]

gScale public_oe property

public float gScale
return float

initialLPFCutoffFrequency public_oe property

public float initialLPFCutoffFrequency
return float

isBCIData public_oe property

public bool isBCIData
return bool

isLiveAudio public_oe property

public bool isLiveAudio
return bool

liveAudioSource public_oe property

public AudioSource,UnityEngine liveAudioSource
return UnityEngine.AudioSource

overallAmplitudeScaler public_oe property

public float overallAmplitudeScaler
return float

pseudoLogArray public_oe property

public float[] pseudoLogArray
return float[]

pseudoLogArrayBuffer public_oe property

public float[] pseudoLogArrayBuffer
return float[]

rScale public_oe property

public float rScale
return float

rmsValue public_oe property

public float rmsValue
return float

sampleArrayFreqBH public_oe property

public float[] sampleArrayFreqBH
return float[]

sampleStartIndex public_oe property

public int sampleStartIndex
return int

samplesPerDecadeArray public_oe property

public int[] samplesPerDecadeArray
return int[]

scalingPerDecadeArray public_oe property

public float[] scalingPerDecadeArray
return float[]