I'm developing for Notes 5.04a - 5.08.
In my database postopen, I check to see if the user has some small sound files available in their tune list, and if they don't, I extract them from profile documents.
In another place in the database, I wish to be able to play these sound files sequentially. The problem is the ws.PlayTune("TuneName") command, if called more than once in a row, doesn't wait until the first "tune" has finished playing to play the second "tune" and so forth. So what you end up getting is only the last tune you played.
Each sound file is only about a fourth or a third of a second, and there will potentially be two dozen or so in a series. So I'd rather not have a long delay inbetween them, even of one second (which I know I could get by grabbing Now and then waiting until Now changes).
Can anybody recommend a way to play these little buggers one at a time without any significant delay?