德州仪器
直播中

李姜芫

7年用户 163经验值
私信 关注
[经验]

用于Amazon AVS的VocalFusion立体声开发工具包

适用于Amazon AVS的XMOS VocalFusion立体声开发套件(Digi-Key部件号880-1130-ND)是Raspberry Pi专用开发套件,用于帮助开发Amazon Alexa语音服务的“远场语音捕获和处理”应用程序
(AVS)。
“远场语音捕获”技术旨在使智能设备能够识别远距离的人类语音(通常为1米到10米)。“通过亚马逊AVS技术,没有必要”训练“语音识别系统。
系统已准备好开箱即用。
图1:适用于Amazon AVS的XMOS VocalFusion立体声开发套件。
(图片来源:XMOS)
包括什么:
4个全向麦克风的线性阵列:高达180°的捕捉,适用于“房间边缘”应用
低抖动音频时钟
可配置的用户输入按钮和LED
I2S音频和I2C控制连接
USB电源,可选USB 2.0设备音频和控制连接
40针Raspberry Pi接口电缆(引脚排列见图3)
什么不包括但需要:
Raspberry Pi  -  Digi-Key零件编号1690-1025-ND
电源适配器(建议最小2 A) -  Digi-Key部件号1690-1022-ND
SD卡(建议最低16 GB) -  Digi-Key部件号1582-1004-ND
扬声器
USB键盘
USB鼠标 -  Digi-Key零件编号CH969-ND
使用HDMI输入或Raspberry Pi触摸屏进行监控 -  Digi-Key部件号1690-1007-ND
HDMI连接线 -  Digi-Key零件编号Q396-ND(如果您使用的是1690-1007-ND,则不需要)
以太网连接与互联网连接
VocalFusion Stereo Dev Kit框图如图2所示。它包括:
VocalFusion XVF3500语音处理器
四个MEMS麦克风在一块单独的板上
用于电源的微型USB连接器(以及可选的USB 2.0设备连接)
I2S和I2C控制连接的扩展头
四个通用按钮开关
13个用户控制的LED
低抖动时钟源
用于xTAG调试适配器的xSYS连接器
图2:VocalFusion立体声开发套件框图。
(图片来源:XMOS)
XMOS提供了直接的设置指南。
需要注意的一点是,40针Pi连接器没有键入,因此值得进行第二次检查以确保连接器正确放置(参见图3)。
图3:RPi 40针连接器。
(图片来源:XMOS)
有关Raspberry Pi引脚排列的更多信息,请参见图4。
图4:Raspberry Pi电缆引脚。
(图片来源:XMOS)
安装Raspbian
按照此链接下载Raspbian Stretch。
将SD卡通过SD卡插槽或USB适配器放入计算机。
按照以下说明(根据您使用的操作系统)将下载的图像安装到SD卡上:
Linux终端
Ctrl-Alt-T将打开一个新的终端窗口。
在命令提示符下键入l***lk以获取SD卡的地址,它可以是/ dev / mmcblk0或/ dev / sdb或类似的东西。
键入:sudo dd if = / dev / zero of = / dev / mmcblk0 bs = 1M count = 10
键入:unzip -p 2018-06-27-raspbian-stretch.zip |
sudo dd = / dev / mmcblk0 bs = 4M conv = fsync  
请注意,2018-06-27的日期可能不同,因此请键入适合您下载的日期。   
等到图像写入并弹出磁盘。
苹果系统
打开终端
键入:diskutil list以查找SD卡的磁盘,它应该类似于disk3或disk4。
键入:sudo diskutil eraseDisk FAT32 Raspbian / dev / disk3(确保您拥有正确的磁盘编号)
键入:sudo dd bs = 1m if = 2018-06-27-raspbian-stretch.img of = / dev / disk3 conv = sync
等到图像写入并弹出磁盘。
视窗
下载Windows安装etcher.io
运行Etcher并选择2018-06-27-raspbian-stretch.zip。
选择SD卡驱动器。
点击“Flash”。
等到图像写入并弹出磁盘。
安装和设置Amazon AVS
按照此链接访问Raspberry Pi快速入门指南,该指南将引导您完成安装必要依赖项并启动并运行Amazon AVS的过程。
完成后,键入:sudo reboot。
运行Amazon AVS
输入:avsrun
测试,说:“Alexa,几点了?”
参考文献:
1 -https://www.xmos.com/published/vocalfusion-stereo-dev-kit-for-amazon-avs-getting-started-guide?version = latest
2 -http://www.xmos.com/download/private/VocalFusion-Stereo-Dev-Kit-for-Amazon-AVS-Hardware-Setup-Guide%281.0%29.pdf
3 -https://www.xmos.com/download/private/VocalFusion-Stereo-Dev-Kit-for-Amazon-AVS-Hardware-Manual%281.0%29.pdf
4 -https://medium.com/@Alibaba_Cloud/interspeech-2017-far-field-speech-recognition-technology-a5f554772db9

以上来自于谷歌翻译


以下为原文

The XMOS VocalFusion Stereo Dev Kit for Amazon AVS (Digi-Key part number 880-1130-ND) is a Raspberry Pi specific dev kit to help with the development of “far-field voice capture and processing” applications for the Amazon Alexa Voice Service (AVS). “Far-field voice capture” technology “aims to enable smart devices to recognize distant human speech (usually 1m to 10m).” Through the Amazon AVS technology, it is not necessary to “train” a voice recognition system. The system is ready to go out of the box.
Figure 1: XMOS VocalFusion Stereo Dev Kit for Amazon AVS. (Image source: XMOS)
What’s included:

       
  • Linear array of 4 omni-directional microphones: up to 180° capture, for ‘edge of the room’ applications   
  • Low-jitter audio clock   
  • Configurable user input buttons and LEDs   
  • I2S audio and I2C control connectivity   
  • USB power, with optional USB 2.0 device audio and control connectivity   
  • 40-pin Raspberry Pi interface cable (see Figure 3 for the pinout)

What’s not included but needed:

       
  • Raspberry Pi – Digi-Key part number 1690-1025-ND   
  • Power adapter (minimum 2 A recommended) – Digi-Key part number 1690-1022-ND   
  • SD card (minimum 16 GB recommended) – Digi-Key part number 1582-1004-ND   
  • Speaker   
  • USB keyboard   
  • USB mouse – Digi-Key part number CH969-ND   
  • Monitor with HDMI input or Raspberry Pi touchscreen – Digi-Key part number 1690-1007-ND   
  • HDMI cable – Digi-Key part number Q396-ND (not needed if you are using 1690-1007-ND)   
  • Ethernet connection with internet connectivity

VocalFusion Stereo Dev Kit block diagram is shown in Figure 2. It includes:

       
  • VocalFusion XVF3500 Voice Processor   
  • Four MEMS microphones on a separate board   
  • A micro-USB connector for power (and optionally USB 2.0 device connectivity)   
  • Extension headers for I2S and I2C control connectivity   
  • Four general purpose push-button switches   
  • 13 user-controlled LEDs   
  • Low-jitter clock source   
  • An xSYS connector for an xTAG debug adapter

Figure 2: VocalFusion Stereo Dev Kit Block Diagram. (Image source: XMOS)
XMOS provides a straight-forward setup guide. One note to keep in mind, the 40-pin Pi connector is not keyed so it is worth a second check to make sure the connector is placed correctly (see Figure 3).
Figure 3: RPi 40-pin connector.  (Image source: XMOS)
Please see Figure 4 for additional information on the Raspberry Pi pinout.
Figure 4: Raspberry Pi Cable Pinout. (Image source: XMOS)
Install Raspbian
Download Raspbian Stretch by following this link.
Put the SD card into the computer via the SD card slot or a USB adapter.
Install the downloaded image onto the SD card by following these instructions (based on the OS you are using):
Linux Terminal

       
  • Ctrl-Alt-T will open a new terminal window.   
  • At the command prompt type l***lk to get the address of the SD card, it could be either /dev/mmcblk0 or /dev/sdb or something similar.   
  • Type: sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=10   
  • Type: unzip -p 2018-06-27-raspbian-stretch.zip | sudo dd of=/dev/mmcblk0 bs=4M conv=fsync


              
    • Note the date 2018-06-27 may be different so type the date that is appropriate for your download.   

            
  • Wait until the image is written and eject disk.

Mac OS

       
  • Open terminal   
  • Type: diskutil list to find the disk for the SD card, it should be something like disk3 or disk4.   
  • Type: sudo diskutil eraseDisk FAT32 Raspbian /dev/disk3 (make sure you have the correct disk number)   
  • Type: sudo dd bs=1m if=2018-06-27-raspbian-stretch.img of=/dev/disk3 conv=sync   
  • Wait until the image is written and eject disk.

Windows

       
  • Download the Windows install etcher.io   
  • Run Etcher and select the 2018-06-27-raspbian-stretch.zip.   
  • Select the SD card drive.   
  • Click “Flash”.   
  • Wait until the image is written and eject disk.

Install and Setup Amazon AVS
Follow this link to the Raspberry Pi Quick Start Guide, which will walk you through the process of installing the necessary dependencies and getting the Amazon AVS up and running. When this is finished, type: sudo reboot.
Run Amazon AVS

       
  • Type: avsrun   
  • To test, say: “Alexa, what time is it?”


References:
1 –https://www.xmos.com/published/v ... uide?version=latest
2 –http://www.xmos.com/download/pri ... -Guide%281.0%29.pdf
3 –https://www.xmos.com/download/pr ... Manual%281.0%29.pdf
4 –https://medium.com/@Alibaba_Clou ... nology-a5f554772db9

更多回帖

发帖
×
20
完善资料,
赚取积分