C# Class GeneticMIDI.Generators.Sequence.ReflectingBrownNoteGenerator

Inheritance: GeneticMIDI.Fractal.BrownNoteGenerator, INoteGenerator
Mostrar archivo Open project: stefan-j/GeneticMIDI Class Usage Examples

Public Methods

Method Description
CalculateChange ( int startVal, int maxNegChange, int maxPosChange, int maxIndexPlusOne ) : int
Generate ( ) : Representation.MelodySequence
Next ( ) : Representation.MelodySequence
ReflectingBrownNoteGenerator ( NoteRangeRestrictor nrr, Random randGen, int lowestPitchChange, int highestPitchChange, int lowestLengthStep, int highestLengthStep, PatchNames instrument = PatchNames.Acoustic_Grand ) : System

Method Details

CalculateChange() public method

public CalculateChange ( int startVal, int maxNegChange, int maxPosChange, int maxIndexPlusOne ) : int
startVal int
maxNegChange int
maxPosChange int
maxIndexPlusOne int
return int

Generate() public method

public Generate ( ) : Representation.MelodySequence
return Representation.MelodySequence

Next() public method

public Next ( ) : Representation.MelodySequence
return Representation.MelodySequence

ReflectingBrownNoteGenerator() public method

public ReflectingBrownNoteGenerator ( NoteRangeRestrictor nrr, Random randGen, int lowestPitchChange, int highestPitchChange, int lowestLengthStep, int highestLengthStep, PatchNames instrument = PatchNames.Acoustic_Grand ) : System
nrr NoteRangeRestrictor
randGen Random
lowestPitchChange int
highestPitchChange int
lowestLengthStep int
highestLengthStep int
instrument PatchNames
return System