This is a sample program of a PM application that allows the user to play a wave file. It is intended to illustrate how a Memory Playlist can be used to record a wave file and play the wave file at the same time.
The wave file is played continuously using the Memory Playlist feature of MMPM/2. The Memory Playlist reads the wave data into a buffer from one routine and plays the wave data from the buffer in another routine. This is called double buffering.
Memory Playlist is a very powerful feature of MMPM/2 and offers many real-time recording applications such as:
o Real-time recording and playing of the wave file