Repository navigation
Installation
Peter LaValle edited this page Mar 6, 2018
·
13 revisions
- 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)
- Clone or download [this repository] (https://github.com/ARIA-VALUSPA/ARIA-System)
- Install Java JDK 8 64 bit
- 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
- Run get_models.bat from the RunMeFirst folder to download all required models.
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).
- 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.
- 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 commanddos2unix install-aria-asr.shto modify newline characters so they are Unix / Cygwin compatible.
In case there are new models available, simply run the command ./install-aria-asr.sh inside the main folder.
See here.
- Run 'Start ActiveMQ.bat'
- Run 'RUN-Alice.bat'
- Ensure the ASR machine is running and waiting for clients
- In the configuration dialog that shows, enter the IP address of the ASR machine.
- 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: