Error getting tags :
error 404Error getting tags :
error 404 recordCompression | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
recordCompression
Basics
Expander triangle
Type
Property
Syntax
set the recordCompression to codecName
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows
Security
None required
Summary
Specifies which codec is used to compress recorded sounds.
Examples

set the recordCompression to "MAC6"
if the recordCompression is "raw " then requestAnotherType

Additional Comments
Expander triangle

Use the recordCompression property to trade off between sound quality and disk space when you record a sound.

Value:

The recordCompression is a four-character string.

By default, the recordCompression property is "raw ".

Comments:

The recordCompression property determines what kind of compression is used when you use the record sound command to record sound to a file.

Not all codecs are compatible with all supported sound file formats. If you try to record sound using a recordCompression that is not compatible with the file format specified by the recordFormat property, the compression type will be changed automatically to a codec that is compatible with the specified recordFormat.

The codecs are installed by QuickTime. You can obtain a list of available codecs using the recordCompressionTypes function. The default setting, "raw " (note the trailing space), indicates no compression will be used.

Note: The answer recordcommand sets the recordCompressionproperty according to what the user chose in the answer recorddialog box.

User Comments
Expander triangle