Giter Club home page Giter Club logo

sounddevice_vad's Introduction

The purpose of this project is to come up with a more streamlined audio system for a voice assistant. The goal is to demonstrate the system listening, thinking and talking all at the same time through the use of multiple threads.

I wanted to try using the sounddevice library rather than objects derived from the audioengine classes in Naomi. The ALSA class doesn't work for mixing streams, and the pyAudio class has trouble identifying devices. They are both somewhat problematic and prone to stuttering. Sounddevice uses pyAudio and is actually pretty similar to the AudioEngine objects Naomi has been using.

I'm still evaluating whether I can add sounddevice as a new option and continue using the pyAudio and Alsa AudioEngine objects, or if this rewrite requires retiring those options. If anyone has a preference, please let me know.

I am just letting the sounddevice use its own default device rather than specifying a specific device. Sounddevice claims that this will be what you want most of the time. It seems to work. I would require the user to choose a device during the actual Naomi setup, so I am looking at a list of compatible devices that could be presented to the user to select from, the same we are now. I can't seem to redirect the error messages generated while the devices are being tested, though.

sounddevice_vad's People

Contributors

aaronchantrill avatar akul2010 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.