C# Class GAudio.PulsedPatternModule

Inheritance: AGATPulsedPattern
Exibir arquivo Open project: gregzo/G-Audio Class Usage Examples

Public Methods

Method Description
AddSample ( string sampleName ) : void

Adds a new PatternSample at the end of the list. You may then retrieve the updated samples ( Samples property ), and configure the newly added sample's parameters.

InsertSample ( PatternSample newSample, int index ) : void

Inserts a pre configured PatternSample in the pattern.

PlaySample ( int index, double dspTime ) : void
RemoveSampleAt ( int index ) : void

Removes the PatternSample at specified index.

Protected Methods

Method Description
CanSubscribeToPulse ( ) : bool
OnDestroy ( ) : void
UpdatedSampleCount ( ) : int

Method Details

AddSample() public method

Adds a new PatternSample at the end of the list. You may then retrieve the updated samples ( Samples property ), and configure the newly added sample's parameters.
public AddSample ( string sampleName ) : void
sampleName string
return void

CanSubscribeToPulse() protected method

protected CanSubscribeToPulse ( ) : bool
return bool

InsertSample() public method

Inserts a pre configured PatternSample in the pattern.
public InsertSample ( PatternSample newSample, int index ) : void
newSample PatternSample
index int
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

PlaySample() public method

public PlaySample ( int index, double dspTime ) : void
index int
dspTime double
return void

RemoveSampleAt() public method

Removes the PatternSample at specified index.
public RemoveSampleAt ( int index ) : void
index int Index.
return void

UpdatedSampleCount() protected method

protected UpdatedSampleCount ( ) : int
return int