recordLoudness

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the recordLoudness
recordLoudness()
Summary

Returns the volume of the sound currently being recorded.

Introduced1.1
OSmac, windows
Platformsdesktop, server
Example
the recordLoudness
if the recordLoudness is zero then pauseRecording
Values
NameTypeDescription
return

The recordLoudness function returns a positive integer.

RelatedProperty: playLoudness, recording, beepLoudness
Command: record sound
Glossary: property, return
Control Structure: function
Description

Use the recordLoudness function to determine whether a sound is currently being made while recording is taking place, or to provide feedback on the input sound level.

The recordLoudness function returns zero if no recording is currently taking place (that is, if the recording property is false).

Tagsmultimedia