Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:54 am
by Kevin Luck >> Thu, 13 Jul 2000 23:09:17 GMT
The play method of the MultiMedia class
OR
The play method of the Sound class (a subclass of the MultiMedia class).
The Multimedia class loads the appropriate playing device into memory and then gives you access to all the control features of most playback devices: play, stop, reverse, resume, record etc. etc. and options to show various controls such as playbars, record buttons etc. This is ideal for longer "music" or "speech" type recordings, over which you would usually want to have a reasonable amount of control.
The Sound version, on the other hand, loads the whole wav into memory then returns control to the application once it has started to play the sound file. It is a nice, easy way to handle the playing of sounds but doesn't give you any control over it once it has started playing. Ideal for simple, short "sound effects" for example.
k