To explain what I like to do with BASS:
In Holland the C'T magazine started with a Pascal course. Amongst others they gave a windows example of the singing Nightingale using the windows MMSystem library for the audio part.
A part of the program is a "simple"
procedure TfrmNightingale.imgNightingaleClick(Sender: TObject);
// must be wav files...
sndPlaySound('..\wav\NightingaleStory.wav', SND_FILENAME or SND_ASYNC);
Timer1.Enabled := True;
uses the sndPlaySound(...) to play the song.
OK. To play an audio file with BASS, the bare bones code could look something like this...
BASS_Init(-1, 44100, 0, 0, 0); // initialize default output device
stream=BASS_StreamCreateFile(FALSE, filename, 0, 0, 0); // create a stream to play a file
BASS_ChannelPlay(stream, 0); // start playing it
BASS_StreamFree(stream); // free the stream
BASS_Free(); // release the output device
If you want to play a file and forget about it (automatically free it when done playing), then you can add the BASS_STREAM_AUTOFREE flag to the BASS_StreamCreateFile call. Please see the documentation for details on the aforementioned functions.