[Back to Alvas.Audio] :: [Alvas.Audio Help with frames] :: [Download Alvas.Audio Help in PDF]

Namespace List

The namespaces specified in this document are:

NamespaceAssembly
Alvas.AudioAlvas.Audio

Namespace : Alvas.Audio

?

Alvas.Audio Type List

Interfaces

TypeSummary
IAudioReader IAudioReader interface provides methods for reading audio data.
IAudioReadWriter IAudioReadWriter interface provides methods for reading/writing audio data.
IAudioWriter IAudioWriter interface provides methods for writing audio data.

Enumerations

TypeSummary
DeviceState Specifies the audio device state.
Genre Genre list for ID3 tag version 1.0
Recorder.BitsPerSample Bits per sample enumeration.
Recorder.Channel Channels enumeration.
Recorder.SamplesPerSec Samples per second enumeration.
TimeFormat TimeFormat specifies the sound position in milliseconds, bytes or samples.
WaveInfo Wave Info tag list

Delegates

TypeSummary
AudioCompressionManager.DriverEventHandler Represents the method that will handle the event of the AudioCompressionManager.
AudioCompressionManager.FormatEventHandler Represents the method that will handle the event of the AudioCompressionManager.
AudioCompressionManager.FormatTagEventHandler Represents the method that will handle the event of the AudioCompressionManager.
Mixer.ControlChangeEventHandler ControlChange event handler
PlayerEx.DoneEventHandler Represents the method that will handle the Done event of the PlayerEx.
RecorderEx.DataEventHandler Represents the method that will handle the Data event of the RecorderEx.

Structs

TypeSummary
DriverDetails The DriverDetails structure describes the features of an ACM driver.
FormatDetails The FormatDetails structure details a waveform-audio format for a specific format tag for an ACM (AudioCompressionManager) driver.
FormatTagDetails The FormatTagDetails structure details a waveform-audio format tag for an ACM driver.
Vox.AdpcmStatus Coder status strucrure

Classes

TypeSummary
AcmConverter class converts audio data from one format to another.
AudioCompressionManager The audio compression manager adds system-level support for the transparent run-time audio compression, decompression and waveform-audio data format selection
AudioException The exception that is thrown when an audio error occurs.
AudioReader Represents a reader that can read an audio data from the stream. This class is abstract.
AudioWriter Represents a writer that can write an audio data to the stream. This class is abstract.
AviReader Reads audio data from the Avi stream.
AviReaderException The exception that is thrown when a avi reader error occurs.
ControlChangeEventArgs Provides data for ControlChange event.
DataEventArgs Provides data for Data event.
DestinationLine Destination line.
DoneEventArgs Provides data for Done event.
DriverEventArgs Provides data for the Driver event.
DsReader Reads audio data using DirectShow.
DsReaderException The exception that is thrown when a DirectShow reader error occurs.
FormatChooseResult Class represents the result
FormatEventArgs Provides data for the Format event.
FormatTagEventArgs Provides data for the FormatTag event.
ID3v1 Class represents a ID3 tag version 1.0 for MPEG Layer3 streams.
Mixer Mixer component.
MixerBoolControl Mixer boolean control
MixerControl Mixer control.
MixerException The exception that is thrown when an Mixer error occurs.
MixerIntControl Mixer integer control
MixerLine Mixer line.
MixerListControl Mixer list control
MixerMuteControl Mixer mute control
Mp3Reader Reads audio data from the Mp3 stream.
Mp3ReaderException The exception that is thrown when a mp3 reader error occurs.
Mp3ReadWriter Reads/writes audio data from/to the Mp3 stream.
Mp3Writer Writes MP3 data to the stream.
Player Player is a component for audio files playing.
PlayerEx PlayerEx is a component for playing sound in PCM, IMA ADPCM, Microsoft ADPCM, CCITT A-Law, CCITT u-Law, GSM 6.10, Windows Media Audio V2, MPEG Layer-3 (mp3) and other wave file format.
RawReader Reads an audio data from the headerless stream. Slinear, Gsm, A-law, mu-law etc.
RawReadWriter Reads/writes an audio data from/to the headerless stream. Slinear, Gsm, A-law, mu-law etc.
RawWriter Writes an audio data to the headerless stream. Slinear, Gsm, A-law, mu-law etc.
Recorder Recorder is a component for sound recording in pulse code modulation (PCM) wave file format.
RecorderEx RecorderEx is a component for sound recording in PCM, IMA ADPCM, Microsoft ADPCM, CCITT A-Law, CCITT u-Law, GSM 6.10, Windows Media Audio V2, MPEG Layer-3 (mp3) and other wave file format.
RecordPlayer Class for recording and playback
SoundLevelMeter A sound level meter is a component that allows audio signal level to be viewed. The sound level meter draws a horizontal line across the middle of the screen from left to right. If the input sound level departs from zero, the line is deflected either upwards or downwards.
Vox Class for encoding and decoding Dialogic .vox (adpcm) format data
WaveFormat Describes the format of the waveform-audio data.
WaveInException The exception that is thrown when a WaveIn error occurs.
WaveOutException The exception that is thrown when a WaveOut error occurs.
WaveReader Reads WAVE (waveform audio format) data from the stream.
WaveReaderException The exception that is thrown when a wave reader error occurs.
WaveReadWriter Reads/writes audio data from/to the Wave stream.
WaveWriter Writes WAVE (waveform audio format) data to the stream.
?

Alvas.Audio Interfaces

IAudioWriter Interface

Summary

public interface IAudioWriter

IAudioWriter interface provides methods for writing audio data.

Method Members

NameAccessSummary
WriteData() : Voidpublic Writes an audio byte array
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.

IAudioReader Interface

Summary

public interface IAudioReader

IAudioReader interface provides methods for reading audio data.

Method Members

NameAccessSummary
Close() : Voidpublic Closes the current reader and the underlying stream.
GetDurationInMS() : Int32public Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public Gets audio stream length in bytes.
Milliseconds2Bytes() : Int32public Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public Reads all audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadFormat() : IntPtrpublic Reads an audio format.

IAudioReadWriter Interface

Summary

public interface IAudioReadWriter : Alvas.Audio.IAudioReader, Alvas.Audio.IAudioWriter

IAudioReadWriter interface provides methods for reading/writing audio data.

?

Alvas.Audio Enumerations

DeviceState Enumeration

Summary

public enumeration DeviceState

Specifies the audio device state.

Enumeration Members

FieldSummary
Closed The device is closed.
InProgress The device is being in progress.
Opened The device is opened.
Paused The device is paused.
Stopped The device is stopped.

TimeFormat Enumeration

Summary

public enumeration TimeFormat

TimeFormat specifies the sound position in milliseconds, bytes or samples.

Enumeration Members

FieldSummary
Bytes Current byte offset
Milliseconds Time in milliseconds
Samples Number of wave samples

Genre Enumeration

Summary

public enumeration Genre : System.Byte

Genre list for ID3 tag version 1.0

Enumeration Members

FieldSummary
Acapella Acapella
Acid Acid
AcidJazz Acid Jazz
AcidPunk Acid Punk
Acoustic Acoustic
Alternative Alternative
AlternativRock Alternativ Rock
Ambient Ambient
Anime Anime
Avantgarde Avantgarde
Ballad Ballad
Bass Bass
Beat Beat
Bebop Bebop
BigBand Big Band
BlackMetal Black Metal
Bluegrass Bluegrass
Blues Blues
BootyBass Booty Bass
BritPop BritPop
Carbaret Carbaret
Celtic Celtic
ChamberMusic Chamber Music
Chanson Chanson
Chorus Chorus
ChristianGangsta Christian Gangsta
ChristianRap Christian Rap
ChristianRock Christian Rock
Classical Classical
ClassicRock Classic Rock
Club Club
Club_House Club-House
Comedy Comedy
Contemporary Contemporary
Country Country
Crossover Crossover
Cult Cult
Dance Dance
DanceHall Dance Hall
Darkwave Darkwave
DeathMetal Death Metal
Disco Disco
Dream Dream
DrumnBass Drum & Bass
DrumSolo Drum Solo
Duet Duet
EasyListening Easy Listening
Electronic Electronic
Ethnic Ethnic
Euor_House Euor-House
Euro_Techno Euro-Techno
Eurodance Eurodance
FastFusion Fast Fusion
Folk Folk
Folk_Rock Folk-Rock
Folklore Folklore
Freestyle Freestyle
Funk Funk
Fusion Fusion
Game Game
Gangsta Gangsta
Goa Goa
Gospel Gospel
Gothic Gothic
GothicRock Gothic Rock
Grunge Grunge
Hardcore Hardcore
HardRock Hard Rock
HeavyMetal Heavy Metal
Hip_Hop Hip-Hop
Homour Homour
House House
Indie Indie
Industrial Industrial
Instrumental Instrumental
InstrumentalPop Instrumental Pop
InstrumentalRock Instrumental Rock
Jazz Jazz
JazznFunk Jazz&Funk
JPop JPop
Jungle Jungle
Latin Latin
Lo_Fi Lo-Fi
Meditative Meditative
Merengue Merengue
Metal Metal
Musical Musical
NationalFolk National Folk
NativeUS Native US
Negerpunk Negerpunk
NewAge New Age
NewWave New Wave
Noise Noise
None Undefined genre
Oldies Oldies
Opera Opera
OtherGenre Other Genre
Polka Polka
PolskPunk Polsk Punk
Pop Pop
Pop_Folk Pop-Folk
Pop_Funk Pop/Funk
PornGroove Porn Groove
PowerBallad Power Ballad
Pranks Pranks
Primus Primus
ProgressiveRock Progressive Rock
PsychadelicRock Psychadelic Rock
Psychedelic Psychedelic
Punk Punk
PunkRock Punk Rock
Rap Rap
Rave Rave
Reggae Reggae
Retro Retro
Revival Revival
RnB R&B
Rock Rock
RocknRoll Rock & Roll
RythmicSoul Rythmic Soul
Salsa Salsa
Samba Samba
Satire Satire
Showtunes Showtunes
Ska Ska
SlowJam Slow Jam
SlowRock Slow Rock
Sonata Sonata
Soul Soul
SoundClip Sound Clip
Soundtrack Soundtrack
SouthernRock Southern Rock
Space Space
Speech Speech
Swing Swing
SymphonicRock Symphonic Rock
Symphony Symphony
SynthPop SynthPop
Tango Tango
Techno Techno
Techno_Industrial Techno-Industrial
Terror Terror
Top40 Top 40
Trailer Trailer
Trance Trance
TrashMetal Trash Metal
Tribal Tribal
Trip_Hop Trip-Hop
Vocal Vocal

Recorder.Channel Enumeration

Summary

nestedPublic enumeration Recorder.Channel

Channels enumeration.

Enumeration Members

FieldSummary
Mono Mono
Stereo Stereo

Recorder.SamplesPerSec Enumeration

Summary

nestedPublic enumeration Recorder.SamplesPerSec

Samples per second enumeration.

Enumeration Members

FieldSummary
Sps11025 11025 samples per second
Sps22050 22050 samples per second
Sps44100 44100 samples per second
Sps48000 48000 samples per second
Sps8000 8000 samples per second
Sps96000 96000 samples per second

Recorder.BitsPerSample Enumeration

Summary

nestedPublic enumeration Recorder.BitsPerSample

Bits per sample enumeration.

Enumeration Members

FieldSummary
Bps16 16 bits per sample
Bps8 8 bits per sample

WaveInfo Enumeration

Summary

public enumeration WaveInfo

Wave Info tag list

Enumeration Members

FieldSummary
ArchivalLocation Archival Location
Artist Artist
Comments Comments
Commissioned Commissioned
Copyright Copyright
CreationDate Creation date
Cropped Cropped
Dimensions Dimensions
DotsPerInch Dots Per Inch
Engineer Engineer
Genre Genre
Keywords Keywords
Lightness Lightness
Medium Medium
Name Name
PaletteSetting Palette Setting
Product Product
Sharpness Sharpness
Software Software
Source Source
SourceForm Source Form
Subject Subject
Technician Technician
?

Alvas.Audio Delegates

Mixer.ControlChangeEventHandler Delegate

Summary

nestedPublic delegate Mixer.ControlChangeEventHandler

ControlChange event handler

PlayerEx.DoneEventHandler Delegate

Summary

nestedPublic delegate PlayerEx.DoneEventHandler

Represents the method that will handle the Done event of the PlayerEx.

AudioCompressionManager.DriverEventHandler Delegate

Summary

nestedPublic delegate AudioCompressionManager.DriverEventHandler

Represents the method that will handle the event of the AudioCompressionManager.

AudioCompressionManager.FormatTagEventHandler Delegate

Summary

nestedPublic delegate AudioCompressionManager.FormatTagEventHandler

Represents the method that will handle the event of the AudioCompressionManager.

AudioCompressionManager.FormatEventHandler Delegate

Summary

nestedPublic delegate AudioCompressionManager.FormatEventHandler

Represents the method that will handle the event of the AudioCompressionManager.

RecorderEx.DataEventHandler Delegate

Summary

nestedPublic delegate RecorderEx.DataEventHandler

Represents the method that will handle the Data event of the RecorderEx.

?

Alvas.Audio Structs

FormatTagDetails Structure

Summary

public structure FormatTagDetails : System.IComparable

The FormatTagDetails structure details a waveform-audio format tag for an ACM driver.

Field Members

NameAccessSummary
Driver : Int32public
FormatSize : Int32public Largest total size in bytes of the waveform-audio format of the FormatTag type. For example, this member will be 16 for PCM and 50 for ADPCM.
FormatTag : Int32public Waveform-audio format tag that the FormatTagDetails structure describes.
FormatTagIndex : Int32public Index of the format tag for which details will be retrieved. The index ranges from zero to one less than the number of format tags supported by an ACM driver.
FormatTagName : Stringpublic String that describes the FormatTag type.
StandardFormats : Int32public Number of standard formats of the FormatTag type; that is, the combination of all sample rates, bits per sample, channels, and so on. This value can specify all formats supported by the driver, but not necessarily.
Support : Int32public Driver-support flags specific to the format tag.

Method Members

NameAccessSummary
ToString() : Stringpublic

FormatDetails Structure

Summary

public structure FormatDetails : System.IComparable

The FormatDetails structure details a waveform-audio format for a specific format tag for an ACM (AudioCompressionManager) driver.

Field Members

NameAccessSummary
Driver : Int32public Driver id
FormatHandle : IntPtrpublic Handle of the format structure that will receive the format details.
FormatIndex : Int32public Index of the format to retrieve details for. The index ranges from zero to one less than the number of standard formats supported by an ACM driver for a format tag.
FormatName : Stringpublic String that describes the format for the FormatTag type.
FormatTag : Int32public Waveform-audio format tag that the FormatDetails structure describes.
Support : Int32public Driver-support flags specific to the specified format.

Property Members

NameAccessSummary
ShowFormatTag : Booleanpublic Gets or sets the value indicating whether show format tag in .

Method Members

NameAccessSummary
ToString() : Stringpublic Returns the fully qualified type name of this instance.

Vox.AdpcmStatus Structure

Summary

nestedPublic structure Vox.AdpcmStatus

Coder status strucrure

Field Members

NameAccessSummary
Last : Int16public Last
StepIndex : Int16public StepIndex

Method Members

NameAccessSummary

DriverDetails Structure

Summary

public structure DriverDetails : System.IComparable

The DriverDetails structure describes the features of an ACM driver.

Field Members

NameAccessSummary
Acm : Int32public Version of the ACM for which this driver was compiled. The version number is a hexadecimal number in the format 0xAABBCCCC, where AA is the major version number, BB is the minor version number, and CCCC is the build number. The version parts (major, minor, and build) should be displayed as decimal numbers.
Copyright : Stringpublic String that provides copyright information for the driver.
Driver : Int32public
DriverVersion : Stringpublic Version of the driver.
Features : Stringpublic String that provides special feature information for the driver.
FilterTags : Int32public Number of unique filter tags supported by this driver.
FormatTags : Int32public Number of unique format tags supported by this driver.
Icon : Int32public Handle to a custom icon for this driver. This member can be 0.
Licensing : Stringpublic String that provides special licensing information for the driver.
LongName : Stringpublic String that describes the full name of the driver.
ShortName : Stringpublic String that describes the short name of the driver.
Support : Int32public Support flags for the driver.

Method Members

NameAccessSummary
ToString() : Stringpublic
?

Alvas.Audio Classes

AudioWriter Class

Summary

public abstract class AudioWriter : BinaryWriter, System.IDisposable, Alvas.Audio.IAudioWriter

Represents a writer that can write an audio data to the stream. This class is abstract.

Constructor Members

NameAccessSummary
AudioWriter()public Initializes a new instance of the class based on the supplied stream.

Field Members

NameAccessSummary

Property Members

NameAccessSummary

Method Members

NameAccessSummary
WriteData() : Voidpublic Writes an audio byte array to the underlying stream.
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.

RawWriter Class

Summary

public class RawWriter : AudioWriter, System.IDisposable, Alvas.Audio.IAudioWriter

Writes an audio data to the headerless stream. Slinear, Gsm, A-law, mu-law etc.

Constructor Members

NameAccessSummary
RawWriter()public Initializes a new instance of the class based on the supplied stream.

Field Members

NameAccessSummary

Property Members

NameAccessSummary

Method Members

NameAccessSummary
WriteData() : Voidpublic Writes an audio byte array to the underlying stream.
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.

AudioReader Class

Summary

public abstract class AudioReader : BinaryReader, System.IDisposable, Alvas.Audio.IAudioReader

Represents a reader that can read an audio data from the stream. This class is abstract.

Constructor Members

NameAccessSummary
AudioReader()public Initializes a new instance of the class for the specified stream.

Property Members

NameAccessSummary

Method Members

NameAccessSummary
GetDurationInMS() : Int32public Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public Gets audio stream length in bytes.
Milliseconds2Bytes() : Int32public Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public Reads all audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadFormat() : IntPtrpublic Reads an audio format.

RawReader Class

Summary

public class RawReader : AudioReader, System.IDisposable, Alvas.Audio.IAudioReader

Reads an audio data from the headerless stream. Slinear, Gsm, A-law, mu-law etc.

Constructor Members

NameAccessSummary
RawReader()public Initializes a new instance of the RawReader class for the specified stream.

Property Members

NameAccessSummary

Method Members

NameAccessSummary
GetDurationInMS() : Int32public Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public Gets audio stream length in bytes.
Milliseconds2Bytes() : Int32public(from Alvas.Audio.AudioReader) Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public Reads all audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadFormat() : IntPtrpublic Reads an audio format.

RecordPlayer Class

Summary

public class RecordPlayer : System.ComponentModel.INotifyPropertyChanged

Class for recording and playback

Constructor Members

NameAccessSummary
RecordPlayer()public

Field Members

NameAccessSummary
BufferSizeInMSProperty : Stringpublic BufferSizeInMS property name
DurationProperty : Stringpublic Duration property name
PlayerVolumeMuteProperty : Stringpublic PlayerVolumeMute property name
PlayerVolumeProperty : Stringpublic PlayerVolume property name
PositionProperty : Stringpublic Position property name
RecorderLinesIndexProperty : Stringpublic RecorderLinesIndex property name
RecorderLinesProperty : Stringpublic RecorderLines property name
RecorderVolumeProperty : Stringpublic RecorderVolume property name
SilentLevelProperty : Stringpublic SilentLevel property name
SkipSilentProperty : Stringpublic SkipSilent property name
StateProperty : Stringpublic State property name
VolumeLevelProperty : Stringpublic VolumeLevel property name
VolumeScaleProperty : Stringpublic VolumeScale property name

Property Members

NameAccessSummary
BufferSizeInMS : Int32public Gets or sets the audio buffer size in milliseconds. By default 500 ms.
CanRecord : Booleanpublic Indicates whether the stream can be recorded.
Duration : Int32public Returns audio stream duration in ms
FormatDetails : FormatDetailspublic Gets format details for current audio stream
PlayerID : Int32public Gets or sets the current player. If -1 the system uses suitable player.
PlayerVolume : Int32public Sets and gets playback volume
PlayerVolumeMute : Booleanpublic Sets and gets playback mute
Position : Int32public Gets current position for audio stream
RecorderID : Int32public Gets or sets the current recorder. If -1 the system uses suitable recorder.
RecorderLines : MixerLine[]public Gets recorder lines
RecorderLinesIndex : Int32public Gets and sets selected recorder lines index
RecorderVolume : Int32public Sets and gets recording volume
SilentLevel : Int32public Sets and gets sound level, which will be silence
SkipSilent : Booleanpublic Skip silence during recording
State : DeviceStatepublic Current device state
VolumeLevel : Int32public Volume level for current audio operation
VolumeScale : Int32public Scales the volume of audio data. 100 is normal volume, 50 is reduced by half, 200 is increased in 2 times

Method Members

NameAccessSummary
Backward() : Voidpublic Backwards current stream position
Close() : Voidpublic Closes audio stream
Forward() : Voidpublic Forwards current stream position
Open() : Voidpublic Open existing audio file for recording and playback
Pause() : Voidpublic Pauses recording or playback
Play() : Voidpublic Plays audio stream
Play() : Voidpublic Plays audio stream from stated position
Record() : Voidpublic Records audio stream
Record() : Voidpublic Records audio stream from specified position in milliseconds.
Stop() : Voidpublic Stops recording or playback

AudioException Class

Summary

public class AudioException : Exception, System.Runtime.Serialization.ISerializable

The exception that is thrown when an audio error occurs.

This type has the following attributes: System.SerializableAttribute

Constructor Members

NameAccessSummary
AudioException()public
AudioException()public

Property Members

NameAccessSummary
Message : Stringpublic

Method Members

NameAccessSummary

DsReaderException Class

Summary

public class DsReaderException : AudioException, System.Runtime.Serialization.ISerializable

The exception that is thrown when a DirectShow reader error occurs.

This type has the following attributes: System.SerializableAttribute

Constructor Members

NameAccessSummary
DsReaderException()public
DsReaderException()public

Property Members

NameAccessSummary
Message : Stringpublic

Method Members

NameAccessSummary

RawReadWriter Class

Summary

public class RawReadWriter : RawReader, System.IDisposable, Alvas.Audio.IAudioReader, Alvas.Audio.IAudioReadWriter, Alvas.Audio.IAudioWriter

Reads/writes an audio data from/to the headerless stream. Slinear, Gsm, A-law, mu-law etc.

Constructor Members

NameAccessSummary
RawReadWriter()public Initializes a new instance of the RawReadWriter class based on the supplied stream and a specific audio format.

Property Members

NameAccessSummary

Method Members

NameAccessSummary
Close() : Voidpublic Closes the current reader and writer and the underlying stream.
GetDurationInMS() : Int32public(from Alvas.Audio.RawReader) Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public(from Alvas.Audio.RawReader) Gets audio stream length in bytes.
Milliseconds2Bytes() : Int32public(from Alvas.Audio.AudioReader) Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public(from Alvas.Audio.RawReader) Reads all audio data from the stream.
ReadData() : Byte[]public(from Alvas.Audio.RawReader) Reads audio data from the stream.
ReadData() : Byte[]public(from Alvas.Audio.RawReader) Reads audio data from the stream.
ReadDataInBytes() : Byte[]public(from Alvas.Audio.RawReader) Reads audio data from the stream.
ReadDataInBytes() : Byte[]public(from Alvas.Audio.RawReader) Reads audio data from the stream.
ReadFormat() : IntPtrpublic(from Alvas.Audio.RawReader) Reads an audio format.
WriteData() : Voidpublic Writes an audio byte array to the underlying stream.
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.

Player Class

Summary

public class Player : Component, System.ComponentModel.IComponent, System.IDisposable

Player is a component for audio files playing.

Constructor Members

NameAccessSummary
Player()public

Property Members

NameAccessSummary
DeviceName : Stringpublic Gets the current device name being used to play.
DurationInMS : Int32public Gets audio file duration in milliseconds.
FileName : Stringpublic Gets or sets file name for playing.
IsPlaying : Booleanpublic Returns true if playing or false otherwise.
LeftVolume : Int32public Gets or sets the average volume to the left speaker.
PositionInMS : Int32public Gets the current position in milliseconds.
RightVolume : Int32public Gets or sets the average volume to the right speaker.
Speed : Int32public Gets or Sets the current speed of the device in frames per second.
Status : Stringpublic Gets current device status.
Volume : Int32public Gets or sets the average volume to the left and right speaker.

Method Members

NameAccessSummary
ChangePosition() : Int32public Changes the current position in milliseconds.
Close() : Int32public To close playing.
CloseAudioDevices() : Int32public Closes all audio devices.
GetErrorString() : Stringpublic Returns string that describes the specified error code.
Pause() : Int32public To pause playing.
Play() : Int32public Plays sound.
Play() : Int32public Plays Wave file data from array
Resume() : Int32public Resumes playing that has been paused.
Stop() : Int32public To stop playing.

MixerLine Class

Summary

public class MixerLine

Mixer line.

Property Members

NameAccessSummary
Channels : Int32public Gets quantity of channels for mixer line
Controls : MixerControl[]public Gets the controls of the mixer line.
MixerID : Int32public Gets the mixer ID.
MixerLineID : Int32public Gets the mixer line ID.
Name : Stringpublic Gets the mixer line name.
ShortName : Stringpublic Gets the short name of the mixer line.

Method Members

NameAccessSummary
ToString() : Stringpublic Returns a that represents the current .

SoundLevelMeter Class

Summary

public class SoundLevelMeter : Control, System.ComponentModel.IComponent, System.IDisposable, System.Windows.Forms.IDropTarget, System.ComponentModel.ISynchronizeInvoke, System.Windows.Forms.IWin32Window, System.Windows.Forms.IBindableComponent

A sound level meter is a component that allows audio signal level to be viewed. The sound level meter draws a horizontal line across the middle of the screen from left to right. If the input sound level departs from zero, the line is deflected either upwards or downwards.

Constructor Members

NameAccessSummary
SoundLevelMeter()public

Property Members

NameAccessSummary
BorderStyle : BorderStylepublic Gets or sets the border style for the control.
CreateParams : CreateParamsprotected
Data : Int16[]public Audio data array for the SoundLevelMeter.
OwnerDraw : Booleanpublic Gets or sets a value indicating whether the control is drawn by itself or by the code that you provide.

Method Members

NameAccessSummary
OnPaint() : Voidprotected

Mixer Class

Summary

public class Mixer : Component, System.ComponentModel.IComponent, System.IDisposable

Mixer component.

Constructor Members

NameAccessSummary
Mixer()public

Field Members

NameAccessSummary
Playback : Int32public Playback line
Recording : Int32public Recording line

Property Members

NameAccessSummary
MixerCount : Int32public Gets mixer quantity.
MixerID : Int32public Gets the mixer ID.
MixerName : Stringpublic Gets the name of the mixer.
MixerNo : Int32public Gets or sets the current mixer number.

Method Members

NameAccessSummary
GetDestination() : DestinationLinepublic Gets the destination line.
GetMixerName() : Stringpublic Gets the name of the mixer by index.
OnControlChange() : Voidprotected Called when control change.

Mp3Reader Class

Summary

public class Mp3Reader : AudioReader, System.IDisposable, Alvas.Audio.IAudioReader

Reads audio data from the Mp3 stream.

Constructor Members

NameAccessSummary
Mp3Reader()public Initializes a new instance of the Mp3Reader class for the specified stream.

Property Members

NameAccessSummary

Method Members

NameAccessSummary
GetDurationInMS() : Int32public Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public Gets audio stream length in bytes.
MakeWave() : Voidpublic Changes MP3 stream to Wave stream.
Milliseconds2Bytes() : Int32public(from Alvas.Audio.AudioReader) Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public Reads all audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadFormat() : IntPtrpublic Reads an audio format.
ReadID3v1Tag() : ID3v1public Reads ID3 tag version 1

Mp3ReadWriter Class

Summary

public class Mp3ReadWriter : Mp3Reader, System.IDisposable, Alvas.Audio.IAudioReader, Alvas.Audio.IAudioReadWriter, Alvas.Audio.IAudioWriter

Reads/writes audio data from/to the Mp3 stream.

Constructor Members

NameAccessSummary
Mp3ReadWriter()public
Mp3ReadWriter()public Initializes a new instance of the Mp3ReadWriter class based on the supplied stream and a specific audio format.

Property Members

NameAccessSummary

Method Members

NameAccessSummary
Close() : Voidpublic Closes the current reader and writer and the underlying stream.
GetDurationInMS() : Int32public(from Alvas.Audio.Mp3Reader) Gets audio stream duration in milliseconds.
GetFormat() : IntPtrpublic Returns pointer to audio format.
GetLengthInBytes() : Int32public(from Alvas.Audio.Mp3Reader) Gets audio stream length in bytes.
MakeWave() : Voidpublic(from Alvas.Audio.Mp3Reader) Changes MP3 stream to Wave stream.
Milliseconds2Bytes() : Int32public(from Alvas.Audio.AudioReader) Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public(from Alvas.Audio.Mp3Reader) Reads all audio data from the stream.
ReadData() : Byte[]public(from Alvas.Audio.Mp3Reader) Reads audio data from the stream.
ReadData() : Byte[]public(from Alvas.Audio.Mp3Reader) Reads audio data from the stream.
ReadDataInBytes() : Byte[]public(from Alvas.Audio.Mp3Reader) Reads audio data from the stream.
ReadDataInBytes() : Byte[]public(from Alvas.Audio.Mp3Reader) Reads audio data from the stream.
ReadFormat() : IntPtrpublic(from Alvas.Audio.Mp3Reader) Reads an audio format.
ReadID3v1Tag() : ID3v1public(from Alvas.Audio.Mp3Reader) Reads ID3 tag version 1
WriteData() : Voidpublic Writes an audio byte array to the underlying stream.
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.
WriteID3v1Tag() : Voidpublic Writes ID3 tag version 1

FormatEventArgs Class

Summary

public class FormatEventArgs : EventArgs

Provides data for the Format event.

Constructor Members

NameAccessSummary
FormatEventArgs()public Initializes a new instance of the FormatEventArgs class.

Property Members

NameAccessSummary
FormatDetails : FormatDetailspublic Gets format details.
Proceed : Booleanpublic Sets true to continue enumeration or false to stop enumeration.

Method Members

NameAccessSummary

ControlChangeEventArgs Class

Summary

public class ControlChangeEventArgs : EventArgs

Provides data for ControlChange event.

Constructor Members

NameAccessSummary
ControlChangeEventArgs()public Initializes a new instance of the class.

Property Members

NameAccessSummary
ControlID : Int32public Gets Control ID
MixerID : Int32public Gets Mixer ID

Method Members

NameAccessSummary

AviReader Class

Summary

public class AviReader : AudioReader, System.IDisposable, Alvas.Audio.IAudioReader

Reads audio data from the Avi stream.

Constructor Members

NameAccessSummary
AviReader()public Initializes a new instance of the AviReader class for the specified stream.

Property Members

NameAccessSummary
HasAudio : Booleanpublic Indicates whether the stream contains audio data.

Method Members

NameAccessSummary
Close() : Voidpublic Closes the AviReader object and the underlying stream, and releases any system resources associated with the reader.
GetDurationInMS() : Int32public Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public Gets audio stream length in bytes.
Milliseconds2Bytes() : Int32public(from Alvas.Audio.AudioReader) Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public Reads all audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadFormat() : IntPtrpublic Reads an audio format. Returns IntPtr.Zero if HasAudio property is false.

WaveReader Class

Summary

public class WaveReader : AudioReader, System.IDisposable, Alvas.Audio.IAudioReader

Reads WAVE (waveform audio format) data from the stream.

Constructor Members

NameAccessSummary
WaveReader()public Initializes a new instance of the WaveReader class for the specified stream.

Property Members

NameAccessSummary

Method Members

NameAccessSummary
GetDurationInMS() : Int32public Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public Gets audio stream length in bytes.
MakeMP3() : Voidpublic Changes Wave stream to MP3 stream if Wave stream contains MPEG Layer 3 data.
Milliseconds2Bytes() : Int32public(from Alvas.Audio.AudioReader) Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public Reads all audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadFormat() : IntPtrpublic Reads an audio format.
ReadInfoTag() : String}public Reads INFO metadata(similar mp3 tags) from Wave stream.

MixerControl Class

Summary

public abstract class MixerControl

Mixer control.

Property Members

NameAccessSummary
ControlID : Int32public Gets the control ID.
MixerID : Int32public Gets the mixer ID.
MixerLine : MixerLinepublic Gets the mixer line.
Name : Stringpublic Gets the control name.
ShortName : Stringpublic Gets the short name of the control.
Value : Int32public Gets or sets the control value.

Method Members

NameAccessSummary
GetValue() : Int32protected Gets the control value.
SetValue() : Voidprotected Sets the control value.

MixerListControl Class

Summary

public class MixerListControl : MixerControl

Mixer list control

Property Members

NameAccessSummary
ControlID : Int32public(from Alvas.Audio.MixerControl) Gets the control ID.
Lines : MixerLine[]public Gets the mixer lines.
MixerID : Int32public(from Alvas.Audio.MixerControl) Gets the mixer ID.
MixerLine : MixerLinepublic(from Alvas.Audio.MixerControl) Gets the mixer line.
Name : Stringpublic(from Alvas.Audio.MixerControl) Gets the control name.
ShortName : Stringpublic(from Alvas.Audio.MixerControl) Gets the short name of the control.
Value : Int32public(from Alvas.Audio.MixerControl) Gets or sets the control value.

Method Members

NameAccessSummary
GetValue() : Int32protected Gets the control value.
SetValue() : Voidprotected Sets the control value.

WaveWriter Class

Summary

public class WaveWriter : AudioWriter, System.IDisposable, Alvas.Audio.IAudioWriter

Writes WAVE (waveform audio format) data to the stream.

Constructor Members

NameAccessSummary
WaveWriter()public Initializes a new instance of the WaveWriter class based on the supplied stream and a specific audio format header.

Field Members

NameAccessSummary

Property Members

NameAccessSummary

Method Members

NameAccessSummary
GetFormat() : IntPtrpublic Returns pointer to audio format.
WriteData() : Voidpublic Writes an audio byte array to the underlying stream.
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.

Vox Class

Summary

public class Vox

Class for encoding and decoding Dialogic .vox (adpcm) format data

Constructor Members

NameAccessSummary
Vox()publicInitializes a new instance of the class.

Method Members

NameAccessSummary
Raw2Vox() : Voidpublic Encode raw PCM-data to Dialogic .vox (adpcm) format data
Vox2Mp3() : Voidpublic Converts Dialogic .vox (adpcm) data to Mp3 audio data.
Vox2Mp3() : Voidpublic
Vox2Mp3() : Voidpublic Converts Dialogic .vox (adpcm) stream to Mp3 stream.
Vox2Mp3() : Voidpublic
Vox2Mp3() : Voidpublic Converts Dialogic .vox (adpcm) file to Mp3 file.
Vox2Wav() : Voidpublic Decodes Dialogic .vox (adpcm) format data to wave PCM-data format
Vox2Wav() : Voidpublic

MixerBoolControl Class

Summary

public class MixerBoolControl : MixerControl

Mixer boolean control

Property Members

NameAccessSummary
ControlID : Int32public(from Alvas.Audio.MixerControl) Gets the control ID.
MixerID : Int32public(from Alvas.Audio.MixerControl) Gets the mixer ID.
MixerLine : MixerLinepublic(from Alvas.Audio.MixerControl) Gets the mixer line.
Name : Stringpublic(from Alvas.Audio.MixerControl) Gets the control name.
ShortName : Stringpublic(from Alvas.Audio.MixerControl) Gets the short name of the control.
Value : Int32public(from Alvas.Audio.MixerControl) Gets or sets the control value.

Method Members

NameAccessSummary
GetValue() : Int32protected(from Alvas.Audio.MixerControl) Gets the control value.
SetValue() : Voidprotected(from Alvas.Audio.MixerControl) Sets the control value.

ID3v1 Class

Summary

public class ID3v1

Class represents a ID3 tag version 1.0 for MPEG Layer3 streams.

Constructor Members

NameAccessSummary
ID3v1()publicInitializes a new instance of the class.

Property Members

NameAccessSummary
Album : Stringpublic 30 characters of the album name
Artist : Stringpublic 30 characters of the artist name
Comment : Stringpublic The comment. Up to 30 characters
Genre : Genrepublic Genre. Use Genre.None if undefined.
Title : Stringpublic 30 characters of the title
Year : Stringpublic A four-digit year

Method Members

NameAccessSummary

WaveInException Class

Summary

public class WaveInException : AudioException, System.Runtime.Serialization.ISerializable

The exception that is thrown when a WaveIn error occurs.

This type has the following attributes: System.SerializableAttribute

Constructor Members

NameAccessSummary
WaveInException()public

Property Members

NameAccessSummary
ErrorCode : Int32public Gets the error code associated with this exception.
Message : Stringpublic

Method Members

NameAccessSummary

Recorder Class

Summary

public class Recorder : Component, System.ComponentModel.IComponent, System.IDisposable

Recorder is a component for sound recording in pulse code modulation (PCM) wave file format.

Constructor Members

NameAccessSummary
Recorder()public

Property Members

NameAccessSummary
IsRecording : Booleanpublic Returns true if recording or false otherwise.
Status : Stringpublic Gets current device status.

Method Members

NameAccessSummary
Close() : Int32public Closes opened recording device.
Configure() : Int32public
GetErrorString() : Stringpublic Returns string that describes the specified error code.
Open() : Int32public Opens device for recording.
Record() : Int32public Records sound.
Save() : Int32public Saves recorded sound into file.
Stop() : Int32public Stops recording.

PlayerEx Class

Summary

public class PlayerEx : Component, System.ComponentModel.IComponent, System.IDisposable

PlayerEx is a component for playing sound in PCM, IMA ADPCM, Microsoft ADPCM, CCITT A-Law, CCITT u-Law, GSM 6.10, Windows Media Audio V2, MPEG Layer-3 (mp3) and other wave file format.

Constructor Members

NameAccessSummary
PlayerEx()public
PlayerEx()public

Property Members

NameAccessSummary
BufferSizeInMS : Int32public Gets or sets the player buffer size in milliseconds. By default 500 ms.
Format : IntPtrpublic Gets pointer to audio format.
PlayerCount : Int32public Gets the number of audio players installed in system.
PlayerID : Int32public Gets or sets the current player. If -1 the system uses suitable player.
State : DeviceStatepublic Gets the player state.
VolumeScale : Int32public Scales the volume of audio data. 100 is normal volume, 50 is reduced by half, 200 is increased in 2 times

Method Members

NameAccessSummary
AddData() : Voidpublic Adds the audio data for playing.
AddMixData() : Voidpublic Adds and mixes the audio data for playing.
ClosePlayer() : Voidpublic Closes the player.
GetMixerNo() : Int32public Returns mixer number
GetPlayerName() : Stringpublic Returns player name by index.
GetPosition() : Int64public Gets the current sound position.
GetVolume() : Voidpublic
OnClose() : Voidprotected Raises the Close event.
OnDone() : Voidprotected Raises the Done event.
OnOpen() : Voidprotected Raises the Open event.
OpenPlayer() : Voidpublic Opens the player.
PausePlay() : Voidpublic Pauses the play.
ResumePlay() : Voidpublic Resumes the play.
SetVolume() : Voidpublic Sets the volume.
StartPlay() : Voidpublic Plays the audio data.

AudioCompressionManager Class

Summary

public class AudioCompressionManager : Component, System.ComponentModel.IComponent, System.IDisposable

The audio compression manager adds system-level support for the transparent run-time audio compression, decompression and waveform-audio data format selection

Constructor Members

NameAccessSummary
AudioCompressionManager()public

Field Members

NameAccessSummary
AdpcmFormatTag : Int16public Microsoft ADPCM format tag
ALawFormatTag : Int16public A-Law format tag
Gsm610FormatTag : Int16public GSM 6.10 format tag
ImaAdpcmFormatTag : Int16public IMA ADPCM format tag
MpegLayer3FormatTag : Int16public ISO/MPEG Layer3 format tag
MuLawFormatTag : Int16public Mu-Law format tag
PcmFormatTag : Int16public PCM format tag

Property Members

NameAccessSummary

Method Members

NameAccessSummary
ChangeSpeed() : Byte[]public Changes the speed of audio data
ChangeSpeed() : Voidpublic Changes the speed of audio stream.
ChangeSpeed() : Voidpublic Changes the speed of audio file
ChangeVolume() : Byte[]public Changes the volume of audio data
ChooseCompatibleFormat() : FormatChooseResultpublic Shows the dialog box that enables the user to select the waveform-audio format.
ChooseCompatibleFormat() : FormatChooseResultpublic Shows the dialog box that enables the user to select the waveform-audio format.
Convert() : Voidpublic Converts the audio data from the specified old format to the new format.
Convert() : Byte[]public Converts the audio data from the specified old format to the new format.
Copy() : Byte[]public Copy part audio data from byte array
Copy() : Voidpublic Copy part audio data from in stream to out stream
Copy() : Voidpublic Copy part audio data from in file to out file
CreateFormat() : IntPtrpublic Create audio format from the byte array.
EnumDrivers() : Voidpublic Enumerates the available ACM (AudioCompressionManager) drivers, continuing until there are no more drivers or the callback function returns false.
EnumFormats() : Voidpublic Enumerates waveform-audio formats available for a given format tag from the first suitable ACM driver. This function continues enumerating until there are no more suitable formats for the format tag or the callback function returns false.
EnumFormats() : Voidpublic Enumerates waveform-audio formats available for a given format tag from defined ACM driver. This function continues enumerating until there are no more suitable formats for the format tag or the callback function returns false.
EnumFormatTags() : Voidpublic Enumerates waveform-audio filter tags available from the first suitable ACM driver. This function continues enumerating until there are no more suitable filter tags or the callback function returns false.
EnumFormatTags() : Voidpublic Enumerates waveform-audio filter tags available from defined ACM driver. This function continues enumerating until there are no more suitable filter tags or the callback function returns false.
FormatBytes() : Byte[]public Returns audio format byte array.
GetCompatibleFormat() : IntPtrpublic Gets the format for the conversion from the specified format and specified format tag.
GetCompatibleFormatList() : FormatDetails[]public Gets the format list for the conversion from the specified format.
GetCompatibleFormatList() : FormatDetails[]public Gets the format list for the conversion from the specified format.
GetDriverDetails() : DriverDetailspublic Gets the driver details for specified driver.
GetDriverList() : DriverDetails[]public Gets the driver list.
GetFormatDetails() : FormatDetailspublic Gets the format details for specified format.
GetFormatDetails() : FormatDetailspublic Gets the format details for specified format.
GetFormatList() : FormatDetails[]public Gets the format list for specified and suitable driver. To filter the format list by please specify the valid value or 0 otherwise;To filter the format list by please specify the valid value or 0 otherwise;To filter the format list by please specify the valid value or 0 otherwise;To filter the format list by please specify the valid value or 0 otherwise;
GetFormatList() : FormatDetails[]public Gets the format list for specified format tag and suitable driver.
GetFormatList() : FormatDetails[]public Gets the format list for specified format tag and suitable driver.
GetFormatList() : FormatDetails[]public Gets the format list for specified format tag and driver.
GetFormatList() : FormatDetails[]public Gets the format list for specified format tag and driver.
GetFormatTagDetails() : FormatTagDetailspublic Gets the format tag details for specified format tag and suitable driver.
GetFormatTagDetails() : FormatTagDetailspublic Gets the format tag details for specified format tag and driver.
GetFormatTagList() : FormatTagDetails[]public Gets the format tag list for suitable driver.
GetFormatTagList() : FormatTagDetails[]public Gets the format tag list for specified driver.
GetMp3Format() : IntPtrpublic Creates audio format for MPEG Layer3 audio data
GetPcmFormat() : IntPtrpublic Creates audio format for PCM data
GetWaveFormat() : WaveFormatpublic Gets the for specified format handle.
Insert() : Voidpublic Insert audio data to stream.
Insert() : Voidpublic Insert audio data to file.
InversePcm() : Voidpublic
IsSilent() : Booleanpublic
Join() : Voidpublic Join multiple audio streams into one. The audio data formats must be the same.
Join() : Voidpublic Join multiple audio files into one. The audio data formats must be the same.
MergeStereo() : Voidpublic
MergeStereo() : Voidpublic Merges 2 mono WAVE streams into one stereo.
MergeStereo() : Voidpublic Merges 2 mono WAVE files into one stereo.
Milliseconds2Bytes() : Int32public Returns bytes number for specified format and time, expressed in milliseconds
Mix() : Byte[]public Mixes the audio data.
Mix() : Voidpublic Mix several audio streams. The audio data formats must be the same.
Mix() : Voidpublic Mix several audio files. The audio data formats must be the same.
MixMany() : Byte[]public Inserts and mixes one piece of audio data into main audio data with specified offset multiple times.
OnDriver() : Voidprotected
OnFormat() : Voidprotected
OnFormatTag() : Voidprotected
RecalculateData() : Int16[]public Recalculates audio data array to the specified length. (For )
RecalculateData2() : Int16[]public
Remove() : Voidpublic Remove part audio data from stream.
Remove() : Voidpublic Remove part audio data from file.
Reverse() : Byte[]public Reverses Wave audio data.
Reverse() : Voidpublic Reverses Wave audio data from one stream to another.
Reverse() : Voidpublic Reverses Wave audio data from one file to another.
SplitStereo() : Voidpublic
SplitStereo() : Voidpublic Splits one stereo stream into two mono streams (left and right channels).
SplitStereo() : Voidpublic Splits one stereo file into two mono files (left and right channels).
Wave2Mp3() : Byte[]public Converts Wave audio data to Mp3 audio data.
Wave2Mp3() : Voidpublic Converts Wave stream to Mp3 stream.
Wave2Mp3() : Voidpublic Converts Wave file to Mp3 file.

AviReaderException Class

Summary

public class AviReaderException : AudioException, System.Runtime.Serialization.ISerializable

The exception that is thrown when a avi reader error occurs.

This type has the following attributes: System.SerializableAttribute

Constructor Members

NameAccessSummary
AviReaderException()public
AviReaderException()public

Property Members

NameAccessSummary
Message : Stringpublic

Method Members

NameAccessSummary

WaveReadWriter Class

Summary

public class WaveReadWriter : WaveReader, System.IDisposable, Alvas.Audio.IAudioReader, Alvas.Audio.IAudioReadWriter, Alvas.Audio.IAudioWriter

Reads/writes audio data from/to the Wave stream.

Constructor Members

NameAccessSummary
WaveReadWriter()public
WaveReadWriter()public

Property Members

NameAccessSummary

Method Members

NameAccessSummary
Close() : Voidpublic Closes the current reader, writer and the underlying stream.
GetDurationInMS() : Int32public(from Alvas.Audio.WaveReader) Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public(from Alvas.Audio.WaveReader) Gets audio stream length in bytes.
MakeMP3() : Voidpublic(from Alvas.Audio.WaveReader) Changes Wave stream to MP3 stream if Wave stream contains MPEG Layer 3 data.
Milliseconds2Bytes() : Int32public(from Alvas.Audio.AudioReader) Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public(from Alvas.Audio.WaveReader) Reads all audio data from the stream.
ReadData() : Byte[]public(from Alvas.Audio.WaveReader) Reads audio data from the stream.
ReadData() : Byte[]public(from Alvas.Audio.WaveReader) Reads audio data from the stream.
ReadDataInBytes() : Byte[]public(from Alvas.Audio.WaveReader) Reads audio data from the stream.
ReadDataInBytes() : Byte[]public(from Alvas.Audio.WaveReader) Reads audio data from the stream.
ReadFormat() : IntPtrpublic(from Alvas.Audio.WaveReader) Reads an audio format.
ReadInfoTag() : String}public(from Alvas.Audio.WaveReader) Reads INFO metadata(similar mp3 tags) from Wave stream.
WriteData() : Voidpublic Writes an audio byte array to the underlying stream.
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.
WriteInfoTag() : Voidpublic Writes INFO metadata(similar mp3 tags) into Wave stream.

RecorderEx Class

Summary

public class RecorderEx : Component, System.ComponentModel.IComponent, System.IDisposable

RecorderEx is a component for sound recording in PCM, IMA ADPCM, Microsoft ADPCM, CCITT A-Law, CCITT u-Law, GSM 6.10, Windows Media Audio V2, MPEG Layer-3 (mp3) and other wave file format.

Constructor Members

NameAccessSummary
RecorderEx()public
RecorderEx()public

Property Members

NameAccessSummary
BufferSizeInMS : Int32public Gets or sets the recorder buffer size in milliseconds. By default 500 ms.
Format : IntPtrpublic Gets and sets pointer to audio format.
RecorderCount : Int32public Gets the number of audio recorders installed in system.
RecorderID : Int32public Gets or sets the current recorder. If -1 the system uses suitable recorder.
State : DeviceStatepublic Gets the recorder state.

Method Members

NameAccessSummary
Finalize() : Voidprotected
FormatBytes() : Byte[]public Returns audio format byte array.
GetMixerNo() : Int32public Return mixer number
GetPosition() : Int64public Gets the current sound position.
GetRecorderName() : Stringpublic Returns recorder name by index.
OnClose() : Voidprotected Raises the Close event.
OnData() : Voidprotected Raises the Data event.
OnOpen() : Voidprotected Raises the Open event.
PauseRecord() : Voidpublic Pauses recording. Use StartRecord method to resume recording.
StartRecord() : Voidpublic Starts recording.
StopRecord() : Voidpublic Stops recording.

MixerMuteControl Class

Summary

public class MixerMuteControl : MixerBoolControl

Mixer mute control

Property Members

NameAccessSummary
ControlID : Int32public(from Alvas.Audio.MixerControl) Gets the control ID.
MixerID : Int32public(from Alvas.Audio.MixerControl) Gets the mixer ID.
MixerLine : MixerLinepublic(from Alvas.Audio.MixerControl) Gets the mixer line.
Name : Stringpublic(from Alvas.Audio.MixerControl) Gets the control name.
ShortName : Stringpublic(from Alvas.Audio.MixerControl) Gets the short name of the control.
Value : Int32public(from Alvas.Audio.MixerControl) Gets or sets the control value.

Method Members

NameAccessSummary
GetValue() : Int32protected(from Alvas.Audio.MixerControl) Gets the control value.
SetValue() : Voidprotected(from Alvas.Audio.MixerControl) Sets the control value.

AcmConverter Class

Summary

public class AcmConverter

class converts audio data from one format to another.

Constructor Members

NameAccessSummary
AcmConverter()public Initializes a new instance of the class

Method Members

NameAccessSummary
Close() : Voidpublic Closes the AcmConverter object and releases any system resources associated with it.
Convert() : Byte[]public Converts audio data from one format to another.

WaveFormat Class

Summary

public class WaveFormat

Describes the format of the waveform-audio data.

Constructor Members

NameAccessSummary
WaveFormat()publicInitializes a new instance of the class.

Field Members

NameAccessSummary
nAvgBytesPerSec : Int32public Required average data transfer rate, in bytes per second. For example, 16-bit stereo at 44.1 kHz has an average data rate of 176,400 bytes per second (2 channels — 2 bytes per sample per channel — 44,100 samples per second).
nBlockAlign : Int16public Block alignment, in bytes. The block alignment is the minimum atomic unit of data. For PCM data, the block alignment is the number of bytes used by a single sample, including data for both channels if the data is stereo. For example, the block alignment for 16-bit stereo PCM is 4 bytes (2 channels — 2 bytes per sample).
nChannels : Int16public Number of channels in the waveform-audio data. Mono data uses one channel and stereo data uses two channels.
nSamplesPerSec : Int32public Sample rate, in samples per second.
wBitsPerSample : Int16public Bits per sample for the wFormatTag format type. If wFormatTag is PCM, then wBitsPerSample should be equal to 8 or 16. For non-PCM formats, this member must be set according to the manufacturer's specification of the format tag. Note that some compression schemes cannot define a value for wBitsPerSample, so this member can be zero.
wFormatTag : Int16public Format tag.

Method Members

NameAccessSummary
Equals() : Booleanpublic
GetHashCode() : Int32public

WaveOutException Class

Summary

public class WaveOutException : AudioException, System.Runtime.Serialization.ISerializable

The exception that is thrown when a WaveOut error occurs.

This type has the following attributes: System.SerializableAttribute

Constructor Members

NameAccessSummary
WaveOutException()public

Property Members

NameAccessSummary
ErrorCode : Int32public Gets the error code associated with this exception.
Message : Stringpublic

Method Members

NameAccessSummary

Mp3ReaderException Class

Summary

public class Mp3ReaderException : AudioException, System.Runtime.Serialization.ISerializable

The exception that is thrown when a mp3 reader error occurs.

This type has the following attributes: System.SerializableAttribute

Constructor Members

NameAccessSummary
Mp3ReaderException()public
Mp3ReaderException()public

Property Members

NameAccessSummary
Message : Stringpublic

Method Members

NameAccessSummary

DriverEventArgs Class

Summary

public class DriverEventArgs : EventArgs

Provides data for the Driver event.

Constructor Members

NameAccessSummary
DriverEventArgs()public Initializes a new instance of the DriverEventArgs class.

Property Members

NameAccessSummary
DriverDetails : DriverDetailspublic Gets driver details.
Proceed : Booleanpublic Sets true to continue enumeration or false to stop enumeration.

Method Members

NameAccessSummary

DestinationLine Class

Summary

public class DestinationLine : MixerLine

Destination line.

Property Members

NameAccessSummary
Channels : Int32public(from Alvas.Audio.MixerLine) Gets quantity of channels for mixer line
Controls : MixerControl[]public(from Alvas.Audio.MixerLine) Gets the controls of the mixer line.
MixerID : Int32public(from Alvas.Audio.MixerLine) Gets the mixer ID.
MixerLineID : Int32public(from Alvas.Audio.MixerLine) Gets the mixer line ID.
Name : Stringpublic(from Alvas.Audio.MixerLine) Gets the mixer line name.
ShortName : Stringpublic(from Alvas.Audio.MixerLine) Gets the short name of the mixer line.
Sources : MixerLine[]public Gets the source lines.

Method Members

NameAccessSummary
ToString() : Stringpublic(from Alvas.Audio.MixerLine) Returns a that represents the current .

DataEventArgs Class

Summary

public class DataEventArgs : EventArgs

Provides data for Data event.

Constructor Members

NameAccessSummary
DataEventArgs()public Initializes a new instance of the DataEventArgs class.

Property Members

NameAccessSummary
Data : Byte[]public Gets byte data array.

Method Members

NameAccessSummary

DoneEventArgs Class

Summary

public class DoneEventArgs : DataEventArgs

Provides data for Done event.

Constructor Members

NameAccessSummary
DoneEventArgs()public

Property Members

NameAccessSummary
Data : Byte[]public(from Alvas.Audio.DataEventArgs) Gets byte data array.
IsEndPlaying : Booleanpublic Gets a value indicating whether this instance is end playing.

Method Members

NameAccessSummary

Mp3Writer Class

Summary

public class Mp3Writer : AudioWriter, System.IDisposable, Alvas.Audio.IAudioWriter

Writes MP3 data to the stream.

Constructor Members

NameAccessSummary
Mp3Writer()public Initializes a new instance of the Mp3Writer class based on the supplied stream.

Field Members

NameAccessSummary

Property Members

NameAccessSummary

Method Members

NameAccessSummary
WriteData() : Voidpublic Writes an audio byte array to the underlying stream.
WriteData() : Int64public Writes an audio byte array to the underlying stream from specified position.

MixerException Class

Summary

public class MixerException : AudioException, System.Runtime.Serialization.ISerializable

The exception that is thrown when an Mixer error occurs.

Constructor Members

NameAccessSummary
MixerException()public Initializes a new instance of the class.

Property Members

NameAccessSummary
ErrorCode : Int32public Gets the error code that is associated with this exception.
Message : Stringpublic(from Alvas.Audio.AudioException)

Method Members

NameAccessSummary

DsReader Class

Summary

public class DsReader : Alvas.Audio.IAudioReader, System.IDisposable

Reads audio data using DirectShow.

Constructor Members

NameAccessSummary
DsReader()public Initializes a new instance of the DsReader class for the specified file.

Property Members

NameAccessSummary
HasAudio : Booleanpublic Indicates whether the stream contains audio data.

Method Members

NameAccessSummary
Close() : Voidpublic Closes the DsReader object and releases any system resources associated with the reader.
Dispose() : Voidpublic Closes the DsReader object and releases any system resources associated with the reader.
GetDurationInMS() : Int32public Gets audio stream duration in milliseconds.
GetLengthInBytes() : Int32public Gets audio stream length in bytes.
Milliseconds2Bytes() : Int32public Converts from milliseconds to bytes for current stream.
ReadData() : Byte[]public Reads all audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadData() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadDataInBytes() : Byte[]public Reads audio data from the stream.
ReadFormat() : IntPtrpublic Reads an audio format.

WaveReaderException Class

Summary

public class WaveReaderException : AudioException, System.Runtime.Serialization.ISerializable

The exception that is thrown when a wave reader error occurs.

This type has the following attributes: System.SerializableAttribute

Constructor Members

NameAccessSummary
WaveReaderException()public
WaveReaderException()public

Property Members

NameAccessSummary
Message : Stringpublic

Method Members

NameAccessSummary

FormatTagEventArgs Class

Summary

public class FormatTagEventArgs : EventArgs

Provides data for the FormatTag event.

Constructor Members

NameAccessSummary
FormatTagEventArgs()public Initializes a new instance of the FormatTagEventArgs class.

Property Members

NameAccessSummary
FormatTagDetails : FormatTagDetailspublic Gets format tag details.
Proceed : Booleanpublic Sets true to continue enumeration or false to stop enumeration.

Method Members

NameAccessSummary

MixerIntControl Class

Summary

public class MixerIntControl : MixerControl

Mixer integer control

Property Members

NameAccessSummary
ControlID : Int32public(from Alvas.Audio.MixerControl) Gets the control ID.
Maximum : Int32public Gets the maximum value of the control.
Minimum : Int32public Gets the minimum value of the control.
MixerID : Int32public(from Alvas.Audio.MixerControl) Gets the mixer ID.
MixerLine : MixerLinepublic(from Alvas.Audio.MixerControl) Gets the mixer line.
Name : Stringpublic(from Alvas.Audio.MixerControl) Gets the control name.
ShortName : Stringpublic(from Alvas.Audio.MixerControl) Gets the short name of the control.
Steps : Int32public Gets the steps.
Value : Int32public(from Alvas.Audio.MixerControl) Gets or sets the control value.
Values : Int32[]public Gets or sets the control values.

Method Members

NameAccessSummary
GetValue() : Int32protected(from Alvas.Audio.MixerControl) Gets the control value.
SetValue() : Voidprotected(from Alvas.Audio.MixerControl) Sets the control value.

FormatChooseResult Class

Summary

public class FormatChooseResult

Class represents the result

Constructor Members

NameAccessSummary
FormatChooseResult()public

Property Members

NameAccessSummary
Format : IntPtrpublic Gets format
FormatName : Stringpublic Gets format name
FormatTagName : Stringpublic Gets format tag name
Result : Int32public Returns 0 if successful ( property is valid) or an error (including the user chose the Cancel button or the Close command on the System menu to close the dialog box) otherwise (Format property is not valid).

Method Members

NameAccessSummary