Table of Contents
Fetching ...

Audiosockets: A Python socket package for Real-Time Audio Processing

Nicolas Shu, David V. Anderson

TL;DR

This work improves on packages used for audio data collection with a light-weight backend and a simple interface that allows for distributed processing through a socket-based structure for real-time audio machine learning and data processing in Python.

Abstract

There are many packages in Python which allow one to perform real-time processing on audio data. Unfortunately, due to the synchronous nature of the language, there lacks a framework which allows for distributed parallel processing of the data without requiring a large programming overhead and in which the data acquisition is not blocked by subsequent processing operations. This work improves on packages used for audio data collection with a light-weight backend and a simple interface that allows for distributed processing through a socket-based structure. This is intended for real-time audio machine learning and data processing in Python with a quick deployment of multiple parallel operations on the same data, allowing users to spend less time debugging and more time developing.

Audiosockets: A Python socket package for Real-Time Audio Processing

TL;DR

This work improves on packages used for audio data collection with a light-weight backend and a simple interface that allows for distributed processing through a socket-based structure for real-time audio machine learning and data processing in Python.

Abstract

There are many packages in Python which allow one to perform real-time processing on audio data. Unfortunately, due to the synchronous nature of the language, there lacks a framework which allows for distributed parallel processing of the data without requiring a large programming overhead and in which the data acquisition is not blocked by subsequent processing operations. This work improves on packages used for audio data collection with a light-weight backend and a simple interface that allows for distributed processing through a socket-based structure. This is intended for real-time audio machine learning and data processing in Python with a quick deployment of multiple parallel operations on the same data, allowing users to spend less time debugging and more time developing.
Paper Structure (10 sections, 2 figures)

This paper contains 10 sections, 2 figures.

Figures (2)

  • Figure 1: Mechanism for the audiosockets package. The different colored superblocks represent the different parallel processes which are operating and communicating with each other. The superblocks containing circular processes (i.e. Recorder and Processors) are the clients, and the superblock with rectangular processes represents the local server which is to be deployed in a system.
  • Figure 2: A simplistic overview diagram of the capabilities of the package