Sound Methods
Sound Methods control sound-related functionality in the class.
| Method | Parameters | Return Value | Function |
| ShowSoundSettingsDialog | --- | --- | Displays the Sound Settings dialog. |
| ShowSoundSettingsDialog | --- | String | Displays the Sound Settings dialog and returns the name of the sound device upon dismissal of the dialog. |
| SoundChannelCount | Assigns Count as Integer | --- | Used to set the number of channels of the current sound device. (1 = mono; 2 = stereo) |
| SoundChannelCount | --- | Integer | Returns the number of channels of the current sound device. (1 = mono; 2 = stereo) |
| SoundCompressionType | Assigns Type as String | --- | Used to set the sound compression of the current device. Type is a four character code that corresponds to a particular compression type.
Consult the QuickTime documentation for a list of valid compression types. (e.g. "ulaw", "MAC3", etc...) |
| SoundCompressionType | --- | String | Returns a four character string that represents the type of compression currently in use. Consult the QuickTime documentation
for a list of valid compression types. (e.g. "ulaw", "MAC3", etc...) |
| SoundDevice | Index as Integer | String | Returns the name of a sound device based on its zero-based index. |
| SoundDeviceAvailable | Index as Integer | Boolean | Returns the availability of a sound device based on its zero-based index. |
| SoundInput | Assigns Input as Integer | --- | Selects a sound input using a zero-based index. |
| SoundInput | --- | Integer | Returns the zero-based index of the currently selected sound device. |
| SoundInputGain | Assigns Gain as Double | --- | Sets the gain for the current sound input. (e.g. 0 - 1.5) |
| SoundInputGain | --- | Double | Returns the gain of the currently selected sound device. (e.g. 0 - 1.5) |
| SoundLevelMeterActive | Assigns Active as Boolean | --- | Toggles the status of the sound level meter for the current sound input. |
| SoundLevelMeterActive | --- | Boolean | Returns the status of the sound level meter of the currently selected sound device. |
| SoundLevelMeterChannelCount | --- | Integer | Returns the number of channels used by the sound level meter of the currently selected sound device. (e.g. 1, 2, etc...) |
| SoundLevelMeterLeft | --- | Integer | Returns the level of left side of the sound level meter of the currently selected sound device. (e.g. 0 - 100) |
| SoundLevelMeterRight | --- | Integer | Returns the level of right side of the sound level meter of the currently selected sound device. (e.g. 0 - 100) |
| SoundSampleRate | Assigns SampleRate as Integer | --- | Sets the sample rate of the current sound input. (e.g. 44100 Hz) |
| SoundSampleRate | --- | Integer | Returns the sample rate of the current sound input. (e.g. 44100 Hz) |
| SoundSampleSize | Assigns Samplesize as Integer | --- | Sets the sample size of the current sound input. (e.g. 16 bit) |
| SoundSampleSize | --- | Integer | Returns the sample size of the current sound input. (e.g. 16 bit) |
| SoundVolume | Assigns Volume as Integer | --- | Sets the volume of the current sound input. (e.g. 0-256) |
| SoundVolume | --- | Integer | Returns the volume of the current sound input. (e.g. 0-256) |
Real Capture Canvas is Copyright (c)2006 SONICAMIGOS.COM.
SONICAMIGOS.COM is not affiliated with Real Software.
REALbasic is a registered trademark of Real Software, Inc.