[Back to Alvas.Audio] ::
[Alvas.Audio Help with frames] ::
[Download Alvas.Audio Help in PDF]
Namespace List
The namespaces specified in this document are:
Namespace : Alvas.Audio
?Alvas.Audio Type List
Interfaces
| Type | Summary |
|---|
| 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
Delegates
Structs
| Type | Summary |
|---|
| 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
| Type | Summary |
|---|
| 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
| Name | Access | Summary |
|---|
| WriteData() : Void | public | Writes an audio byte array |
| WriteData() : Int64 | public | 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
| Name | Access | Summary |
|---|
| Close() : Void | public | Closes the current reader and the underlying stream. |
| GetDurationInMS() : Int32 | public | Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | Gets audio stream length in bytes. |
| Milliseconds2Bytes() : Int32 | public | 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() : IntPtr | public | 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
| Field | Summary |
|---|
| 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
Genre Enumeration
Summary
public enumeration Genre : System.Byte
Genre list for ID3 tag version 1.0
Enumeration Members
| Field | Summary |
|---|
| 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
| Field | Summary |
|---|
| Mono | Mono |
| Stereo | Stereo |
Recorder.SamplesPerSec Enumeration
Summary
nestedPublic enumeration Recorder.SamplesPerSec
Samples per second enumeration.
Enumeration Members
| Field | Summary |
|---|
| 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
| Field | Summary |
|---|
| Bps16 | 16 bits per sample |
| Bps8 | 8 bits per sample |
WaveInfo Enumeration
Summary
public enumeration WaveInfo
Wave Info tag list
Enumeration Members
| Field | Summary |
|---|
| 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
Method Members
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
Property Members
Method Members
Vox.AdpcmStatus Structure
Summary
nestedPublic structure Vox.AdpcmStatus
Coder status strucrure
Field Members
| Name | Access | Summary |
|---|
| Last : Int16 | public | Last |
| StepIndex : Int16 | public | StepIndex |
Method Members
DriverDetails Structure
Summary
public structure DriverDetails : System.IComparable
The DriverDetails structure describes the features of an ACM driver.
Field Members
| Name | Access | Summary |
|---|
| Acm : Int32 | public | 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 : String | public | String that provides copyright information for the driver. |
| Driver : Int32 | public | |
| DriverVersion : String | public | Version of the driver. |
| Features : String | public | String that provides special feature information for the driver. |
| FilterTags : Int32 | public | Number of unique filter tags supported by this driver. |
| FormatTags : Int32 | public | Number of unique format tags supported by this driver. |
| Icon : Int32 | public | Handle to a custom icon for this driver. This member can be 0. |
| Licensing : String | public | String that provides special licensing information for the driver. |
| LongName : String | public | String that describes the full name of the driver. |
| ShortName : String | public | String that describes the short name of the driver. |
| Support : Int32 | public | Support flags for the driver. |
Method Members
| Name | Access | Summary |
|---|
| ToString() : String | public | |
?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
| Name | Access | Summary |
|---|
| AudioWriter() | public | Initializes a new instance of the class based on the supplied stream. |
Field Members
Property Members
Method Members
| Name | Access | Summary |
|---|
| WriteData() : Void | public | Writes an audio byte array to the underlying stream. |
| WriteData() : Int64 | public | 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
| Name | Access | Summary |
|---|
| RawWriter() | public | Initializes a new instance of the class based on the supplied stream. |
Field Members
Property Members
Method Members
| Name | Access | Summary |
|---|
| WriteData() : Void | public | Writes an audio byte array to the underlying stream. |
| WriteData() : Int64 | public | 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
| Name | Access | Summary |
|---|
| AudioReader() | public | Initializes a new instance of the class for the specified stream. |
Property Members
Method Members
| Name | Access | Summary |
|---|
| GetDurationInMS() : Int32 | public | Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | Gets audio stream length in bytes. |
| Milliseconds2Bytes() : Int32 | public | 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() : IntPtr | public | 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
| Name | Access | Summary |
|---|
| RawReader() | public | Initializes a new instance of the RawReader class for the specified stream. |
Property Members
Method Members
| Name | Access | Summary |
|---|
| GetDurationInMS() : Int32 | public | Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | Gets audio stream length in bytes. |
| Milliseconds2Bytes() : Int32 | public | (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() : IntPtr | public | Reads an audio format. |
RecordPlayer Class
Summary
public class RecordPlayer : System.ComponentModel.INotifyPropertyChanged
Class for recording and playback
Constructor Members
| Name | Access | Summary |
|---|
| RecordPlayer() | public | |
Field Members
| Name | Access | Summary |
|---|
| BufferSizeInMSProperty : String | public | BufferSizeInMS property name |
| DurationProperty : String | public | Duration property name |
| PlayerVolumeMuteProperty : String | public | PlayerVolumeMute property name |
| PlayerVolumeProperty : String | public | PlayerVolume property name |
| PositionProperty : String | public | Position property name |
| RecorderLinesIndexProperty : String | public | RecorderLinesIndex property name |
| RecorderLinesProperty : String | public | RecorderLines property name |
| RecorderVolumeProperty : String | public | RecorderVolume property name |
| SilentLevelProperty : String | public | SilentLevel property name |
| SkipSilentProperty : String | public | SkipSilent property name |
| StateProperty : String | public | State property name |
| VolumeLevelProperty : String | public | VolumeLevel property name |
| VolumeScaleProperty : String | public | VolumeScale property name |
Property Members
| Name | Access | Summary |
|---|
| BufferSizeInMS : Int32 | public | Gets or sets the audio buffer size in milliseconds. By default 500 ms. |
| CanRecord : Boolean | public | Indicates whether the stream can be recorded. |
| Duration : Int32 | public | Returns audio stream duration in ms |
| FormatDetails : FormatDetails | public | Gets format details for current audio stream |
| PlayerID : Int32 | public | Gets or sets the current player. If -1 the system uses suitable player. |
| PlayerVolume : Int32 | public | Sets and gets playback volume |
| PlayerVolumeMute : Boolean | public | Sets and gets playback mute |
| Position : Int32 | public | Gets current position for audio stream |
| RecorderID : Int32 | public | Gets or sets the current recorder. If -1 the system uses suitable recorder. |
| RecorderLines : MixerLine[] | public | Gets recorder lines |
| RecorderLinesIndex : Int32 | public | Gets and sets selected recorder lines index |
| RecorderVolume : Int32 | public | Sets and gets recording volume |
| SilentLevel : Int32 | public | Sets and gets sound level, which will be silence |
| SkipSilent : Boolean | public | Skip silence during recording |
| State : DeviceState | public | Current device state |
| VolumeLevel : Int32 | public | Volume level for current audio operation |
| VolumeScale : Int32 | public | Scales the volume of audio data. 100 is normal volume, 50 is reduced by half, 200 is increased in 2 times |
Method Members
| Name | Access | Summary |
|---|
| Backward() : Void | public | Backwards current stream position |
| Close() : Void | public | Closes audio stream |
| Forward() : Void | public | Forwards current stream position |
| Open() : Void | public | Open existing audio file for recording and playback |
| Pause() : Void | public | Pauses recording or playback |
| Play() : Void | public | Plays audio stream |
| Play() : Void | public | Plays audio stream from stated position |
| Record() : Void | public | Records audio stream |
| Record() : Void | public | Records audio stream from specified position in milliseconds. |
| Stop() : Void | public | 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
| Name | Access | Summary |
|---|
| AudioException() | public | |
| AudioException() | public | |
Property Members
| Name | Access | Summary |
|---|
| Message : String | public | |
Method Members
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
| Name | Access | Summary |
|---|
| DsReaderException() | public | |
| DsReaderException() | public | |
Property Members
| Name | Access | Summary |
|---|
| Message : String | public | |
Method Members
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
| Name | Access | Summary |
|---|
| RawReadWriter() | public | Initializes a new instance of the RawReadWriter class based on the supplied stream and a specific audio format. |
Property Members
Method Members
| Name | Access | Summary |
|---|
| Close() : Void | public | Closes the current reader and writer and the underlying stream. |
| GetDurationInMS() : Int32 | public | (from Alvas.Audio.RawReader) Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | (from Alvas.Audio.RawReader) Gets audio stream length in bytes. |
| Milliseconds2Bytes() : Int32 | public | (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() : IntPtr | public | (from Alvas.Audio.RawReader) Reads an audio format. |
| WriteData() : Void | public | Writes an audio byte array to the underlying stream. |
| WriteData() : Int64 | public | 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
| Name | Access | Summary |
|---|
| Player() | public | |
Property Members
| Name | Access | Summary |
|---|
| DeviceName : String | public | Gets the current device name being used to play. |
| DurationInMS : Int32 | public | Gets audio file duration in milliseconds. |
| FileName : String | public | Gets or sets file name for playing. |
| IsPlaying : Boolean | public | Returns true if playing or false otherwise. |
| LeftVolume : Int32 | public | Gets or sets the average volume to the left speaker. |
| PositionInMS : Int32 | public | Gets the current position in milliseconds. |
| RightVolume : Int32 | public | Gets or sets the average volume to the right speaker. |
| Speed : Int32 | public | Gets or Sets the current speed of the device in frames per second. |
| Status : String | public | Gets current device status. |
| Volume : Int32 | public | Gets or sets the average volume to the left and right speaker. |
Method Members
| Name | Access | Summary |
|---|
| ChangePosition() : Int32 | public | Changes the current position in milliseconds. |
| Close() : Int32 | public | To close playing. |
| CloseAudioDevices() : Int32 | public | Closes all audio devices. |
| GetErrorString() : String | public | Returns string that describes the specified error code. |
| Pause() : Int32 | public | To pause playing. |
| Play() : Int32 | public | Plays sound. |
| Play() : Int32 | public | Plays Wave file data from array |
| Resume() : Int32 | public | Resumes playing that has been paused. |
| Stop() : Int32 | public | To stop playing. |
MixerLine Class
Summary
public class MixerLine
Mixer line.
Property Members
| Name | Access | Summary |
|---|
| Channels : Int32 | public | Gets quantity of channels for mixer line |
| Controls : MixerControl[] | public | Gets the controls of the mixer line. |
| MixerID : Int32 | public | Gets the mixer ID. |
| MixerLineID : Int32 | public | Gets the mixer line ID. |
| Name : String | public | Gets the mixer line name. |
| ShortName : String | public | Gets the short name of the mixer line. |
Method Members
| Name | Access | Summary |
|---|
| ToString() : String | public | 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
| Name | Access | Summary |
|---|
| SoundLevelMeter() | public | |
Property Members
| Name | Access | Summary |
|---|
| BorderStyle : BorderStyle | public | Gets or sets the border style for the control. |
| CreateParams : CreateParams | protected | |
| Data : Int16[] | public | Audio data array for the SoundLevelMeter. |
| OwnerDraw : Boolean | public | Gets or sets a value indicating whether the control is drawn by itself or by the code that you provide. |
Method Members
| Name | Access | Summary |
|---|
| OnPaint() : Void | protected | |
Mixer Class
Summary
public class Mixer : Component, System.ComponentModel.IComponent, System.IDisposable
Mixer component.
Constructor Members
| Name | Access | Summary |
|---|
| Mixer() | public | |
Field Members
| Name | Access | Summary |
|---|
| Playback : Int32 | public | Playback line |
| Recording : Int32 | public | Recording line |
Property Members
| Name | Access | Summary |
|---|
| MixerCount : Int32 | public | Gets mixer quantity. |
| MixerID : Int32 | public | Gets the mixer ID. |
| MixerName : String | public | Gets the name of the mixer. |
| MixerNo : Int32 | public | Gets or sets the current mixer number. |
Method Members
| Name | Access | Summary |
|---|
| GetDestination() : DestinationLine | public | Gets the destination line. |
| GetMixerName() : String | public | Gets the name of the mixer by index. |
| OnControlChange() : Void | protected | 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
| Name | Access | Summary |
|---|
| Mp3Reader() | public | Initializes a new instance of the Mp3Reader class for the specified stream. |
Property Members
Method Members
| Name | Access | Summary |
|---|
| GetDurationInMS() : Int32 | public | Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | Gets audio stream length in bytes. |
| MakeWave() : Void | public | Changes MP3 stream to Wave stream. |
| Milliseconds2Bytes() : Int32 | public | (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() : IntPtr | public | Reads an audio format. |
| ReadID3v1Tag() : ID3v1 | public | 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
| Name | Access | Summary |
|---|
| Mp3ReadWriter() | public | |
| Mp3ReadWriter() | public | Initializes a new instance of the Mp3ReadWriter class based on the supplied stream and a specific audio format. |
Property Members
Method Members
| Name | Access | Summary |
|---|
| Close() : Void | public | Closes the current reader and writer and the underlying stream. |
| GetDurationInMS() : Int32 | public | (from Alvas.Audio.Mp3Reader) Gets audio stream duration in milliseconds. |
| GetFormat() : IntPtr | public | Returns pointer to audio format. |
| GetLengthInBytes() : Int32 | public | (from Alvas.Audio.Mp3Reader) Gets audio stream length in bytes. |
| MakeWave() : Void | public | (from Alvas.Audio.Mp3Reader) Changes MP3 stream to Wave stream. |
| Milliseconds2Bytes() : Int32 | public | (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() : IntPtr | public | (from Alvas.Audio.Mp3Reader) Reads an audio format. |
| ReadID3v1Tag() : ID3v1 | public | (from Alvas.Audio.Mp3Reader) Reads ID3 tag version 1 |
| WriteData() : Void | public | Writes an audio byte array to the underlying stream. |
| WriteData() : Int64 | public | Writes an audio byte array to the underlying stream from specified position. |
| WriteID3v1Tag() : Void | public | Writes ID3 tag version 1 |
FormatEventArgs Class
Summary
public class FormatEventArgs : EventArgs
Provides data for the Format event.
Constructor Members
Property Members
Method Members
ControlChangeEventArgs Class
Summary
public class ControlChangeEventArgs : EventArgs
Provides data for ControlChange event.
Constructor Members
| Name | Access | Summary |
|---|
| ControlChangeEventArgs() | public | Initializes a new instance of the class. |
Property Members
| Name | Access | Summary |
|---|
| ControlID : Int32 | public | Gets Control ID |
| MixerID : Int32 | public | Gets Mixer ID |
Method Members
AviReader Class
Summary
public class AviReader : AudioReader, System.IDisposable, Alvas.Audio.IAudioReader
Reads audio data from the Avi stream.
Constructor Members
| Name | Access | Summary |
|---|
| AviReader() | public | Initializes a new instance of the AviReader class for the specified stream. |
Property Members
| Name | Access | Summary |
|---|
| HasAudio : Boolean | public | Indicates whether the stream contains audio data. |
Method Members
| Name | Access | Summary |
|---|
| Close() : Void | public | Closes the AviReader object and the underlying stream, and releases any system resources associated with the reader. |
| GetDurationInMS() : Int32 | public | Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | Gets audio stream length in bytes. |
| Milliseconds2Bytes() : Int32 | public | (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() : IntPtr | public | 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
| Name | Access | Summary |
|---|
| WaveReader() | public | Initializes a new instance of the WaveReader class for the specified stream. |
Property Members
Method Members
| Name | Access | Summary |
|---|
| GetDurationInMS() : Int32 | public | Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | Gets audio stream length in bytes. |
| MakeMP3() : Void | public | Changes Wave stream to MP3 stream if Wave stream contains MPEG Layer 3 data. |
| Milliseconds2Bytes() : Int32 | public | (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() : IntPtr | public | 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
| Name | Access | Summary |
|---|
| ControlID : Int32 | public | Gets the control ID. |
| MixerID : Int32 | public | Gets the mixer ID. |
| MixerLine : MixerLine | public | Gets the mixer line. |
| Name : String | public | Gets the control name. |
| ShortName : String | public | Gets the short name of the control. |
| Value : Int32 | public | Gets or sets the control value. |
Method Members
| Name | Access | Summary |
|---|
| GetValue() : Int32 | protected | Gets the control value. |
| SetValue() : Void | protected | Sets the control value. |
MixerListControl Class
Summary
public class MixerListControl : MixerControl
Mixer list control
Property Members
| Name | Access | Summary |
|---|
| ControlID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the control ID. |
| Lines : MixerLine[] | public | Gets the mixer lines. |
| MixerID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the mixer ID. |
| MixerLine : MixerLine | public | (from Alvas.Audio.MixerControl) Gets the mixer line. |
| Name : String | public | (from Alvas.Audio.MixerControl) Gets the control name. |
| ShortName : String | public | (from Alvas.Audio.MixerControl) Gets the short name of the control. |
| Value : Int32 | public | (from Alvas.Audio.MixerControl) Gets or sets the control value. |
Method Members
| Name | Access | Summary |
|---|
| GetValue() : Int32 | protected | Gets the control value. |
| SetValue() : Void | protected | 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
| Name | Access | Summary |
|---|
| WaveWriter() | public | Initializes a new instance of the WaveWriter class based on the supplied stream and a specific audio format header. |
Field Members
Property Members
Method Members
| Name | Access | Summary |
|---|
| GetFormat() : IntPtr | public | Returns pointer to audio format. |
| WriteData() : Void | public | Writes an audio byte array to the underlying stream. |
| WriteData() : Int64 | public | 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
| Name | Access | Summary |
|---|
| Vox() | public | Initializes a new instance of the class. |
Method Members
| Name | Access | Summary |
|---|
| Raw2Vox() : Void | public | Encode raw PCM-data to Dialogic .vox (adpcm) format data |
| Vox2Mp3() : Void | public | Converts Dialogic .vox (adpcm) data to Mp3 audio data. |
| Vox2Mp3() : Void | public | |
| Vox2Mp3() : Void | public | Converts Dialogic .vox (adpcm) stream to Mp3 stream. |
| Vox2Mp3() : Void | public | |
| Vox2Mp3() : Void | public | Converts Dialogic .vox (adpcm) file to Mp3 file. |
| Vox2Wav() : Void | public | Decodes Dialogic .vox (adpcm) format data to wave PCM-data format |
| Vox2Wav() : Void | public | |
MixerBoolControl Class
Summary
public class MixerBoolControl : MixerControl
Mixer boolean control
Property Members
| Name | Access | Summary |
|---|
| ControlID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the control ID. |
| MixerID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the mixer ID. |
| MixerLine : MixerLine | public | (from Alvas.Audio.MixerControl) Gets the mixer line. |
| Name : String | public | (from Alvas.Audio.MixerControl) Gets the control name. |
| ShortName : String | public | (from Alvas.Audio.MixerControl) Gets the short name of the control. |
| Value : Int32 | public | (from Alvas.Audio.MixerControl) Gets or sets the control value. |
Method Members
| Name | Access | Summary |
|---|
| GetValue() : Int32 | protected | (from Alvas.Audio.MixerControl) Gets the control value. |
| SetValue() : Void | protected | (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
| Name | Access | Summary |
|---|
| ID3v1() | public | Initializes a new instance of the class. |
Property Members
| Name | Access | Summary |
|---|
| Album : String | public | 30 characters of the album name |
| Artist : String | public | 30 characters of the artist name |
| Comment : String | public | The comment. Up to 30 characters |
| Genre : Genre | public | Genre. Use Genre.None if undefined. |
| Title : String | public | 30 characters of the title |
| Year : String | public | A four-digit year |
Method Members
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
| Name | Access | Summary |
|---|
| WaveInException() | public | |
Property Members
| Name | Access | Summary |
|---|
| ErrorCode : Int32 | public | Gets the error code associated with this exception. |
| Message : String | public | |
Method Members
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
| Name | Access | Summary |
|---|
| Recorder() | public | |
Property Members
| Name | Access | Summary |
|---|
| IsRecording : Boolean | public | Returns true if recording or false otherwise. |
| Status : String | public | Gets current device status. |
Method Members
| Name | Access | Summary |
|---|
| Close() : Int32 | public | Closes opened recording device. |
| Configure() : Int32 | public | |
| GetErrorString() : String | public | Returns string that describes the specified error code. |
| Open() : Int32 | public | Opens device for recording. |
| Record() : Int32 | public | Records sound. |
| Save() : Int32 | public | Saves recorded sound into file. |
| Stop() : Int32 | public | 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
| Name | Access | Summary |
|---|
| PlayerEx() | public | |
| PlayerEx() | public | |
Property Members
| Name | Access | Summary |
|---|
| BufferSizeInMS : Int32 | public | Gets or sets the player buffer size in milliseconds. By default 500 ms. |
| Format : IntPtr | public | Gets pointer to audio format. |
| PlayerCount : Int32 | public | Gets the number of audio players installed in system. |
| PlayerID : Int32 | public | Gets or sets the current player. If -1 the system uses suitable player. |
| State : DeviceState | public | Gets the player state. |
| VolumeScale : Int32 | public | Scales the volume of audio data. 100 is normal volume, 50 is reduced by half, 200 is increased in 2 times |
Method Members
| Name | Access | Summary |
|---|
| AddData() : Void | public | Adds the audio data for playing. |
| AddMixData() : Void | public | Adds and mixes the audio data for playing. |
| ClosePlayer() : Void | public | Closes the player. |
| GetMixerNo() : Int32 | public | Returns mixer number |
| GetPlayerName() : String | public | Returns player name by index. |
| GetPosition() : Int64 | public | Gets the current sound position. |
| GetVolume() : Void | public | |
| OnClose() : Void | protected | Raises the Close event. |
| OnDone() : Void | protected | Raises the Done event. |
| OnOpen() : Void | protected | Raises the Open event. |
| OpenPlayer() : Void | public | Opens the player. |
| PausePlay() : Void | public | Pauses the play. |
| ResumePlay() : Void | public | Resumes the play. |
| SetVolume() : Void | public | Sets the volume. |
| StartPlay() : Void | public | 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
| Name | Access | Summary |
|---|
| AudioCompressionManager() | public | |
Field Members
| Name | Access | Summary |
|---|
| AdpcmFormatTag : Int16 | public | Microsoft ADPCM format tag |
| ALawFormatTag : Int16 | public | A-Law format tag |
| Gsm610FormatTag : Int16 | public | GSM 6.10 format tag |
| ImaAdpcmFormatTag : Int16 | public | IMA ADPCM format tag |
| MpegLayer3FormatTag : Int16 | public | ISO/MPEG Layer3 format tag |
| MuLawFormatTag : Int16 | public | Mu-Law format tag |
| PcmFormatTag : Int16 | public | PCM format tag |
Property Members
Method Members
| Name | Access | Summary |
|---|
| ChangeSpeed() : Byte[] | public | Changes the speed of audio data |
| ChangeSpeed() : Void | public | Changes the speed of audio stream. |
| ChangeSpeed() : Void | public | Changes the speed of audio file |
| ChangeVolume() : Byte[] | public | Changes the volume of audio data |
| ChooseCompatibleFormat() : FormatChooseResult | public | Shows the dialog box that enables the user to select the waveform-audio format. |
| ChooseCompatibleFormat() : FormatChooseResult | public | Shows the dialog box that enables the user to select the waveform-audio format. |
| Convert() : Void | public | 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() : Void | public | Copy part audio data from in stream to out stream |
| Copy() : Void | public | Copy part audio data from in file to out file |
| CreateFormat() : IntPtr | public | Create audio format from the byte array. |
| EnumDrivers() : Void | public | Enumerates the available ACM (AudioCompressionManager) drivers, continuing until there are no more drivers or the callback function returns false. |
| EnumFormats() : Void | public | 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() : Void | public | 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() : Void | public | 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() : Void | public | 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() : IntPtr | public | 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() : DriverDetails | public | Gets the driver details for specified driver. |
| GetDriverList() : DriverDetails[] | public | Gets the driver list. |
| GetFormatDetails() : FormatDetails | public | Gets the format details for specified format. |
| GetFormatDetails() : FormatDetails | public | 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() : FormatTagDetails | public | Gets the format tag details for specified format tag and suitable driver. |
| GetFormatTagDetails() : FormatTagDetails | public | 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() : IntPtr | public | Creates audio format for MPEG Layer3 audio data |
| GetPcmFormat() : IntPtr | public | Creates audio format for PCM data |
| GetWaveFormat() : WaveFormat | public | Gets the for specified format handle. |
| Insert() : Void | public | Insert audio data to stream. |
| Insert() : Void | public | Insert audio data to file. |
| InversePcm() : Void | public | |
| IsSilent() : Boolean | public | |
| Join() : Void | public | Join multiple audio streams into one. The audio data formats must be the same. |
| Join() : Void | public | Join multiple audio files into one. The audio data formats must be the same. |
| MergeStereo() : Void | public | |
| MergeStereo() : Void | public | Merges 2 mono WAVE streams into one stereo. |
| MergeStereo() : Void | public | Merges 2 mono WAVE files into one stereo. |
| Milliseconds2Bytes() : Int32 | public | Returns bytes number for specified format and time, expressed in milliseconds |
| Mix() : Byte[] | public | Mixes the audio data. |
| Mix() : Void | public | Mix several audio streams. The audio data formats must be the same. |
| Mix() : Void | public | 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() : Void | protected | |
| OnFormat() : Void | protected | |
| OnFormatTag() : Void | protected | |
| RecalculateData() : Int16[] | public | Recalculates audio data array to the specified length. (For ) |
| RecalculateData2() : Int16[] | public | |
| Remove() : Void | public | Remove part audio data from stream. |
| Remove() : Void | public | Remove part audio data from file. |
| Reverse() : Byte[] | public | Reverses Wave audio data. |
| Reverse() : Void | public | Reverses Wave audio data from one stream to another. |
| Reverse() : Void | public | Reverses Wave audio data from one file to another. |
| SplitStereo() : Void | public | |
| SplitStereo() : Void | public | Splits one stereo stream into two mono streams (left and right channels). |
| SplitStereo() : Void | public | Splits one stereo file into two mono files (left and right channels). |
| Wave2Mp3() : Byte[] | public | Converts Wave audio data to Mp3 audio data. |
| Wave2Mp3() : Void | public | Converts Wave stream to Mp3 stream. |
| Wave2Mp3() : Void | public | 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
| Name | Access | Summary |
|---|
| AviReaderException() | public | |
| AviReaderException() | public | |
Property Members
| Name | Access | Summary |
|---|
| Message : String | public | |
Method Members
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
| Name | Access | Summary |
|---|
| WaveReadWriter() | public | |
| WaveReadWriter() | public | |
Property Members
Method Members
| Name | Access | Summary |
|---|
| Close() : Void | public | Closes the current reader, writer and the underlying stream. |
| GetDurationInMS() : Int32 | public | (from Alvas.Audio.WaveReader) Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | (from Alvas.Audio.WaveReader) Gets audio stream length in bytes. |
| MakeMP3() : Void | public | (from Alvas.Audio.WaveReader) Changes Wave stream to MP3 stream if Wave stream contains MPEG Layer 3 data. |
| Milliseconds2Bytes() : Int32 | public | (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() : IntPtr | public | (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() : Void | public | Writes an audio byte array to the underlying stream. |
| WriteData() : Int64 | public | Writes an audio byte array to the underlying stream from specified position. |
| WriteInfoTag() : Void | public | 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
| Name | Access | Summary |
|---|
| RecorderEx() | public | |
| RecorderEx() | public | |
Property Members
| Name | Access | Summary |
|---|
| BufferSizeInMS : Int32 | public | Gets or sets the recorder buffer size in milliseconds. By default 500 ms. |
| Format : IntPtr | public | Gets and sets pointer to audio format. |
| RecorderCount : Int32 | public | Gets the number of audio recorders installed in system. |
| RecorderID : Int32 | public | Gets or sets the current recorder. If -1 the system uses suitable recorder. |
| State : DeviceState | public | Gets the recorder state. |
Method Members
| Name | Access | Summary |
|---|
| Finalize() : Void | protected | |
| FormatBytes() : Byte[] | public | Returns audio format byte array. |
| GetMixerNo() : Int32 | public | Return mixer number |
| GetPosition() : Int64 | public | Gets the current sound position. |
| GetRecorderName() : String | public | Returns recorder name by index. |
| OnClose() : Void | protected | Raises the Close event. |
| OnData() : Void | protected | Raises the Data event. |
| OnOpen() : Void | protected | Raises the Open event. |
| PauseRecord() : Void | public | Pauses recording. Use StartRecord method to resume recording. |
| StartRecord() : Void | public | Starts recording. |
| StopRecord() : Void | public | Stops recording. |
MixerMuteControl Class
Summary
public class MixerMuteControl : MixerBoolControl
Mixer mute control
Property Members
| Name | Access | Summary |
|---|
| ControlID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the control ID. |
| MixerID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the mixer ID. |
| MixerLine : MixerLine | public | (from Alvas.Audio.MixerControl) Gets the mixer line. |
| Name : String | public | (from Alvas.Audio.MixerControl) Gets the control name. |
| ShortName : String | public | (from Alvas.Audio.MixerControl) Gets the short name of the control. |
| Value : Int32 | public | (from Alvas.Audio.MixerControl) Gets or sets the control value. |
Method Members
| Name | Access | Summary |
|---|
| GetValue() : Int32 | protected | (from Alvas.Audio.MixerControl) Gets the control value. |
| SetValue() : Void | protected | (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
| Name | Access | Summary |
|---|
| AcmConverter() | public | Initializes a new instance of the class |
Method Members
| Name | Access | Summary |
|---|
| Close() : Void | public | 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
Field Members
Method Members
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
| Name | Access | Summary |
|---|
| WaveOutException() | public | |
Property Members
| Name | Access | Summary |
|---|
| ErrorCode : Int32 | public | Gets the error code associated with this exception. |
| Message : String | public | |
Method Members
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
| Name | Access | Summary |
|---|
| Mp3ReaderException() | public | |
| Mp3ReaderException() | public | |
Property Members
| Name | Access | Summary |
|---|
| Message : String | public | |
Method Members
DriverEventArgs Class
Summary
public class DriverEventArgs : EventArgs
Provides data for the Driver event.
Constructor Members
| Name | Access | Summary |
|---|
| DriverEventArgs() | public | Initializes a new instance of the DriverEventArgs class. |
Property Members
| Name | Access | Summary |
|---|
| DriverDetails : DriverDetails | public | Gets driver details. |
| Proceed : Boolean | public | Sets true to continue enumeration or false to stop enumeration. |
Method Members
DestinationLine Class
Summary
public class DestinationLine : MixerLine
Destination line.
Property Members
| Name | Access | Summary |
|---|
| Channels : Int32 | public | (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 : Int32 | public | (from Alvas.Audio.MixerLine) Gets the mixer ID. |
| MixerLineID : Int32 | public | (from Alvas.Audio.MixerLine) Gets the mixer line ID. |
| Name : String | public | (from Alvas.Audio.MixerLine) Gets the mixer line name. |
| ShortName : String | public | (from Alvas.Audio.MixerLine) Gets the short name of the mixer line. |
| Sources : MixerLine[] | public | Gets the source lines. |
Method Members
| Name | Access | Summary |
|---|
| ToString() : String | public | (from Alvas.Audio.MixerLine) Returns a that represents the current . |
DataEventArgs Class
Summary
public class DataEventArgs : EventArgs
Provides data for Data event.
Constructor Members
| Name | Access | Summary |
|---|
| DataEventArgs() | public | Initializes a new instance of the DataEventArgs class. |
Property Members
| Name | Access | Summary |
|---|
| Data : Byte[] | public | Gets byte data array. |
Method Members
DoneEventArgs Class
Summary
public class DoneEventArgs : DataEventArgs
Provides data for Done event.
Constructor Members
| Name | Access | Summary |
|---|
| DoneEventArgs() | public | |
Property Members
| Name | Access | Summary |
|---|
| Data : Byte[] | public | (from Alvas.Audio.DataEventArgs) Gets byte data array. |
| IsEndPlaying : Boolean | public | Gets a value indicating whether this instance is end playing. |
Method Members
Mp3Writer Class
Summary
public class Mp3Writer : AudioWriter, System.IDisposable, Alvas.Audio.IAudioWriter
Writes MP3 data to the stream.
Constructor Members
| Name | Access | Summary |
|---|
| Mp3Writer() | public | Initializes a new instance of the Mp3Writer class based on the supplied stream. |
Field Members
Property Members
Method Members
| Name | Access | Summary |
|---|
| WriteData() : Void | public | Writes an audio byte array to the underlying stream. |
| WriteData() : Int64 | public | 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
| Name | Access | Summary |
|---|
| MixerException() | public | Initializes a new instance of the class. |
Property Members
| Name | Access | Summary |
|---|
| ErrorCode : Int32 | public | Gets the error code that is associated with this exception. |
| Message : String | public | (from Alvas.Audio.AudioException) |
Method Members
DsReader Class
Summary
public class DsReader : Alvas.Audio.IAudioReader, System.IDisposable
Reads audio data using DirectShow.
Constructor Members
| Name | Access | Summary |
|---|
| DsReader() | public | Initializes a new instance of the DsReader class for the specified file. |
Property Members
| Name | Access | Summary |
|---|
| HasAudio : Boolean | public | Indicates whether the stream contains audio data. |
Method Members
| Name | Access | Summary |
|---|
| Close() : Void | public | Closes the DsReader object and releases any system resources associated with the reader. |
| Dispose() : Void | public | Closes the DsReader object and releases any system resources associated with the reader. |
| GetDurationInMS() : Int32 | public | Gets audio stream duration in milliseconds. |
| GetLengthInBytes() : Int32 | public | Gets audio stream length in bytes. |
| Milliseconds2Bytes() : Int32 | public | 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() : IntPtr | public | 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
| Name | Access | Summary |
|---|
| WaveReaderException() | public | |
| WaveReaderException() | public | |
Property Members
| Name | Access | Summary |
|---|
| Message : String | public | |
Method Members
FormatTagEventArgs Class
Summary
public class FormatTagEventArgs : EventArgs
Provides data for the FormatTag event.
Constructor Members
Property Members
Method Members
MixerIntControl Class
Summary
public class MixerIntControl : MixerControl
Mixer integer control
Property Members
| Name | Access | Summary |
|---|
| ControlID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the control ID. |
| Maximum : Int32 | public | Gets the maximum value of the control. |
| Minimum : Int32 | public | Gets the minimum value of the control. |
| MixerID : Int32 | public | (from Alvas.Audio.MixerControl) Gets the mixer ID. |
| MixerLine : MixerLine | public | (from Alvas.Audio.MixerControl) Gets the mixer line. |
| Name : String | public | (from Alvas.Audio.MixerControl) Gets the control name. |
| ShortName : String | public | (from Alvas.Audio.MixerControl) Gets the short name of the control. |
| Steps : Int32 | public | Gets the steps. |
| Value : Int32 | public | (from Alvas.Audio.MixerControl) Gets or sets the control value. |
| Values : Int32[] | public | Gets or sets the control values. |
Method Members
| Name | Access | Summary |
|---|
| GetValue() : Int32 | protected | (from Alvas.Audio.MixerControl) Gets the control value. |
| SetValue() : Void | protected | (from Alvas.Audio.MixerControl) Sets the control value. |
FormatChooseResult Class
Summary
public class FormatChooseResult
Class represents the result
Constructor Members
Property Members
Method Members