2019.8.31 curriculum design case

A day to complete the task

  Today is the day in the water, try to learn to fly voice and import the information to complete the requirements to enter a destination by voice Zhao requested.

 

 

        MTTS = SpeechSynthesizer.createSynthesizer the SpeechSynthesizer (the this, null); 
        mTts.setParameter (SpeechConstant.VOICE_NAME, "Xiaoyan"); // set the speakers 
        mTts.setParameter (SpeechConstant.SPEED, "50") ; // Set Speed 
        mTts. setParameter (SpeechConstant.VOLUME, "80") ; // set the volume range of 100 ~ 0 
        mTts.setParameter (SpeechConstant.ENGINE_TYPE, SpeechConstant.TYPE_CLOUD); // set Drive 
        // set synthetic audio storage position (storage position customizable ), stored in the "./sdcard/iflytek.pcm" 
        // stored in the SD card SD card need to add write permissions in AndroidManifest.xml 
        // If you do not save audio synthesis, comment that line of code 
        mTts.setParameter (SpeechConstant.TTS_AUDIO_PATH, "./sdcard/iflytek.pcm"); 
        mTts.startSpeaking (mSynthesizerListener);

  

Second, the next day's program

   1. continue with voice capabilities.

 2. Try using Mysql connect.

Third, Daily Summary

Speech recognition does not make us happy vision of our group is to be replaced if it is unable to use speech recognition input method using the built-in speech recognition.

Guess you like

Origin www.cnblogs.com/hj609/p/11440397.html