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.1. From the AudioLab tab of the component palette drop a TALWavePlayer component.
2.1. From the AudioLab tab of the component palette drop a TALAudioOut component.
3.1. Double-click on the ALWavePlayer1 component on the form:
3.2. Select a file to play, and click “Open”:
4.1. In the ALWavePlayer1 Properties select OutputPin and click on the button:
4.2. In the connection editor check the InputPin of the ALAudioOut1 and click OK:
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: