Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for xvf3600 and remove references to xvf3610 in README #39

Merged
merged 6 commits into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# VocalFusion AVS Setup Change Log

## 2.2.0

* Support for all xvf3600 master and slave products

## 2.1.1

* Changes to README.md to emphasize the necessity of not updating the kernel.
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This repository provides a simple-to-use automated script to install the Amazon AVS SDK on a Raspberry Pi and configure the Raspberry Pi to use the appropriate **xCORE VocalFusion Kit for Amazon AVS**.

The XMOS **xCORE VocalFusion Kit for Amazon AVS** provides far-field voice capture using one of the XMOS XVF3000, XVF3100, XVF3500, XVF3510 or XVF3610 voice processors.
The XMOS **xCORE VocalFusion Kit for Amazon AVS** provides far-field voice capture using one of the XMOS XVF3000, XVF3100, XVF3500 or XVF3510 voice processors.

Combined with a Raspberry Pi running the Amazon Alexa Voice Service (AVS) Software Development Kit (SDK), these kits allow you to quickly prototype and evaluate talking with Alexa.

Expand All @@ -27,7 +27,7 @@ You will need:
- MicroSD card (min. 16GB)
- Powered speakers with audio 3.5mm analogue plug

Stereo for the XVF3610, XVF3510 and XVF3500, or
Stereo for the XVF3510 and XVF3500, or
Mono for the XVF3100 and XVF3000

- Monitor with HDMI input
Expand Down Expand Up @@ -106,7 +106,6 @@ When the Raspberry Pi boots up, give these answers to the following questions:

And then either

XVF3610: ```./auto_install.sh xvf3610```
XVF3510: ```./auto_install.sh xvf3510```
XVF3500: ```./auto_install.sh xvf3500```
XVF3100: ```./auto_install.sh xvf3100```
Expand Down
9 changes: 7 additions & 2 deletions auto_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ RPI_SETUP_REPO=vocalfusion-rpi-setup
RPI_SETUP_DIR=$SETUP_DIR/$RPI_SETUP_REPO
RPI_SETUP_SCRIPT=$RPI_SETUP_DIR/setup.sh

RPI_SETUP_TAG="v4.1.0"
RPI_SETUP_TAG="feature/xvf3600_support"
AVS_DEVICE_SDK_TAG="v1.21.0"
AVS_SCRIPT="setup.sh"

# Valid values for XMOS device
VALID_XMOS_DEVICES="xvf3100 xvf3500 xvf3510 xvf3610"
VALID_XMOS_DEVICES="xvf3100 xvf3500 xvf3510 xvf3600-slave xvf3600-master xvf3610"
XMOS_DEVICE=

# Default device serial number if nothing is specified
Expand Down Expand Up @@ -128,6 +128,11 @@ git clone -b $RPI_SETUP_TAG https://github.com/xmos/$RPI_SETUP_REPO.git
echo "Installing VocalFusion ${XMOS_DEVICE:3} Raspberry Pi Setup..."
if $RPI_SETUP_SCRIPT $XMOS_DEVICE; then

# The line below is needed to avoid the error:
# E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
# N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
sudo apt update --allow-releaseinfo-change

echo "Installing Amazon AVS SDK..."
wget -O $AVS_SCRIPT https://raw.githubusercontent.com/xmos/avs-device-sdk/$AVS_DEVICE_SDK_TAG/tools/Install/$AVS_SCRIPT
wget -O pi.sh https://raw.githubusercontent.com/xmos/avs-device-sdk/$AVS_DEVICE_SDK_TAG/tools/Install/pi.sh
Expand Down