Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

sound

the sound
Value returned: a text string equal to the name of the sound resource currently playing (such as "boing") or the string "done" if no sound is currently playing.

You use the sound function to synchronize sounds with other actions, because scripts continue to run while sounds are playing.


Examples

if the sound is not done then ...

wait until the sound is done

Related Topics

« sin | HyperTalk Reference | sqrt »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » Functions

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

sound

the sound
Value returned: a text string equal to the name of the sound resource currently playing (such as "boing") or the string "done" if no sound is currently playing.

You use the sound function to synchronize sounds with other actions, because scripts continue to run while sounds are playing.


Examples

if the sound is not done then ...

wait until the sound is done

Related Topics

« sin | HyperTalk Reference | sqrt »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View