The QTPlgMediaSound class defines a that describes audio samples. This class implements properties and methods that allows you to deal with characteristics peculiar to sound samples.
→ →
The QTPlgMediaSound class constructors are called when you create a new instance of the class, while the ˜QTPlgMediaSound class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil. You can not create a QTPlgMediaSound object by yourself; instead, you will use class instances obtained from objects of appropriate type.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. See the validity requirements for more details.
The class provides you with the following initializer methods:
(other as QTPlgMediaSound)
This is the copy constructor. The properties of the object to be copied will be used to initialize the
new class instance properties
determines the value of the media handler’s bass setting
requires QuickTime 4.0 or later
determines the value of the media handler’s treble setting
requires QuickTime 4.0 or later
mutes or unmutes the audio output of a track. The track mute setting is not stored in the movie; it is used only until
the movie is closed
requires QuickTime 7.0 or later
determines the audio gain level for the audio output of a track, altering the perceived volume of the track’s playback.
You can specify a value of 0.0 or greater; this value is multiplied by the track’s volume.
0.0 is silent,0.5 is –6 dB,
1.0 is 0 dB (the audio from the track is not modified),
2.0 is +6 dB, etc.
The gain level can be set higher than 1.0 to allow quiet tracks to be boosted in volume.
Gain settings higher than 1.0 may result in audio clipping.
The track’s gain setting is not stored in the movie; it is used only until the movie is closed
requires QuickTime 7.0 or later
determines if a media handler’s sound level metering capability is enabled or disabled
requires QuickTime 4.0 or later
establishes the current 3D sound settings for the track associated to the media; if
there are no 3D sound settings, this property is set to nil.
The effect of the new 3D sound setting takes place immediately. The settings passed are always stored, even if
the track or the computer is not capable of actually meeting the request. When the movie is saved, the 3D sound
settings are saved with it. By constantly setting this property,
it is possible for an application to make a track’s sound move in 3D space.
provides informations about the right and left sound level meter values for a media handler; if the
is disabled, this property is set to nil
requires QuickTime 4.0 or later
establishes sound equalizer settings for a media handler
requires QuickTime 4.0 or later
provides detailed informations about the stored sound sample data
provides detailed informations about the stored sound sample data; returns a list of
objects