[fpc-pascal]Playing sounds in Fpc?

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Jul 16 11:32:28 CEST 2001


On Sat, 14 Jul 2001, Michael Lang wrote:

> I wrote quite a lot of stuff in BPC for DOS, but do not have that much
> experience in Win32 programming. I'd like to have some examples of
> code to play wave and midi files. I'm not looking for finished
> players, where one just clicks with the mouse, to play a file. I'd
> like to have code, with which one can just play little sounds. I've
> heard of a programming language called Profan, in which one can use
> Midi, by just entering commands in the source code like play(note1,
> note2) etc. That would be a great thing in Fpc. Does anybody here
> perhaps have a unit, which provides similar functionality? I'd like to
> write Windows programs, that only need an Exe file, no additional
> sound files, and nevertheless play sounds. This was easy under DOS, by
> using the PC speaker, but seems to be a bit difficult under Win32.

I don't have any knowledge of such a unit; Did you check the swag archive
or the contributed units section of the web-page ?

Michael.






More information about the fpc-pascal mailing list