A simple audio player



(C) 2004 V.A.Dobrovolski, A.V.Stepuk

Saint-Petersburg State University of Information Technologies, Mechanics and Optics

From here it is possible to download the full text of documentation in Russian in a PDF-format (432 Kb)
Here is the program (107 Kb)
Source texts (93 Kb)

Annotation

There is a broad range of sound players, e.g. Windows Media Player. But in a style of Microsoft this project has no documentation. For other similar projects it is typical to have open source and to have no project documentation.

The goal of this work is to create a simple sound player. Its main features contain:

Advantages of automaton approach consist of following points. Firstly, automaton idea can increase the centralization of logic in source code. Secondly, source is isomorphous to transition graph, which is a base for creating a source code. Added to this, the projection itself is a separate stage, which is the most important part of creation of a program.

The project is made according to The Motion of Open Project Documentation. The attention is focused on the formalization of building the control part of the program. Project is made in C++ using MFC library in Microsoft Visual C++ 6.0.

To get a sound from the player there must be a folder mus in the directory of a program with audio wav files , named by numbers by order beginning with 1 (1.wav. 2.wav, etc).