Skip to content

Commit

Permalink
[Release] Release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sispheor committed Jul 27, 2020
1 parent fa5c7ad commit 113b61e
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
v0.7.0 / 2020-07-28
===================
- Fix: fix volume neuron when decrease the volume
- Fix: #612 kalliope_memory now available from file_template
- Fix: remove output warnings
- Enhancement: pause the trigger instead of killing it to save time in the process
- Enhancement: add support for pulseaudio
- Enhancement: refactor speech reco class to enhance performance
- Enhancement: prevent kalliope from crashing when a neuron fail to execute
- Enhancement: add multiple model support to Snowboy trigger
- Enhancement: add support of python 3.8 for x86_64 systems

v0.6.0 / 2020-02-29
===================
- Fix: fix stt correction. order was not updated
Expand Down
24 changes: 24 additions & 0 deletions docker/snowboy-compile/compile_snowboy_python38.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# build last version
# docker build --force-rm=true -t compile_snowboy_python38 -f compile_snowboy_python38.dockerfile .

# build specified version
# docker build --force-rm=true --build-arg SNOWBOY_VERSION=1.1.1 -t compile_snowboy_python38 -f compile_snowboy_python38.dockerfile .

# compile into local /tmp/snowboy
# docker run -it --rm -v /tmp/snowboy:/data compile_snowboy_python38

FROM python:3.8-buster

ARG SNOWBOY_VERSION="1.3.0"

RUN apt-get update
RUN apt-get install -y git make g++ python3-dev libatlas3-base libblas-dev \
gfortran vim wget libpcre3-dev libtool libatlas-base-dev swig

RUN wget https://github.com/Kitt-AI/snowboy/archive/v${SNOWBOY_VERSION}.tar.gz && tar xzf v${SNOWBOY_VERSION}.tar.gz

RUN cd /snowboy-${SNOWBOY_VERSION}/swig/Python3 && make
RUN cd /snowboy-${SNOWBOY_VERSION}/swig/Python3 && python3 -c "import _snowboydetect; print('OK')"
# compiled binary will be placed into data folder
RUN mkdir /data
CMD cp /snowboy-*/swig/Python3/*.so /data
14 changes: 14 additions & 0 deletions docs/installation/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ sudo apt install -y \
libportaudio2 libportaudiocpp0 ffmpeg
```

### Ubuntu 20.04

Install some required system libraries and software:

```bash
sudo apt update
sudo apt install -y \
git python3-dev libsmpeg0 libttspico-utils flac \
libffi-dev libssl-dev portaudio19-dev build-essential \
libatlas3-base mplayer wget vim sudo locales alsa-base alsa-utils \
pulseaudio-utils libasound2-plugins python3-pyaudio libasound-dev \
libportaudio2 libportaudiocpp0 ffmpeg
```

## Install lasted version of the python package manager

Install the last release of python-pip
Expand Down
2 changes: 1 addition & 1 deletion kalliope/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# https://www.python.org/dev/peps/pep-0440/
version_str = "0.6.1"
version_str = "0.7.0"
4 changes: 2 additions & 2 deletions kalliope/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ default_trigger: "snowboy"
# - snowboy
triggers:
- snowboy:
pmdl_file: "trigger/snowboy/resources/kalliope-FR-117samples.pmdl"

keywords:
- file_path: "kalliope/trigger/snowboy/resources/kalliope-FR-162samples.pmdl"

# ---------------------------
# Speech to text
Expand Down
Binary file not shown.

0 comments on commit 113b61e

Please sign in to comment.