CSAudioPlayer 1.0

.NET component to play any type of audio file with a specific format.


About
The CSAudioPlayer is a .NET component that can play many types of audio (and video) files with a specific format and with a built in audio visualization / audio meter controls and a built in ID3 tags editor.
Benefits
  • A Dot NET component.
  • Play ANY audio (and video) file.
  • Play an Audio CDs.
  • Get the details about the source files.
  • Play / Pause Play / Stop Play.
  • Get all the installed output devices.
  • Get the default output device.
  • Set the output device to play to.
  • Set the playing format:
    • 48Khz to 8Khz sample rates.
    • 8, 16, 24 and 32 bits depth.
    • Mono or stereo.
  • Get the playing position.
  • Get the time length of the source file.
  • Embedly audio visualization:
    • Set the color base.
    • Set the color max.
    • Set the interval.
    • Set the number of bars to display.
    • Set the spacing between the bars.
  • Embedly audio meter.
  • Set the volume.
  • Decode with the local installed codecs (Windows Media Foundation)
  • Decode with the FFMpeg libraries.
  • Built in ID3 editor:
    • Set any ID3 tag of the destination file.
    • Set the title, album, track#, comment, artist etc.
    • Set the ID3 image of the destination file.
  • Operation progress.
  • Many relevant events.
  • Built in threads handling.
  • Safe exit.
  • Can be run as a library.
  • Easy to use.
  • C# / VB .NET well documented examples.
  • Cut your developing time up to 80%.
  • Just drop the component controls in your form and start to work immediately.
  • The source code of this component is also available.
  • Licensed under the MS-PL.
  • Can be used in commercial products.
Example
Play an audio file using C#
//Init the component
audioPlayer1.UserName = "Your email";
audioPlayer1.UserKey = "Your registration key";

//Set the visualization of the player control
audioPlayer1.AudioVisualization = audioVisualization1;

//Set the meter of the control
audioPlayer1.AudioMeter = audioMeter1;

//Set the audio device index to play to
audioPlayer1.AudioDevice = cboPlayerAudioDevice.SelectedIndex;

//Set the multimedia file name to play
audioPlayer1.FileName = lblMediaFile.Text;

//Events:

//On progress event
audioPlayer1.PlayProgress += (s, e) =>
{
    Console.WriteLine("\nPostion " + e.Postion);
};

//When the play process has done
audioPlayer1.PlayDone += (s) =>
{
    Console.WriteLine("\nDone.");
};

//Start playing
audioPlayer1.Play();
Get it
Use it
Download the CSAudioPlayer to your machine -> Extruct the compressed file (with 7-zip) -> Open the Examples folder -> Open the Example project file with Visual Studio.
The price is one time fee for the current major version and includes an online support.
---------------------------
The source code (C#) of the CSAudioPlayer is also available under the MS-PL license.