Home
last modified time | relevance | path

Searched refs:SAMPLING_RATE_HZ (Results 1 – 1 of 1) sorted by relevance

/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java51 private static final int SAMPLING_RATE_HZ = 16000; field in RobotSpeakTtsService
56 private final byte[] mAudioBuffer = new byte[SAMPLING_RATE_HZ * 2];
176 callback.start(SAMPLING_RATE_HZ, in onSynthesizeText()
259 final int waveLength = SAMPLING_RATE_HZ / frequency; in generateOneSecondOfAudio()
260 final int times = SAMPLING_RATE_HZ / waveLength; in generateOneSecondOfAudio()