This EAGI use the File Descriptor to get the audio in realtime and perform one simple VAD analise in the signal ...
- flac >= 1.2.1
- libflac-dev >= 1.2.1
- libsndfile >= 1.0.21
- libsndfile-dev >= 1.0.21
- audiolab >= 0.11.0
On Debian and Ubuntu based operating systems :
apt install -y libflac-dev flac \
python-numpy python-scipy python-dev python-setuptools \
libsndfile-dev
Download and install audiolab from: http://pypi.python.org/pypi/scikits.audiolab/
extensions.conf
:
exten=>_11111111,1,Answer()
exten=>_11111111,n,eagi,pahh.py
exten=>_11111111,n,GotoIf($[${EXISTS(${GoogleUtterance})}]?hello:bye)
exten=>_11111111,n(hello),NoOP(You Said = ${GoogleUtterance})
exten=>_11111111,n(bye),Hangup()