Jeff,
Because this is a shared object, the only way to keep track of your own
sounds is by a number which the Create and Load methods return. Change
your snippet to the following, and it should work.
Dim mySoundID
mySoundID = SOAudioKit.Load("AudioKitTest.wav")
SOAudioKit.Play mySoundID
If you want to pause or stop the playback, call
SOAudioKit.Pause mySoundID
or
SOAudioKit.Stop mySoundID
Regards,
Steve
On 9/2/2011 2:39 PM, Jeff Weiss wrote:
I see how to get the shared object and play a tone with the audioKit,
but could we get a working example of how to play, pause, and stop a
file from disk.
Using SOAudioKit for my shared object, I tried:
SOAudioKit.Load("AudioKitTest.wav")
SOAudioKit.Play("AudioKitTest.wav")
This did not work.
I need more info about using the ID and I guess a long variable for the
ID-if this is necessary for playing a file.
Thanks,
Jeff Weiss, CVRT
Rehabilitation Teacher
Lions World Services for the Blind
2811 Fair Park Blvd.
Little Rock, AR 72204
http://www.lwsb.org
The Mission of LWSB is to educate adults who are blind or visually
impaired for careers and independent lives.
--
Stephen Clower
Product support specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com