Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use boost spsc_queue for ringbuffer instead of internals of portaudio library #97

Open
wants to merge 187 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
2b7bc01
Don't use internals of portaudio for ringbuffer, it's possible to sim…
kskalski Dec 31, 2016
26a193c
Merge branch 'master' of https://github.com/kskalski/snowboy
kskalski Dec 31, 2016
be1b085
Remove unneeded portaudio patches.
kskalski Dec 31, 2016
9a0b298
Bring back previous set of referenced libraries to minimize diff with…
kskalski Jan 1, 2017
dcd8a5c
Don't use internals of portaudio for ringbuffer, it's possible to sim…
kskalski Dec 31, 2016
3fd7d4e
Fixing string ABI issue for g++ 5.x
chenguoguo Nov 3, 2016
a7b8a66
Update README.md
xuchen Dec 19, 2016
8c4ac74
Builds Android wrapper with make
BillWSY Dec 26, 2016
89c8788
Improvements to the Android swig compilation part
chenguoguo Dec 29, 2016
3c13562
Fixed node example script for old node version
chenguoguo Dec 29, 2016
ebe40d9
Merge branch 'master' of https://github.com/kskalski/snowboy
kskalski Jan 1, 2017
47834fa
Updated README for dependencies
chenguoguo Jan 17, 2017
c976983
Added Perl wrappers and examples
iboguslavsky Jan 21, 2017
a665999
Short description added
iboguslavsky Jan 21, 2017
14679e8
Added tool's description
iboguslavsky Jan 21, 2017
dcbebb9
Removed debugging statements
iboguslavsky Jan 21, 2017
718a846
Merge branch 'master' into devel
chenguoguo Jan 23, 2017
85484b0
Modify script description header
iboguslavsky Jan 24, 2017
79bee05
use snowboy universal model by default (if no custom model is supplied).
iboguslavsky Jan 24, 2017
8e2fc40
Remove models variable. Source both the default model and the common …
iboguslavsky Jan 24, 2017
45fe801
Adjust sensitivity and gain
iboguslavsky Jan 24, 2017
61fb25a
Rename snowboy.pl to snowboy_test.pl
iboguslavsky Jan 24, 2017
142bc54
Remove negative tests. Print message on success only.
iboguslavsky Jan 24, 2017
a03db3a
Change storage location for generated models (and voice samples) to t…
iboguslavsky Jan 24, 2017
6fed5b8
Comments clean up.
iboguslavsky Jan 24, 2017
5a87428
Merge pull request #111 from iboguslavsky/master
chenguoguo Jan 26, 2017
39bd83c
Added -llog for Android Makefile
chenguoguo Jan 26, 2017
2b7c351
Merge branch 'devel' of https://github.com/Kitt-AI/snowboy into devel
chenguoguo Jan 26, 2017
6e7ed0c
Fixes to the Perl example
chenguoguo Jan 27, 2017
a94b651
More fixes after testing on Ubuntu
chenguoguo Jan 27, 2017
2565ee6
Fixed typo
chenguoguo Jan 27, 2017
af8bf62
Merge pull request #112 from Kitt-AI/perl_fix
chenguoguo Jan 27, 2017
1ea67e9
Readme formatting
evancohen Jan 28, 2017
b055543
Merge pull request #113 from evancohen/patch-2
chenguoguo Jan 28, 2017
e28ab33
Merge pull request #115 from Kitt-AI/devel
chenguoguo Jan 30, 2017
1b17aa1
Build node 7.x binarys [republish binary]
evancohen Feb 7, 2017
4588379
Added one more Alexa model, also added list of universal models to RE…
chenguoguo Feb 9, 2017
06e901e
README style fix
chenguoguo Feb 9, 2017
4eb304c
Add iOS/Swift3 example
Feb 16, 2017
49b5c60
Added Obj-C example of snowboy and hotword detection (in this case al…
patrickjquinn Feb 16, 2017
7131e04
Added hotword prompt label
patrickjquinn Feb 16, 2017
d8e1ba4
Updated detected label to match prompt
patrickjquinn Feb 16, 2017
a0a15e2
Merge pull request #119 from evancohen/patch-3
chenguoguo Feb 16, 2017
673f107
Updated script to build for node7 [republish binary]
xuchen Feb 16, 2017
b572287
Merge pull request #125 from patrickjquinn/obj-c-example
chenguoguo Feb 16, 2017
4072182
Moved the Obj-C demo to iOS/Obj-C
chenguoguo Feb 16, 2017
1ca0488
Merge pull request #124 from grimlockrocks/swift3
chenguoguo Feb 17, 2017
ce88326
Moved Swift3 under iOS
chenguoguo Feb 17, 2017
6824cb7
Added iOS demo screenshots to README
chenguoguo Feb 17, 2017
ddb2329
Remove copied resource/lib files, make them references
Feb 18, 2017
1d53d2e
Merge pull request #128 from grimlockrocks/swift3
chenguoguo Feb 18, 2017
e6095a5
added demo for detecting hotword from wave files
xuchen Feb 20, 2017
7f99716
Merge pull request #129 from Kitt-AI/read-wave-files
chenguoguo Feb 20, 2017
ee163e7
update faq
xuchen Feb 21, 2017
8dbfbc1
static lib for pine64
xuchen Feb 22, 2017
4408f56
edison support
xuchen Feb 23, 2017
cd0d791
Update README.md
xuchen Feb 25, 2017
fc9265f
Merge pull request #132 from Kitt-AI/edison
xuchen Feb 25, 2017
73c722c
Add Go bindings for snowboy with swigcxx
brentnd Feb 22, 2017
adbb40a
Add Go example run detection on wav file
brentnd Feb 26, 2017
2f0342e
Merge pull request #136 from brentnd/master
xuchen Feb 27, 2017
a4a3b5d
golang docs for readme
Feb 27, 2017
def6343
2016 -> 2017
xuchen Feb 27, 2017
a1b7deb
Merge pull request #137 from Kitt-AI/more-golang
xuchen Feb 27, 2017
439f290
Update README.md
xuchen Feb 28, 2017
dde3fea
fedora25 artik support
xuchen Mar 4, 2017
29f66a6
Merge pull request #139 from Kitt-AI/fedora-arm
xuchen Mar 4, 2017
b70a11f
Fix go bindinds compilation on archlinux
gstraymond Mar 20, 2017
8cc4035
Merge pull request #148 from gstraymond/master
chenguoguo Mar 20, 2017
c1e7843
Merge branch 'master' into pine64
xuchen Mar 20, 2017
4d19707
Merge pull request #131 from Kitt-AI/pine64
xuchen Mar 20, 2017
f5f5b00
android studio demo for alexa
xuchen Mar 20, 2017
a6ea0a5
removed pcm player
xuchen Mar 20, 2017
d2746a9
file tree recording
xuchen Mar 20, 2017
1a74b52
indent
xuchen Mar 20, 2017
78f02d8
code review according to Greg Milette's comments
xuchen Mar 21, 2017
35f3baa
more comments fix
xuchen Mar 21, 2017
10b5358
symbol link on cp
xuchen Mar 21, 2017
e53c3fb
typo in readme
xuchen Mar 22, 2017
b21ef2e
Updated Android to softfp
chenguoguo Mar 23, 2017
f029a2c
set icon
xuchen Mar 23, 2017
57fc234
upgrade NDK to newest
xuchen Mar 24, 2017
5e2096b
Merge pull request #153 from Kitt-AI/android-demo-softfb
chenguoguo Mar 24, 2017
e99ff31
Merge pull request #149 from Kitt-AI/android-demo
chenguoguo Mar 24, 2017
ead3dc3
Preparing v1.1.1
chenguoguo Mar 24, 2017
03d4387
Fixed code block in README
chenguoguo Mar 24, 2017
4999061
Bumped node version
chenguoguo Mar 24, 2017
8d25542
Added Pine64 download link
chenguoguo Mar 24, 2017
dd016f4
Merge pull request #154 from Kitt-AI/v1.1.1
chenguoguo Mar 24, 2017
9d0af67
Added Perl support to the release log [publish binary]
chenguoguo Mar 24, 2017
ab54f1b
Preparing v1.2.0
chenguoguo Mar 24, 2017
b985d85
v1.2.0: updated ubuntu64 library
chenguoguo Mar 25, 2017
48814fa
v1.2.0: updated rpi library
chenguoguo Mar 25, 2017
ae8ba68
v1.2.0: updated node to 1.2.0 [publish binary]
chenguoguo Mar 25, 2017
9f98540
v1.2.0: small readme fix
chenguoguo Mar 25, 2017
3b932c3
v1.2.0: give credit to both @evancohen and @nekuz0r regarding the Nod…
chenguoguo Mar 25, 2017
2a53889
added edison pine64 and fedora
xuchen Mar 25, 2017
814cdb7
Merge branch 'devel' of github.com:Kitt-AI/snowboy into devel
xuchen Mar 25, 2017
add9df2
Merge pull request #155 from Kitt-AI/devel
chenguoguo Mar 25, 2017
23db307
Added the portaudio patch back that was accidentally removed
chenguoguo Mar 26, 2017
20dc4b7
Merge pull request #156 from Kitt-AI/devel
chenguoguo Mar 26, 2017
5ed3c9a
added apk link
xuchen Mar 30, 2017
5093102
fix link order in go bindings for gcc/g++
brentnd Mar 31, 2017
c03be34
Merge pull request #157 from brentnd/master
chenguoguo Mar 31, 2017
f20146c
Don't use internals of portaudio for ringbuffer, it's possible to sim…
kskalski Dec 31, 2016
aa590b7
Remove unneeded portaudio patches.
kskalski Dec 31, 2016
fd7637f
Bring back previous set of referenced libraries to minimize diff with…
kskalski Jan 1, 2017
62810e8
Fixing string ABI issue for g++ 5.x
chenguoguo Nov 3, 2016
c5884fb
Only link portaudio
kskalski Apr 2, 2017
dd6ea07
Add python example for using detector with arecord
ymc9 Feb 9, 2017
3d0b2ee
Moved decoder and media player initialization from startRecording() t…
chenguoguo Apr 4, 2017
0990970
Reset the detector each time we start it
chenguoguo Apr 4, 2017
479b668
Updated SnowboyAlexaDemo.apk based on the previous changes
chenguoguo Apr 4, 2017
07f8a38
aarch64 ubuntu 16
xuchen Apr 5, 2017
fe02f70
lib
xuchen Apr 5, 2017
5566189
Updated common.res for VAD API
chenguoguo Apr 17, 2017
49860a5
Removed jack from PortAudio build
chenguoguo Apr 18, 2017
529a030
Fxied C++ demo build on Linux systems
chenguoguo Apr 19, 2017
5db0ce9
added android aarch64
xuchen Apr 21, 2017
1bf2b3e
openblas 32 64
xuchen Apr 21, 2017
2afd8f9
updated apk and .a files with frontend
xuchen Apr 22, 2017
c7b7732
Add buffer to callback
Apr 8, 2017
5f25019
give android apk link in android session
xuchen Apr 25, 2017
9d615a2
Update README.md
xuchen Apr 25, 2017
61fdc6b
Fix examples ( remove console.log of sound buffer )
May 2, 2017
0a7e44c
Updated .gitignore
chenguoguo May 2, 2017
9700e73
Added pure C example
chenguoguo May 4, 2017
cff1033
Fixed memory leak bug in C demo
chenguoguo May 4, 2017
d1d7898
Fixed C example linux build
chenguoguo May 4, 2017
e3f89fe
Fixed copyright
chenguoguo May 4, 2017
30fbde4
downgrade api level from 23 to 3
xuchen May 4, 2017
c791b2d
audio track playing is more stable
xuchen May 4, 2017
f26c860
update apk
xuchen May 4, 2017
9fb8895
Fixed a bug that caused Snowboy to fail in thread
chenguoguo May 4, 2017
5d8c032
Update README.md
xuchen May 8, 2017
bcc3e10
Added spearated directories for Python3
chenguoguo May 12, 2017
5883fe3
Implemented setup.py that compiles python wrapper using Makefile
leosampaio May 13, 2017
03fc3f6
Included package info and fixed some egg generation bugs
leosampaio May 15, 2017
4c8c173
Included sound files on pypi package resources
leosampaio May 15, 2017
0235ae1
added missing links in python3 examples
xuchen May 20, 2017
9d69cb0
check swig version
xuchen May 21, 2017
60304c0
added Nvidia Jetson TX1 (use above Pine64 package)
xuchen May 23, 2017
149df71
Added Nvidia Jetson TX2
chenguoguo May 24, 2017
775d87d
Turned on type script definitions
dolanmiu May 26, 2017
e9d6062
Changed swig to when doing version check
chenguoguo May 27, 2017
8a12870
updated portaudio to support 64bit and newer mac os
xuchen May 29, 2017
649e11d
new patch for make install
xuchen May 31, 2017
fe45cee
Re-generated PortAudio patch using diff -u to avoid error when applyi…
chenguoguo May 31, 2017
903c3ba
Fixed PortAudio build on Unix-like systems
chenguoguo Jun 1, 2017
0be2999
Improvements to arecord demo
chenguoguo Jun 1, 2017
1bf0d0f
Fix problems with pip distribution model and inclusion of resources
leosampaio Jun 7, 2017
78db141
Deleted a out-of-date comment from Android Makefile
chenguoguo Jun 10, 2017
9d388d9
Add wrapper around HotwordDetector class for Python to provide a simp…
rohantib Jun 20, 2017
766e2e2
npm build
xuchen Jun 20, 2017
918dcec
Updated comments regarding buffer in node example
chenguoguo Jun 27, 2017
2485331
fixes memory leak
chashmeetsingh Jun 29, 2017
5b8524d
Only change models/sensitivity when change_models/change_sensitivity …
rohantib Jul 1, 2017
03edc09
User can call start() again after terminate() in HotwordDetector. Use…
carloalbertobarbano Jul 8, 2017
9d727c7
Specify unit of audio array length
richardmitic Jul 10, 2017
93ea0c0
python3 makefile readme re: https://github.com/Kitt-AI/snowboy/issues…
xuchen Jul 14, 2017
bd2b917
Added option for frontend to Node
chenguoguo Jul 18, 2017
d9ec23b
Fixed ApplyFrontend interface in Node module. Thanks to Wang Peng (ww…
chenguoguo Jul 24, 2017
6b86637
Limit lines in snowboythreaded.py to 80 chars and rename stop_recog t…
rohantib Jul 28, 2017
99a6af3
Fix NameError in snowboythreaded and create demo script demonstrating…
rohantib Aug 2, 2017
29a0794
Fix comment to say correct function name
rohantib Aug 2, 2017
282b978
Fix print statement in demo4
rohantib Aug 5, 2017
2ca964a
add minimal docs to demo_threaded.py
xuchen Aug 10, 2017
ef2df69
wget for android readme
xuchen Aug 22, 2017
792eb63
Export the interfaces
dolanmiu Aug 29, 2017
7023553
formatation fixes: unused comments
jopedroliveira Sep 20, 2017
c591d36
make Python compilation compatible for Arch Linux
c4tz Sep 21, 2017
50c568d
formating style
jopedroliveira Oct 7, 2017
009c0b7
added a read wav file feature
jopedroliveira Oct 9, 2017
a39bb25
added read from wav file feature
jopedroliveira Oct 9, 2017
8f78528
styling fixes
jopedroliveira Oct 9, 2017
93327e6
file size bug fix
jopedroliveira Oct 9, 2017
d37d1de
fix data_buffer name
jopedroliveira Oct 9, 2017
5925f9e
minor fixes on wavheader
jopedroliveira Oct 9, 2017
981a0e0
fixed snowboy.wav header and added a snowboy.raw file
jopedroliveira Oct 9, 2017
fe963ad
more fixes on formating
jopedroliveira Oct 10, 2017
0246cad
Style fix for C++ demo2
chenguoguo Oct 22, 2017
7d0637c
Added PyCharm/IntelliJ .idea directory to .gitignore
nmctseb Oct 31, 2017
ea029ca
Fixed setup.py so it works on Raspbian Stretch/Python3
nmctseb Oct 31, 2017
2224123
Move Go 'detect' example to separate subdir, as per the typical Golan…
deadprogram Nov 20, 2017
f96e1d3
Add Go example that listens to mic using PortAudio
deadprogram Nov 20, 2017
5ddcdd0
Update README.md
xuchen Nov 21, 2017
9d1b3ca
Build node 8.x binaries [republish binary]
evancohen Nov 26, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,43 @@
/lib/libsnowboy-detect.a
snowboy-detect-swig.cc
snowboydetect.py
Snowboy.pm
.DS_Store

*.dylib
*.pyc
*.o
*.so
*.swp
*.swo

/examples/C/pa_stable_v19_20140130.tgz
/examples/C/pa_stable_v190600_20161030.tgz
/examples/C/portaudio
/examples/C/demo
/examples/C++/pa_stable_v19_20140130.tgz
/examples/C++/pa_stable_v190600_20161030.tgz
/examples/C++/portaudio
/examples/C++/demo
/examples/Java/Demo.class
/examples/Perl/data/
/examples/iOS/Obj-C/Pods/Pods.xcodeproj/xcuserdata/
/examples/iOS/Obj-C/SnowboyTest.xcodeproj/project.xcworkspace/xcuserdata/
/examples/iOS/Obj-C/SnowboyTest.xcodeproj/xcuserdata/
/examples/iOS/Obj-C/SnowboyTest.xcworkspace/xcuserdata/
/examples/iOS/Swift3/SnowboyTest.xcodeproj/project.xcworkspace/xcuserdata/
/examples/iOS/Swift3/SnowboyTest.xcodeproj/xcuserdata/

/swig/Android/OpenBLAS-0.2.18.tar.gz
/swig/Android/android-ndk-r11c-darwin-x86_64.zip
/swig/Android/android-ndk-r14b-darwin-x86_64.zip
/swig/Android/android-ndk-r11c-linux-x86_64.zip
/swig/Android/OpenBLAS-Android/
/swig/Android/OpenBLAS-Android-ARM32/
/swig/Android/android-ndk-r11c/
/swig/Android/android-ndk-r14b/
/swig/Android/ndk_install/
/swig/Android/ndk_install_32bit/
/swig/Android/java/
/swig/Android/jniLibs/
/swig/Java/java/
Expand All @@ -29,3 +47,7 @@ snowboydetect.py
/node_modules
/lib/node/binding
/lib/node/index.js

/dist
**/snowboy.egg-info
/.idea
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ snowboydetect.py
/node_modules

/lib/node/*.ts
/lib/node/*.d.ts

.npmignore
.travis.yml
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ env:
- NODE_VERSION="4.0.0"
- NODE_VERSION="5.0.0"
- NODE_VERSION="6.0.0"
- NODE_VERSION="7.0.0"
- NODE_VERSION="8.0.0"

before_install:
# use the correct version of node
Expand Down
12 changes: 12 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
recursive-include include *
recursive-include lib *
recursive-include swig/Python *
recursive-include resources *
include README.md

exclude *.txt
exclude *.pyc
global-exclude .DS_Store _snowboydetect.so
prune resources/alexa
prune lib/ios
prune lib/android
Loading