Skip to content

AIMovement/TAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T[UG] AI

Repository for Semcon AI TUG sessions

Tutorial

This section describes needed packages/tools for the repository.

Git

If developing on windows, Git bash is recommended. It includes a small Linux-like environment based on MSYS2 (which in turn is based on Cygwin.)

Python 3.6

Ensure that you have Python 3.6 installed on your laptop. You can check you python 3.x version by:

python3 -v

If you do not have it, then here is a link that might help you install python 3.6:

Install instructions for Python 3.x

Tox

Ensure that you have tox package installed.

pip3 install tox

Tox docs.

Voice recording using sox & rec

rec -r 16000 -c 1 test1.wav silence 1 0.1 3% 1 3.0 3%

This command is executed on the command line using python subprocess

p = subprocess.Popen(["rec", "test.wav", "-c", "1", "-r", "16000", "silence", "1", "0.1", "3%", "1", "3.0", "3%"],stdout=subprocess.PIPE)

The recording automatically stops when detects a silence of 3 secs. Source stackoverflow.

About

Repository for Semcon AI TUG sessions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages