[Gambas-user] Sound
Rob
sourceforge-raindog2 at ...94...
Sun Jul 27 02:04:55 CEST 2003
On Saturday 26 July 2003 19:38, Trax wrote:
> Hello my question is when will Gambas support MIDI and WAV sound files?
It's planned for eventual inclusion via SDL, but you can do it now by starting
mplayer or xmms in "slave mode" and sending a play command (using the process
object, much like writing to an open file) whenever you want to play a
sample. I don't know about MIDI files, but playing those through timidity or
something similar should be possible the same way. I have released a Gambas
program PVRec that takes an MPEG stream and saves it to disk while
simultaneously playing it in MPlayer in realtime, so this isn't just
theoretical.
Gambas doesn't have a million components written yet, but thankfully, Linux
makes it a lot easier to control external programs than Windows does ;)
Rob
More information about the User
mailing list