Alvas.Audio Class Library

WaveReadWriter Methods

The methods of the WaveReadWriter class are listed below. For a complete list of WaveReadWriter class members, see the WaveReadWriter Members topic.

Public Instance Methods

Close Closes the current reader, writer and the underlying stream.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDurationInMS (inherited from WaveReader) Gets audio stream duration in milliseconds.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLengthInBytes (inherited from WaveReader) Gets audio stream length in bytes.
GetType (inherited from Object)Gets the Type of the current instance.
MakeMP3 (inherited from WaveReader) Changes Wave stream to MP3 stream if Wave stream contains MPEG Layer 3 data.
Milliseconds2Bytes (inherited from AudioReader) Converts from milliseconds to bytes for current stream.
PeekChar (inherited from BinaryReader)Returns the next available character and does not advance the byte or character position.
Read (inherited from BinaryReader)Overloaded. Reads characters from the underlying stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.
ReadBoolean (inherited from BinaryReader)Reads a Boolean value from the current stream and advances the current position of the stream by one byte.
ReadByte (inherited from BinaryReader)Reads the next byte from the current stream and advances the current position of the stream by one byte.
ReadBytes (inherited from BinaryReader)Reads count bytes from the current stream into a byte array and advances the current position by count bytes.
ReadChar (inherited from BinaryReader)Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.
ReadChars (inherited from BinaryReader)Reads count characters from the current stream, returns the data in a character array, and advances the current position in accordance with the Encoding used and the specific character being read from the stream.
ReadData (inherited from WaveReader)Overloaded. Reads all audio data from the stream.
ReadDataInBytes (inherited from WaveReader)Overloaded. Reads audio data from the stream.
ReadDecimal (inherited from BinaryReader)Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.
ReadDouble (inherited from BinaryReader)Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.
ReadFormat (inherited from WaveReader) Reads an audio format.
ReadInfoTag (inherited from WaveReader) Reads INFO metadata(similar mp3 tags) from Wave stream.
ReadInt16 (inherited from BinaryReader)Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.
ReadInt32 (inherited from BinaryReader)Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.
ReadInt64 (inherited from BinaryReader)Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.
ReadSByte (inherited from BinaryReader)Reads a signed byte from this stream and advances the current position of the stream by one byte.
ReadSingle (inherited from BinaryReader)Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.
ReadString (inherited from BinaryReader)Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.
ReadUInt16 (inherited from BinaryReader)Reads a 2-byte unsigned integer from the current stream using little endian encoding and advances the position of the stream by two bytes.
ReadUInt32 (inherited from BinaryReader)Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.
ReadUInt64 (inherited from BinaryReader)Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.
ToString (inherited from Object)Returns a String that represents the current Object.
WriteDataOverloaded. Writes an audio byte array to the underlying stream.
WriteInfoTag Writes INFO metadata(similar mp3 tags) into Wave stream.

See Also

WaveReadWriter Class | Alvas.Audio Namespace