Play cue

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Echo
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 6
Joined: Sun Aug 09, 2009 2:59 am

Play cue

Post by Echo » Sun Aug 09, 2009 3:26 am

I'm working on a Mac.

I know that I can use the code

beep

and it will make the default sound of the computer, whatever that may be. You can also put

play cue

and it will make a standard beep noise no matter what the default sound of the computer is. My problem is that the play is flaky and sometimes it doesn't work at all. I want the user to hear a beep to tell them it is time to record something, but it isn't consistent. So I have 2 questions: is there something that can be set in the stack that would disable the "play cue" ability (which I don't know about and have inadvertently set) and is there a way to otherwise control what sound the user hears when the "beep" command is issued? (I'd rather not load and play an external sound file for the beep, but I will if I have to.)

Thanks in advance.

Echo

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Sun Aug 09, 2009 12:40 pm

Hi Echo,

I have never herad of a "play cue" command in Rev, it does not produce a sound on my mac but also does not gubve an error in Rev?
So, sorry, but I have no idea what you are talking about here :)

Anyway, you cannot change the "beep" sound with the built-in capabilities of Rev.
Importing a (short) sound and play this one with the "play" command instead of "beep" might be the best solution for your problem.


Best

Klaus

Echo
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 6
Joined: Sun Aug 09, 2009 2:59 am

Post by Echo » Tue Aug 11, 2009 6:35 am

Thanks for your response, Klaus. Today it is working. It hasn't for a week. I don't understand it either. There was something very similar in HyperCard, but it's been too long and I don't remember what it was anymore.

Post Reply