Copyright © 2001-2023 MultiMedia Soft

SoundGenerator object

Previous pageReturn to chapter overviewNext page

The SoundGenerator object, accessible through the control's SoundGenerator property, is internally implemented as a COM interface called ISoundGenerator and contains methods needed to generate several kinds of sounds like wave tones, noises, DTMF tones and text to speech.

 

The SoundGenerator object is implemented through the following methods and properties:

 

Methods

 

SpeechVoicesNumGet

SpeechVoiceAttributeGet

 

StreamCreateDtmfString

StreamCreateNoise

StreamCreateSlidingTone

StreamCreateSpeechFromFile

StreamCreateSpeechFromString

StreamCreateTone

 

StreamCreateMultiChannelEmpty

StreamChannelAddDtmfString

StreamChannelAddNoise

StreamChannelAddSlidingTone

StreamChannelAddSpeechFromFile

StreamChannelAddSpeechFromString

StreamChannelAddTone

StreamChannelElementsCountGet

StreamChannelElementUniqueIdGet

StreamChannelEmpty

StreamChannelIsEmpty

 

StreamElementAmplitudeGet

StreamElementAmplitudeSet

StreamElementDtmfStringGet

StreamElementDurationGet

StreamElementNoiseTypeGet

StreamElementOffsetGet

StreamElementRemove

StreamElementSlidingToneFrequenciesGet

StreamElementSlidingToneTypeGet

StreamElementSpeechTextGet

StreamElementSpeechVoiceGet

StreamElementToneFrequencyGet

StreamElementToneFrequencySet

StreamElementToneTypeGet

StreamElementTypeGet

 

 

For details about using the sound generator refer to the How to generate wave tones, noises, DTMF tones and text to speech tutorial.

 

Samples of usage of sound generation in Visual C++ and Visual Basic 6 can be found inside the following samples installed with the product's setup package:

- SoundGenerator