C# Class GeneticMIDI.Generators.NoteGenerators.MarkovChainGenerator

Inheritance: INoteGenerator, IPlaybackGenerator
显示文件 Open project: stefan-j/GeneticMIDI Class Usage Examples

Public Methods

Method Description
AddMelody ( GeneticMIDI.Representation.MelodySequence seq ) : void
AddMelody ( string path ) : void
Generate ( ) : GeneticMIDI.Representation.MelodySequence
MarkovChainGenerator ( PatchNames instrument, int order = 3, int length = 150 ) : System
Next ( ) : GeneticMIDI.Representation.MelodySequence

Private Methods

Method Description
IPlaybackGenerator ( ) : IPlayable

Method Details

AddMelody() public method

public AddMelody ( GeneticMIDI.Representation.MelodySequence seq ) : void
seq GeneticMIDI.Representation.MelodySequence
return void

AddMelody() public method

public AddMelody ( string path ) : void
path string
return void

Generate() public method

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

MarkovChainGenerator() public method

public MarkovChainGenerator ( PatchNames instrument, int order = 3, int length = 150 ) : System
instrument PatchNames
order int
length int
return System

Next() public method

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