Click or drag to resize

Song Properties

The Song type exposes the following members.

Properties
  Name Description
Public property AmplitudeScalar Returns the amplitude scalar for the given bits per sample of the WaveFile (i.e., maximum value for given BitsPerSample).
(Inherited from WaveFile)
Public property AudioFormat Gets or sets audio format used by the WaveFile.
(Inherited from WaveFile)
Public property AudioLength Gets calculated audio length.
(Inherited from WaveFile)
Public property BeatTime Returns the time for a single beat.
Public property BitsPerSample Gets or sets number of bits-per-sample in the WaveFile.
(Inherited from WaveFile)
Public property BlockAlignment Gets or sets the block size of a complete sample of data (i.e., samples for all channels of data at one instant in time).
(Inherited from WaveFile)
Public property ByteRate Gets or sets the byte rate used for buffer estimation.
(Inherited from WaveFile)
Public property Channels Gets or sets number of audio channels in the WaveFile.
(Inherited from WaveFile)
Public property Damping Gets or sets the default damping function used to lower the sound volume of the added notes over time. This damping function will be used if no other function is specified when adding notes.
Public property DataChunk Gets or sets the WaveDataChunk of this WaveFile.
(Inherited from WaveFile)
Public property Dynamic Gets or sets the prevailing dynamic (i.e., volume) expressed as percentage in the range of 0 to 1 for the song. Individual notes can choose to override this dynamic.
Public property ExtraParameters Gets or sets any extra parameters defined in the format header of the WaveFile.
(Inherited from WaveFile)
Public property ExtraParametersSize Gets the size of the ExtraParameters buffer, if defined.
(Inherited from WaveFile)
Public property FormatChunk Gets or sets the WaveFormatChunk of this WaveFile.
(Inherited from WaveFile)
Public property HeaderChunk Gets or sets the RiffHeaderChunk of this WaveFile.
(Inherited from WaveFile)
Public property InfoChunk Gets the ListInfoChunk of this WaveFile.
(Inherited from WaveFile)
Public property InfoStrings Gets list of info strings available in this WaveFile if any were available during load; otherwise an empty dictionary.
(Inherited from WaveFile)
Public property InterNoteDelay Injects specified rest time, in seconds, between notes.
Public property MeasureSize Gets current measure size or defines a new measure size for the song.
Public property NamedDynamic Gets or sets the prevailing named dynamic (i.e., volume) for the song. Individual notes can choose to override this dynamic.
Public property SampleBlocks Accesses each individual block of sample data indexed by time.
(Inherited from WaveFile)
Public property SampleRate Gets or sets the sample rate (i.e., the number of samples per second) defined in the WaveFile.
(Inherited from WaveFile)
Public property Tempo Gets current tempo or defines a new tempo for the song.
Public property Timbre Gets or sets the default tibre function used to synthesize the sounds of the added notes (i.e., the instrument). This timbre function will be used if no other function is specified when adding notes.
Top
See Also