C# Class GAudio.PulsedPatternModule

Inheritance: AGATPulsedPattern
Afficher le fichier Open project: gregzo/G-Audio Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
CanSubscribeToPulse ( ) : bool
OnDestroy ( ) : void
UpdatedSampleCount ( ) : int

Method Details

AddSample() public méthode

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
Résultat void

CanSubscribeToPulse() protected méthode

protected CanSubscribeToPulse ( ) : bool
Résultat bool

InsertSample() public méthode

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

OnDestroy() protected méthode

protected OnDestroy ( ) : void
Résultat void

PlaySample() public méthode

public PlaySample ( int index, double dspTime ) : void
index int
dspTime double
Résultat void

RemoveSampleAt() public méthode

Removes the PatternSample at specified index.
public RemoveSampleAt ( int index ) : void
index int Index.
Résultat void

UpdatedSampleCount() protected méthode

protected UpdatedSampleCount ( ) : int
Résultat int