Installation

Peter LaValle edited this page Mar 6, 2018 · 13 revisions

System requirements

  • Modern high-end CPU
  • 8 GB RAM (16 GB or more if running the ASR in a virtual machine)
  • CUDA enabled NVidia GPU
  • Close talk microphone
  • Windows 8 64 bit, Windows 10 64 bit
  • Python 3.5.2 (not 3.5.3, 3.6.x or 3.5.0)

Installation

General system

  1. Clone or download [this repository] (https://github.com/ARIA-VALUSPA/ARIA-System)
  2. Install Java JDK 8 64 bit
  3. Add a new system environment variable called JAVA_HOME which points to the JDK installation path, for example "C:\Program Files\Java\jdk1.8.0_112".
    • this is required by ActiveMQ, if ActiveMQ doesn't function properly please refer to this guide
  4. Run get_models.bat from the RunMeFirst folder to download all required models.

ASR

You can install the ASR on a physical Linux machine, on a Virtual Machine (VM) or on a Linux Subsystem under windows. Nonetheless, we recommend that you use a high-spec physical machine with a GPU running Linux in order to speed up the ARIA-ASR processing. To install the ARIA-ASR server simply copy the ASR folder from this repository to your target machine (virtual or physical), and run the command ./install-aria-asr.sh inside the main folder. This will download the latest models for all languages and install the necessary libraries (you will be asked to enter your sudo password).

Virtual Machine setup
  • If you do not have it installed please download and install VirtualBox. It can be downloaded for free from the official webpage.
  • Then, Install the Ubuntu Linux distribution in your VM, and then follow the instructions for installing the ARIA-ASR that indicated above.
  • Finally, open the network settings if the Virtual Machine. Under 'Adapter 1', click the 'Port forwarding' button. You will see that we created a rule ('Rule 1') that will forward your machine's connections to the Virtual Machine on port 8888. This rule allows you to connect to the ARIA-ASR-VM on the same machine by using 'localhost' as the ASR IP address.
Windows Subsystem for Linux (bash) setup
  • If not already installed, follow these instructions to install the Windows Subsystem for Linux on Windows 10.
  • Then, follow the instructions for installing the ARIA-ASR as shown above.
  • If you see error messages like this - -bash: '\r': command not found - you may need to run the command dos2unix install-aria-asr.sh to modify newline characters so they are Unix / Cygwin compatible.
Updating the models

In case there are new models available, simply run the command ./install-aria-asr.sh inside the main folder.

Usage

See here.

General System

  1. Run 'Start ActiveMQ.bat'
  2. Run 'RUN-Alice.bat'
  3. Ensure the ASR machine is running and waiting for clients
  4. In the configuration dialog that shows, enter the IP address of the ASR machine.
  5. For best performance adjust the sensitivity of your microphone so that the audio waveform displayed in a window title 'AUDIO(RAW)' is using the full value range but without clipping:
  • sensitivity too low:

  • sensitivity too high (causes clipping):

  • sensitivity about right:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.