Property | Type | Description | |
---|---|---|---|
ComputeNetworkOutput | double[] | ||
GetMaxIndex | int | ||
Save | void |
Method | Description | |
---|---|---|
AccompanimentGenerator ( ) : System | ||
AccompanimentGenerator ( GeneticMIDI.Representation.CompositionCategory category, PatchNames instrument ) : System | ||
Generate ( ) : Representation.MelodySequence | ||
GenerateMelody ( GeneticMIDI.Representation.MelodySequence inputSeq ) : Note[] | ||
GenerateSamples ( GeneticMIDI.Representation.Composition compositions ) : SampleSet | ||
GetSample ( Note input, Note output ) : Sample | ||
Initialize ( ) : void | ||
LoadFromFile ( ) : void | ||
LoadSampleSetFromComposition ( GeneticMIDI.Representation.Composition comp ) : SampleSet | ||
LoadSampleSetFromMelody ( string path ) : SampleSet | ||
Next ( ) : Representation.MelodySequence | ||
RNN ( ) : Net | ||
SetSequence ( GeneticMIDI.Representation.MelodySequence sequence ) : void | ||
TrainNetwork ( ) : void | ||
generateSamples ( string path ) : SampleSet |
Method | Description | |
---|---|---|
ComputeNetworkOutput ( Sample sample ) : double[] | ||
GetMaxIndex ( double values ) : int |
Returns the index of the maximum value
|
|
Save ( ) : void |
public AccompanimentGenerator ( GeneticMIDI.Representation.CompositionCategory category, PatchNames instrument ) : System | ||
category | GeneticMIDI.Representation.CompositionCategory | |
instrument | PatchNames | |
return | System |
public Generate ( ) : Representation.MelodySequence | ||
return | Representation.MelodySequence |
public GenerateMelody ( GeneticMIDI.Representation.MelodySequence inputSeq ) : Note[] | ||
inputSeq | GeneticMIDI.Representation.MelodySequence | |
return | Note[] |
public GenerateSamples ( GeneticMIDI.Representation.Composition compositions ) : SampleSet | ||
compositions | GeneticMIDI.Representation.Composition | |
return | SampleSet |
public GetSample ( Note input, Note output ) : Sample | ||
input | Note | |
output | Note | |
return | Sample |
public LoadSampleSetFromComposition ( GeneticMIDI.Representation.Composition comp ) : SampleSet | ||
comp | GeneticMIDI.Representation.Composition | |
return | SampleSet |
public LoadSampleSetFromMelody ( string path ) : SampleSet | ||
path | string | |
return | SampleSet |
public Next ( ) : Representation.MelodySequence | ||
return | Representation.MelodySequence |
public SetSequence ( GeneticMIDI.Representation.MelodySequence sequence ) : void | ||
sequence | GeneticMIDI.Representation.MelodySequence | |
return | void |
public generateSamples ( string path ) : SampleSet | ||
path | string | |
return | SampleSet |