Click or drag to resize

Song Methods

The Song type exposes the following members.

Methods
  Name Description
Public method AddNotes Add a series of notes to the song.
Public method AddPhrase Add a predefined phrase of notes to the song.
Public method AddRest(Double) Add a rest for the given length for the current beat.
Public method AddRest(NoteValue) Add a rest for the given length for the current beat.
Public method AddRest(NoteValueBritish) Add a rest for the given length for the current beat.
Public method AddRest(NoteValue, Int32) Add a rest for the given length for the current beat.
Public method AddRest(NoteValueBritish, Int32) Add a rest for the given length for the current beat.
Public method AddSample Add the sample to the wave file.
(Inherited from WaveFile)
Public method 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)
Public method AddSamples Adds a series of samples, one per channel, to the wave file.
(Inherited from WaveFile)
Public method CastSample Casts sample value to its equivalent native type based on defined BitsPerSample and AudioFormat.
(Inherited from WaveFile)
Public method Clone Creates a deeply cloned copy of the WaveFile.
(Inherited from WaveFile)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method Finish Called when there are no more notes to add.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetSampleTypeCode Determines sample data type code based on defined BitsPerSample and AudioFormat.
(Inherited from WaveFile)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method Play Plays the wave file using SoundPlayer.
(Inherited from WaveFile)
Public method Reverse Reverses the data samples in the wave file.
(Inherited from WaveFile)
Public method Save(Stream) Saves wave file to the specified stream.
(Inherited from WaveFile)
Public method Save(String) Saves wave file to the specified file name.
(Inherited from WaveFile)
Public method SetCrescendoDynamic Starts crescendo dynamic over the range of the specified number of beats.
Public method SetDiminuendoDynamic Starts diminuendo dynamic over the range of the specified number of beats.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also