New! Alvas.Audio.Core


Stand with Ukraine!
Alvas.Net - .Net developers toolbox
  Overview    News    Articles    How to..    Samples    Videos    Order    Free Trial    Demo       PR    PAD  
Alvas.Audio Quick Start Guide

Now supports x64 mode on 64-bit operating systems.

Alvas.Audio is C# audio library for .Net developers.

Main features: Requirements: .Net Framework v2.0 or later (also supported in 3.0, 3.5, 4.0 and 4.7).
Recommended: .Net Framework with Visual Studio .Net 2010 or later (also VS.NET 2019)
Demo limitations: Shows Nag-screen
The library allows C# and VB.Net developers to create applications that play (including mixed audio data), record, edit and convert sound.

Key Features:
  1. Recorder allows:
    1. record uncompressed audio data (PCM);
    2. record compressed audio data: IMA ADPCM, Microsoft ADPCM, CCITT A-Law, CCITT u-Law, GSM 6.10, MPEG Layer-3 (mp3) and others;
    3. record data to the stream (file stream, memory stream);
    4. pause and resume recording;
    5. get the current sound position;
    6. record data to any recorder installed in the system (multiple sound cards).
  2. Player allows:
    1. play uncompressed audio data (PCM);
    2. play compressed audio data: IMA ADPCM, Microsoft ADPCM, CCITT A-Law, CCITT u-Law, GSM 6.10, MPEG Layer-3 (mp3) and others;
    3. play data from the stream (file stream, memory stream);
    4. play mixed audio data;
    5. pause and resume playing;
    6. get the current sound position;
    7. play data from any player installed in the system (multiple sound cards).
  3. Set up mixer controls:
    1. select source line for recording;
    2. change source line volume for recording;
    3. additional controls adjustment. For example, "Mic Boost";
    4. change master volume for playback;
    5. playback muting.
  4. Editing
    1. change the speed of audio data;
    2. change the volume of audio data;
    3. join several pieces of audio in a single;
    4. cut a piece of the audio stream;
    5. insert a piece in the audio stream;
    6. remove a piece of the audio stream;
    7. create audio format from the byte array;
    8. insert and mix audio data into main audio data with specified offset multiple times;
    9. reverse audio wave stream;
    10. split stereo audio stream to two mono streams;
    11. merge two mono audio streams into one stereo.
    12. Several audio files concatenation.
  5. Converting
    1. Convert the audio data from one audio format to another.
    2. Convert audio wave stream to mp3 stream.
    3. Convert Dialogic .vox (adpcm) stream to Mp3 stream.
    4. Change Wave stream to MP3 stream. if Wave stream contains MPEG Layer 3 data.
    5. Play, record and convert RAW headerless format (SLINEAR etc) (used in Asterisk PBX).
    6. Play and extract audio data from Avi streams.
    7. Encode and decode Dialogic .vox (adpcm) format data (used in Asterisk PBX).
    8. Convert audio wave stream to mp3 stream
    9. Convert Dialogic .vox (adpcm) stream to Mp3 stream
  6. Misc
    1. View the level of the input sound signal.
    2. Sign library with strong name. Audio library can be added to GAC
See "How to.." for more info...

Whats new (version 2019.0): New AudioCompressionManager.ConvertMultistep method allows multistep conversions the audio data from the specified old format to the new format. Also were added:
  1. Web c# and examples
  2. Drivers c# and examples
Whats new (version 2018.0): Improved support for mp3 format.

Whats new (version 2016.0): New methods were added:
  1. AudioCompressionManager.Mp3ToMono method converts Mp3 Stereo into Mono
  2. AudioCompressionManager.WaveToMono method converts Wave Stereo into Mono
Whats new (version 2015.0):
  1. PcmReader is wrapper around IAudioReader for reads and uncompress to PCM (Pulse-code modulation) audio data from the stream.
  2. CompressionManager.GenerateTone method generates tone with specified ToneType (Sine, Square, Sawtooth, Triangle)
Whats new (version 2014.0):
  1. DsConvert.ToWma method converts input audio file to WMA (Windows Media Audio) file
  2. CdDrive class for control CD / DVD devices
  3. CdReader class reads audio data from specified CD Audio track
  4. CdInfo class describes CD-DA (Compact Disc Digital Audio)
  5. TrackInfo class describes CD (Compact Disc) track
Includes two versions of the library:
  1. Alvas.Audio.dll (compiled under .Net 2.0)
  2. Alvas.Audio40.dll (compiled under .Net 4.0)
Whats new (version 9.8):

Sox class that can convert various formats of computer audio files in to other formats. Now supports:

  1. aifc
  2. aiff
  3. au, snd
  4. hcom (Mac FSSD files with Huffman compression)
  5. voc (Creative Technology Sound Blaster format)
  6. wav
  7. gsm (GSM 06.10 (full-rate) lossy speech compression)
  8. lpc10 (Low bandwidth, robotic sounding speech compression)
  9. ogg, vorbis ('s ogg-vorbis lossy compression)
  10. wv (WavPack lossless, lossy, and hybrid audio compression)
Whats new (version 9.5):
  1. New classes that allow you to change the parameters of audio filters in real time.
Whats new (version 9.2):
  1. CafReader class for reading audio data from CAF (Core Audio Format) streams.
  2. CafWriter class for writing audio data to CAF (Core Audio Format) streams.
Whats new (version 9.0):
  1. AiffReader class for reading audio data from AIFF (Audio Interchange File Format) streams.
  2. AiffWriter class for writing audio data to AIFF (Audio Interchange File Format) streams.
Whats new (version 8.5):
  1. Insert/overwrite recorging modes for RecordPlayer class
  2. Supports insert/overwrite modes for WaveWriter and WaveReadWriter classes
  3. Returns max volume for specified audio format and data
  4. Returns audio data queue length for PlayerEx
  5. Clears audio data queue for PlayerEx
  6. Console example
  7. Windows Service example
Whats new (version 8.1):
  1. Supports x64 mode on 64-bit operating systems.
  2. WaveformVisualizer draws picture of the sound amplitude-time representation (Waveform).
  3. Removes DC offset. DC offset is an offsetting of a signal from zero. Occurs when hardware, such as a sound card, adds DC offset to a recorded audio signal.
  4. AuReader reads an audio data from the .AU and .SND streams.
  5. ToFormat method converts audio data to the specified audio format.
  6. Normalize method raises the volume so that the highest sample level reaches a maximum level.
  7. Swaps stereo channels.
  8. Inverts the audio signal to 180 degrees. All positive values in the wave form are replaced by negative and vice versa.
  9. Frees memory previously allocated for audio format.
  10. Creates 32-bit IEEE Float audio format.
  11. Performs resampling audio data from and to 8/16/24/32-bit integer PCM and 32-bit IEEE Float audio formats.
  12. Windows Presentation Foundation (WPF) example
Whats new (version 7.7):
  1. Support audio filters such as Chorus, Compressor, Distortion, Echo, Flanger, Gargle, I3DL2Reverb, ParamEq, WavesReverb.
  2. Helper for converting Mp3 file to Wav file with PCM (Pulse-code modulation) data
  3. Helper for decoding audio data in PCM (Pulse-code modulation).
  4. Helper for decoding audio data in PCM (Pulse-code modulation) 16 bit
  5. Create fade in/out effect
  6. Create silence
  7. Allows to work SoundLevelMeter and RecordPlayer together
Whats new (version 6.8): DsReader class for playback any audio files and decode theirs to PCM using DirectShow filters. Standard supports
  • MP3 Format Sound: .mp3
  • Windows Media Audio: .wma
  • AIFF (.aif .aifc .aiff)
  • AU (.au .snd)
  • MIDI (.mid .midi .rmi)
  • Windows Media Video: .wmv
  • Advanced Systems Format: .asf
  • Motion Picture Experts Group: .mpeg
  • Audio-Video Interleaved: .avi
  • WAV: wav
Use X Codec Pack to expand the list of supported formats to
  • Matroska (.mka)
  • MPEG (.mpa .mp2 .m1a .m2a)
  • MPEG4 (.m4a .aac)
  • Musepack (.mpc)
  • RealMedia (.rm .rmvb .ra .ram)
  • 3GP (.3gp .3gpp .3g2 .3gp2)
  • FLAC (.flac)
  • Ogg Vorbis (.ogg)
  • WavPack (.wv)
  • Monkey's Audio (.ape)
  • True Audio (.tta)
  • Apple Lossless Audio Codec (.alac)
  • AMR (.amr)
  • Trackers (.xm .s3m .it .mod .umx)
  • and much more...
Blog :: Contact Us :: Copyright © 1998-2023 Alvas.Net. All rights reserved