CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechPhraseInfo

AudioSizeBytes Property


The AudioSizeBytes property returns the size of audio data in bytes for this phrase.

AudioSizeBytes is directly tied to the input audio format. AudioSizeBytes increases as the quality of the format increases (and in doing so, requires more bytes). However, it is possible that the application needs the retained audio in a format different from the input audio stream (perhaps for lower-quality persistence, for example). If an application scales the audio, RetainedAudioSizeBytes will change, but not AudioSizeBytes.


Syntax

Set: (This property is read-only)
Get: Long = ISpeechPhraseInfo.AudioSizeBytes

Parts

ISpeechPhraseInfo
The owning object.
Long
Set: (This property is read-only)
Get: A Long variable containing the size of audio data.

Example

The following code snippet assumes a valid recognition, RecoResult, although it still checks for validity. AudioSizeBytes displays in a message box. A short phrase such as "Now is the time" might be 56,000 bytes.

If Not RecoResult Is Nothing Then
	Dim rp As ISpeechPhraseInfo
	Set rp = RecoResult.PhraseInfo
	
	MsgBox "AudioTime: " & rp.AudioSizeBytes
End If


You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web