Skip to content

Python demo for using SERaaS, performs continuous audio extraction and outputs SERaaS emotions on input.

Notifications You must be signed in to change notification settings

SERaaS/ReSpeaker-Audio-Extractor-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReSpeaker Audio Extractor Demo

This is a demo implementing a use case for Speech Emotion Recognition, using a Raspberry Pi 3 Model B+ and ReSpeaker Mic Array v2.0. The demo is a Python script that can be loaded in to continuously read audio incoming from the ReSpeaker and send API requests to SERaaS which then outputs emotions back.

SERaaS is a Final Year Project for Waterford Institute of Technology developed by Wei Kit Wong, which aims to provide a Speech Emotion Recognition as a Web API service. This is achieved by Machine Learning to build the SER classification model; the User Management Service to provide authentication features, and the API Service to deploy it all as a service.

General

Technologies Used

  • pyaudio - Perform audio operations

Usage

You can use the following commands in the terminal to run the demo;

  1. git clone https://github.com/SERaaS/ReSpeaker-Audio-Extractor-Demo.git - Download the repository to your computer.

  2. cd respeaker-audio-extractor-demo - Move to the demo folder.

  3. pip install -r requirements.txt - Ensure you have all necessary dependencies installed (requires Python).

  4. Create the missing files as defined below.

  5. python main.py - Run the program.

Missing Files

A ./seraasURLHandler.py file is missing from the repo that you must create before running the program.

./seraasURLHandler.py

# This is your own SERaaS API endpoint URL
endpoint = "http://????/analyse/????"

About

Python demo for using SERaaS, performs continuous audio extraction and outputs SERaaS emotions on input.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages