Write an audio player application with AudioLab using Delphi or C++ Builder


This is a step by step tutorial for writing a simple audio player in Delphi or C++ Builder VCL by using AudioLab. The steps are exactly identical in Delphi or C++ Builder versions 5 to 2007.

There is no code writing necessary to complete this application.

There is no need to know Delphi or C++ Builder in order to create this application.

The steps bellow are captured using Delphi 2007, however they are identical in C++ Builder and older versions of the products.



The tutorial covers the following steps, which should take less than two minutes:

1. Add a TALWavePlayer Component to Your Application's Form:

1.1. From the AudioLab tab of the component palette drop a ALWavePlayer TALWavePlayer component.

2. Add an TALAudioOut Component to Your Application's Form:

2.1. From the AudioLab tab of the component palette drop a ALAudioOut TALAudioOut component.

3. Select file to play in the ALWavePlayer1 Component:

3.1. Double-click on the ALWavePlayer1 component on the form:


3.2. Select a file to play, and click “Open”:


4. Connect the ALWavePlayer1.OutputPin to ALAudioOut1.InputPin:

4.1. In the ALWavePlayer1 Properties select OutputPin and click on the DottedButton button:


4.2. In the connection editor check the InputPin of the ALAudioOut1 and click OK:


5. Run the Application:

5.1 Press (F9) to run the application. You should hear the audio playing:


Here is a diagram of the OpenWire connections in this application: