/external/webrtc/webrtc/common_audio/vad/ |
vad_core_unittest.cc | 59 int16_t speech[kMaxFrameLength]; local 66 memset(speech, 0, sizeof(speech)); 70 EXPECT_EQ(0, WebRtcVad_CalcVad8khz(self, speech, kFrameLengths[j])); 73 EXPECT_EQ(0, WebRtcVad_CalcVad16khz(self, speech, kFrameLengths[j])); 76 EXPECT_EQ(0, WebRtcVad_CalcVad32khz(self, speech, kFrameLengths[j])); 79 EXPECT_EQ(0, WebRtcVad_CalcVad48khz(self, speech, kFrameLengths[j])); 83 // Construct a speech signal that will trigger the VAD in all modes. It is 86 speech[i] = static_cast<int16_t>(i * i); 90 EXPECT_EQ(1, WebRtcVad_CalcVad8khz(self, speech, kFrameLengths[j])) [all...] |
vad_filterbank_unittest.cc | 38 // Construct a speech signal that will trigger the VAD in all modes. It is 40 int16_t speech[kMaxFrameLength]; local 42 speech[i] = static_cast<int16_t>(i * i); 50 WebRtcVad_CalculateFeatures(self, speech, kFrameLengths[j], 62 memset(speech, 0, sizeof(speech)); 66 EXPECT_EQ(0, WebRtcVad_CalculateFeatures(self, speech, kFrameLengths[j], 77 speech[i] = 1; 82 EXPECT_EQ(0, WebRtcVad_CalculateFeatures(self, speech, kFrameLengths[j],
|
vad_unittest.cc | 65 // Construct a speech signal that will trigger the VAD in all modes. It is 67 int16_t speech[kMaxFrameLength]; local 69 speech[i] = static_cast<int16_t>(i * i); 76 WebRtcVad_Process(nullptr, kRates[0], speech, kFrameLengths[0])); 82 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0])); 98 // nullptr as speech pointer 102 EXPECT_EQ(-1, WebRtcVad_Process(handle, 9999, speech, kFrameLengths[0])); 114 speech, 119 speech,
|
/frameworks/base/core/java/android/speech/tts/ |
AbstractSynthesisCallback.java | 16 package android.speech.tts; 42 * Aborts the speech request.
|
PlaybackQueueItem.java | 3 package android.speech.tts; 5 import android.speech.tts.TextToSpeechService.UtteranceProgressDispatcher; 32 * {@link android.speech.tts.TextToSpeech} or 33 * {@link android.speech.tts.TextToSpeech#STOPPED}
|
SilencePlaybackQueueItem.java | 16 package android.speech.tts; 19 import android.speech.tts.TextToSpeechService.UtteranceProgressDispatcher;
|
SynthesisCallback.java | 16 package android.speech.tts; 26 * A callback to return speech data synthesized by a text to speech engine. 69 * @return {@link android.speech.tts.TextToSpeech#SUCCESS}, {@link 70 * android.speech.tts.TextToSpeech#ERROR} or {@link android.speech.tts.TextToSpeech#STOPPED}. 88 * @return {@link android.speech.tts.TextToSpeech#SUCCESS}, {@link 89 * android.speech.tts.TextToSpeech#ERROR} or {@link android.speech.tts.TextToSpeech#STOPPED}. 102 * @return {@link android.speech.tts.TextToSpeech#SUCCESS}, {@lin [all...] |
UtteranceProgressListener.java | 3 package android.speech.tts;
|
EventLogger.java | 16 package android.speech.tts; 21 * Writes data about a given speech synthesis request to the event logs. The data that is logged 22 * includes the calling app, length of the utterance, speech rate / pitch, the latency, and overall
|
AbstractEventLogger.java | 16 package android.speech.tts; 21 * Base class for storing data about a given speech synthesis request to the
|
SynthesisRequest.java | 16 package android.speech.tts; 21 * Contains data required by engines to synthesize speech. This data is: 30 * <li>The synthesis speech rate, with 100 being the normal, and 31 * higher values representing higher speech rates.</li> 35 * Any additional parameters sent to the text to speech service are passed in 107 * Gets the speech rate to use. The normal rate is 100. 151 * Sets the speech rate.
|
AudioPlaybackHandler.java | 16 package android.speech.tts;
|
AudioPlaybackQueueItem.java | 16 package android.speech.tts; 23 import android.speech.tts.TextToSpeechService.AudioOutputParams; 24 import android.speech.tts.TextToSpeechService.UtteranceProgressDispatcher;
|
/frameworks/base/core/java/android/speech/ |
RecognizerResultsIntent.java | 17 package android.speech; 24 * Constants for intents related to showing speech recognition results. 26 * These constants should not be needed for normal utilization of speech recognition. They 61 "android.speech.action.VOICE_SEARCH_RESULTS"; 68 "android.speech.extras.VOICE_SEARCH_RESULT_STRINGS"; 80 "android.speech.extras.VOICE_SEARCH_RESULT_URLS"; 99 "android.speech.extras.VOICE_SEARCH_RESULT_HTML"; 111 "android.speech.extras.VOICE_SEARCH_RESULT_HTML_BASE_URLS"; 125 "android.speech.extras.EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS";
|
RecognitionListener.java | 16 package android.speech; 82 * {@link SpeechRecognizer#startListening(Intent)}, depending on the speech recognition
|
RecognizerIntent.java | 17 package android.speech; 32 * Constants for supporting speech recognition through starting an {@link Intent} 36 * The extra key used in an intent to the speech recognizer for voice search. Not 49 * Starts an activity that will prompt the user for speech and send it through a 50 * speech recognizer. The results will be returned via activity results (in 60 * speech recognition which can use a substantial amount of bandwidth. 84 public static final String ACTION_RECOGNIZE_SPEECH = "android.speech.action.RECOGNIZE_SPEECH"; 87 * Starts an activity that will prompt the user for speech, send it through a 88 * speech recognizer, and either display a web search result or trigger 89 * another type of action based on the user's speech [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
audio_encoder.h | 31 bool speech = true; member in struct:webrtc::AudioEncoder::EncodedInfoLeaf
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
MockableCheckVoiceData.java | 17 package com.android.speech.tts; 22 import android.speech.tts.TextToSpeech;
|
TtsEnginesTests.java | 1 package com.android.speech.tts; 3 import android.speech.tts.TtsEngines;
|
MockableTextToSpeechService.java | 17 package com.android.speech.tts; 19 import android.speech.tts.SynthesisCallback; 20 import android.speech.tts.SynthesisRequest; 21 import android.speech.tts.TextToSpeechService;
|
/frameworks/ex/common/java/com/android/common/speech/ |
Recognition.java | 17 package com.android.common.speech; 22 * @see android.speech.RecognitionService 23 * @see android.speech.RecognizerIntent 29 * android.speech.RecognizerIntent#ACTION_GET_LANGUAGE_DETAILS 33 * android.speech.RecognizerIntent#EXTRA_LANGUAGE_PREFERENCE). 42 public static final String EXTRA_HINT_STRINGS = "android.speech.extra.HINT_STRINGS"; 46 * android.speech.RecognizerIntent#ACTION_GET_LANGUAGE_DETAILS. 50 public static final String EXTRA_HINT_CONTEXT = "android.speech.extra.HINT_CONTEXT";
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
StubTextToSpeechService.java | 16 package android.speech.tts.cts; 20 import android.speech.tts.SynthesisCallback; 21 import android.speech.tts.SynthesisRequest; 22 import android.speech.tts.TextToSpeech; 23 import android.speech.tts.TextToSpeechService; 24 import android.speech.tts.TtsEngines;
|
TextToSpeechServiceTest.java | 16 package android.speech.tts.cts; 20 import android.speech.tts.TextToSpeech; 30 * Tests for {@link android.speech.tts.TextToSpeechService} using StubTextToSpeechService. 33 private static final String UTTERANCE = "text to speech cts test";
|
TextToSpeechTest.java | 16 package android.speech.tts.cts; 20 import android.speech.tts.TextToSpeech; 29 * Tests for {@link android.speech.tts.TextToSpeech} 32 private static final String SAMPLE_TEXT = "This is a sample text to speech string";
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
cod_amr.h | 22 ANSI-C code for the Adaptive Multi-Rate (AMR) speech codec 121 * L_TOTAL7k4 : Total size of speech buffer. * 128 /* Speech vector */ 130 Word16 *speech, *p_window, *p_window_12k2; member in struct:__anon40125 133 /* Weight speech vector */ 187 * - initilize pointers to speech buffer 225 * calling this function, 40 new speech data should be copied to the 227 * this file (it points to the end of speech buffer minus 200). 232 Word16 new_speech[] /* i : speech input (L_FRAME) */ 240 * DESCRIPTION: This function is called every 20 ms speech frame [all...] |