Song Methods |
The Song type exposes the following members.
Name | Description | |
---|---|---|
AddNotes | Add a series of notes to the song. | |
AddPhrase | Add a predefined phrase of notes to the song. | |
AddRest(Double) | Add a rest for the given length for the current beat. | |
AddRest(NoteValue) | Add a rest for the given length for the current beat. | |
AddRest(NoteValueBritish) | Add a rest for the given length for the current beat. | |
AddRest(NoteValue, Int32) | Add a rest for the given length for the current beat. | |
AddRest(NoteValueBritish, Int32) | Add a rest for the given length for the current beat. | |
AddSample |
Add the sample to the wave file.
(Inherited from WaveFile) |
|
AddSampleBlock |
Adds a block of samples in native format to the wave file (e.g., if BitsPerSample = 16,
parameters need to be Int16 values). Note that LittleBinaryValue parameter type is
implicitly castable to common native types, including floating points.
(Inherited from WaveFile) |
|
AddSamples |
Adds a series of samples, one per channel, to the wave file.
(Inherited from WaveFile) |
|
CastSample |
Casts sample value to its equivalent native type based on defined BitsPerSample
and AudioFormat.
(Inherited from WaveFile) |
|
Clone |
Creates a deeply cloned copy of the WaveFile.
(Inherited from WaveFile) |
|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
|
Finish | Called when there are no more notes to add. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
|
GetSampleTypeCode |
Determines sample data type code based on defined BitsPerSample
and AudioFormat.
(Inherited from WaveFile) |
|
GetType | Gets the Type of the current instance. (Inherited from Object) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
|
Play |
Plays the wave file using SoundPlayer.
(Inherited from WaveFile) |
|
Reverse |
Reverses the data samples in the wave file.
(Inherited from WaveFile) |
|
Save(Stream) |
Saves wave file to the specified stream.
(Inherited from WaveFile) |
|
Save(String) |
Saves wave file to the specified file name.
(Inherited from WaveFile) |
|
SetCrescendoDynamic | Starts crescendo dynamic over the range of the specified number of beats. | |
SetDiminuendoDynamic | Starts diminuendo dynamic over the range of the specified number of beats. | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
|
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |