C# Class GAudio.Examples.DemoSceneMain

Inheritance: UnityEngine.MonoBehaviour, IGATPulseController
显示文件 Open project: gregzo/G-Audio

Public Properties

Property Type Description
chords PatternPitches[]
doubletimeLineColor UnityEngine.Color
fftLine DrawFFTModule
granularPattern PulsedPatternModule
particles UnityEngine.ParticleSystem
patternA PulsedPatternModule
patternB PulsedPatternModule
patternLine PatternLine
pulse PulseModule
sampleBank GATResamplingSampleBank

Public Methods

Method Description
IGATPulseController ( IGATPulseInfo prevPulseInfo ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnGUI ( ) : void
PatternAWillPlay ( PatternSample sampleInfo, int indexInPattern, double dspTime ) : void
PlayParticles ( ) : void
PlayStreakEnd ( PatternSample sampleInfo, double dspTime ) : void
Start ( ) : void
TryChangeChord ( ) : void
Update ( ) : void

Private Methods

Method Description
LerpFFTLineColor ( float duration, Color fromColor, Color targetColor ) : IEnumerator
LerpFFTLineColorRoutine ( double startDspTime, float duration ) : IEnumerator
TweenGranularPitch ( float duration, float targetPitch ) : IEnumerator

Method Details

IGATPulseController() public method

public IGATPulseController ( IGATPulseInfo prevPulseInfo ) : void
prevPulseInfo IGATPulseInfo
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

PatternAWillPlay() public method

public PatternAWillPlay ( PatternSample sampleInfo, int indexInPattern, double dspTime ) : void
sampleInfo PatternSample
indexInPattern int
dspTime double
return void

PlayParticles() public method

public PlayParticles ( ) : void
return void

PlayStreakEnd() public method

public PlayStreakEnd ( PatternSample sampleInfo, double dspTime ) : void
sampleInfo PatternSample
dspTime double
return void

Start() public method

public Start ( ) : void
return void

TryChangeChord() public method

public TryChangeChord ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

chords public_oe property

public PatternPitches[] chords
return PatternPitches[]

doubletimeLineColor public_oe property

public Color,UnityEngine doubletimeLineColor
return UnityEngine.Color

fftLine public_oe property

public DrawFFTModule fftLine
return DrawFFTModule

granularPattern public_oe property

public PulsedPatternModule granularPattern
return PulsedPatternModule

particles public_oe property

public ParticleSystem,UnityEngine particles
return UnityEngine.ParticleSystem

patternA public_oe property

public PulsedPatternModule patternA
return PulsedPatternModule

patternB public_oe property

public PulsedPatternModule patternB
return PulsedPatternModule

patternLine public_oe property

public PatternLine,GAudio.Examples patternLine
return PatternLine

pulse public_oe property

public PulseModule pulse
return PulseModule

sampleBank public_oe property

public GATResamplingSampleBank sampleBank
return GATResamplingSampleBank