Voice Assistant 4 Interaction Design This repository will serve as an exchange with the students of the MAInD during the Multimodal UX in Products from the academic year 2022/2023.
You can find more information here: Voice 4 IxD - Notion page
Inside the folder picovoiceOfflineArduino you will find a folder PicovoiceParrot that contains the .ino
file and the params.h
To use the system you need to follow these steps:
- Open the
PicovoiceParrot.ino
file; - Update the file inserting as many conditions as your commands from Picovoice Rhino;
if(intent == "yourCommand"){
//Insert here the actions to perform with Arduino
};
- Upload the code to your Arduino;
Inside the folder picovoiceRhinoPythonArduino you will find:
- A folder called arduinoReadingFromPython that contains the
.ino
file for any Arduino Board; - A folder called pythonPicovoice that contains the library that you can create and download from Rhino Picovoice Console;
- A file called
triggerRhinoPicovoice.py
that contains the script to check intents from voice and send it to Arduino.
To use the system you need to follow these steps:
- Follow the comments on the
triggerRhinoPicovoice.py
file and install the libraries using pip; - Open the
arduinoReadingFromPython.ino
file; - Update the file inserting as many conditions as your commands from Picovoice Rhino;
if(value == "yourCommand"){
//Insert here the actions to perform with Arduino
};
- Upload the code to your Arduino;
- If you encounter any conflicts is because of serial ports: if you need to see the serial port on Arduino IDE please start the python script and then open the serial monitor.
Inside the folder picovoicePorcupinePythonArduino you will find:
- A folder called arduinoReadingFromPython that contains the
.ino
file for any Arduino Board; - A folder called pythonPicovoice that contains the library that you can create and download from Rhino Picovoice Console;
- A file called
triggerPorcupinePicovoice.py
that contains the script to check wake word from voice and send it to Arduino.
To use the system you need to follow these steps:
- Follow the comments on the
triggerPorcupinePicovoice.py
file and install the libraries using pip; - Open the
arduinoReadingFromPython.ino
file; - Update the file inserting the condition as your command from Picovoice Porcupine;
if(value == "yourCommand"){
//Insert here the actions to perform with Arduino
};
- Upload the code to your Arduino;
- If you encounter any conflicts is because of serial ports: if you need to see the serial port on Arduino IDE please start the python script and then open the serial monitor.
Inside the folder picovoiceCompletePythonArduino you will find:
- A folder called arduinoReadingFromPython that contains the
.ino
file for any Arduino Board; - A folder called pythonPicovoice that contains the library that you can create and download from Rhino Picovoice Console;
- A file called
triggerPicovoice.py
that contains the script to check wake word from voice and send it to Arduino.
To use the system you need to follow these steps:
- Follow the comments on the
trigger.py
file and install the libraries using pip; - Open the
arduinoReadingFromPython.ino
file; - Update the file inserting as many conditions as your commands from Picovoice;
if(value == "yourCommand"){
//Insert here the actions to perform with Arduino
};
- Upload the code to your Arduino;
- If you encounter any conflicts is because of serial ports: if you need to see the serial port on Arduino IDE please start the python script and then open the serial monitor.