【ESP32-S2-Kaluga-1测评】5、语音合成测试
[复制链接]
本帖最后由 justd0 于 2020-9-2 22:55 编辑
语音合成示例程序是个比较综合的示例,他通过建立ap,让客户端连接上他的http服务器,从网页中输入中文,按下save就可以实时语音读出所写文字,这里面涉及到了语音合成库和http库,凸显出esp32的高强性能。
一下是测试视频和日志:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40025489
0x40025489: esp_restart_noos_dig at /home/zealer/esp/esp-idf/components/esp_system/system_api.c:60 (discriminator 1)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe8100,len:0x8
load:0x3ffe8108,len:0x193c
load:0x40050000,len:0x18c4
load:0x40054000,len:0x2114
entry 0x40050314
I (48) boot: ESP-IDF -128-NOTFOUND 2nd stage bootloader
I (48) boot: compile time 07:03:38
I (48) boot: chip revision: 0
I (51) qio_mode: Enabling default flash chip QIO
I (56) boot.esp32s2: SPI Speed : 80MHz
I (61) boot.esp32s2: SPI Mode : QIO
I (65) boot.esp32s2: SPI Flash Size : 4MB
I (70) boot: Enabling RNG early entropy source...
I (76) boot: Partition Table:
I (79) boot: ## Label Usage Type ST Offset Length
I (86) boot: 0 factory factory app 00 00 00010000 002ee000
I (94) boot: 1 nvs WiFi data 01 02 002fe000 00004000
I (101) boot: 2 wav unknown 28 28 00302000 00020000
I (109) boot: End of partition table
I (113) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f000020 size=0x2188dc (2197724) map
I (520) esp_image: segment 1: paddr=0x00228904 vaddr=0x3ffc96a0 size=0x04a44 ( 19012) load
I (524) esp_image: segment 2: paddr=0x0022d350 vaddr=0x40024000 size=0x00404 ( 1028) load
0x40024000: _WindowOverflow4 at /home/zealer/esp/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730
I (527) esp_image: segment 3: paddr=0x0022d75c vaddr=0x40024404 size=0x028bc ( 10428) load
0x40024404: _coredump_iram_start at ??:?
I (538) esp_image: segment 4: paddr=0x00230020 vaddr=0x40080020 size=0x80918 (526616) map
0x40080020: _stext at ??:?
I (639) esp_image: segment 5: paddr=0x002b0940 vaddr=0x40026cc0 size=0x129dc ( 76252) load
0x40026cc0: esp_flash_erase_region at /home/zealer/esp/esp-idf/components/spi_flash/esp_flash_api.c:361
I (669) boot: Loaded app from partition at offset 0x10000
I (669) boot: Disabling RNG early entropy source...
I (681) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte
I (681) cpu_start: Pro cpu up.
I (735) cpu_start: Pro cpu start user code
I (735) cpu_start: Application information:
I (735) cpu_start: Project name: web_tts
I (738) cpu_start: App version: 6afa494-dirty
I (744) cpu_start: Compile time: Aug 18 2020 07:04:04
I (750) cpu_start: ELF file SHA256: 338d26a7b9079df2...
I (756) cpu_start: ESP-IDF: -128-NOTFOUND
I (761) heap_init: Initializing. RAM available for dynamic allocation:
I (768) heap_init: At 3FFD3848 len 000287B8 (161 KiB): DRAM
I (775) heap_init: At 3FFFC000 len 00003A10 (14 KiB): DRAM
I (781) spi_flash: detected chip: generic
I (786) spi_flash: flash io: qio
I (793) cpu_start: Starting scheduler on PRO CPU.
I (815) wifi:wifi driver task: 3ffdbcc4, prio:23, stack:6656, core=0
I (815) system_api: Base MAC address is not set
I (815) system_api: read default base MAC address from EFUSE
I (825) wifi:wifi firmware version: bbe4b67
I (825) wifi:wifi certification version: v7.0
I (825) wifi:config NVS flash: enabled
I (825) wifi:config nano formating: disabled
I (835) wifi:Init data frame dynamic rx buffer num: 32
I (835) wifi:Init management frame dynamic rx buffer num: 32
I (845) wifi:Init management short buffer num: 32
I (845) wifi:Init dynamic tx buffer num: 32
I (855) wifi:Init static rx buffer size: 1600
I (855) wifi:Init static rx buffer num: 10
I (855) wifi:Init dynamic rx buffer num: 32
I (865) wifi: wifi_init_softap finished.SSID:ESP32-Camera password:
I (1365) phy: phy_version: 601, 5b0f7cd, Jun 17 2020, 15:40:05, 0, 2
I (1365) wifi:enable tsf
I (1375) wifi:mode : softAP (7c:df:a1:02:7d:4b)
I (1375) wifi:Total power save buffer number: 16
I (1375) wifi:Init max length of beacon: 752/752
I (1385) wifi:Init max length of beacon: 752/752
I (1395) DRV8311: ES8311 in Slave mode
I (1405) DRV8311: ES8311 in I2S Format
I (1415) gpio: GPIO[0]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1415) gpio: GPIO[10]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1425) DRV8311: SET: volume:178
I (1425) I2S: DMA Malloc info, datalen=blocksize=512, dma_buf_count=6
I (1435) I2S: DMA Malloc info, datalen=blocksize=512, dma_buf_count=6
I (1445) I2S: APLL: Req RATE: 16000, real rate: 15999.986, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 4095996.500, SCLK: 511999.562500, diva: 1, divb: 0
I (1455) ap_config: Starting web server on port: '80'
I (7335) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<255,255>, prof:1
I (7335) wifi:station: 90:f0:52:7d:54:b8 join, AID=1, bgn, 20
I (7335) wifi: station:90:f0:52:7d:54:b8 join, AID=1
I (7455) esp_netif_lwip: DHCP server assigned IP to a station, IP is: 192.168.4.2
I (7825) ap_config: sentence = 呵呵额
I (7825) tts_parser: unicode:0x5475 -> he1
I (7825) tts_parser: unicode:0x5475 -> he1
I (7825) tts_parser: unicode:0x989d -> e2
I (12665) ap_config: sentence = 呵呵额
I (12665) tts_parser: unicode:0x5475 -> he1
I (12665) tts_parser: unicode:0x5475 -> he1
I (12675) tts_parser: unicode:0x989d -> e2
I (58875) ap_config: sentence = 呵呵额
I (58875) tts_parser: unicode:0x5475 -> he1
I (58875) tts_parser: unicode:0x5475 -> he1
I (58875) tts_parser: unicode:0x989d -> e2
I (62015) ap_config: sentence = 呵呵额
I (62015) tts_parser: unicode:0x5475 -> he1
I (62015) tts_parser: unicode:0x5475 -> he1
I (62015) tts_parser: unicode:0x989d -> e2
|