The following will only work on Apple Mac OSX 10.5 and above
To start: system("afplay [path to audio file] &");
To stop: system("killall afplay");
TIP: REPLACE [] WITH STANDARD HYPERTEXT PROTOCOL.
TIP: REPLACE WHATEVER IS BETWEEN THE [] WITH YOUR INFORMATION.
Hope that helps!
To start: system("afplay [path to audio file] &");
To stop: system("killall afplay");
TIP: REPLACE [] WITH STANDARD HYPERTEXT PROTOCOL.
TIP: REPLACE WHATEVER IS BETWEEN THE [] WITH YOUR INFORMATION.
Hope that helps!