|  03-23-2013, 10:18 PM | #1 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch |  pocketsphinx Audio Recognition and Programming API 
			
			It was supposed to be my 4500'th post... but close enough   Pocketsphinx: Audio Recognition and Programming API, built and tested. Upstream: https://sourceforge.net/projects/cmusphinx/ GITHUB: https://github.com/twobob/pocketsphinx (testing extensions) Developer API info http://cmusphinx.sourceforge.net/wiki/develop/ (how sexy is that!!!) Building with 2012.03: Spoiler: 
 do much wangling... Testing on a kindle touch: SAYS TESTING TO KINDLE TOUCH: Spoiler: 
 Special thanks to knc1 and nhsm from the support irc without whom this would never had got built. YAY!  https://github.com/twobob/sphinxbase-kindle https://github.com/twobob/pocketsphinx-kindle expect a KUAL extension RSN EDIT: And now it is completed for kindle touch. And a build for ALL KINDLES EDIT: In order to EXTEND THE VOCABULARY of the application. 1) Grab this corpus file. (or just make you own) 2) push it to the lmtool webservice 3) grab the tgz. Extract out the lm and dic files... Rename them gui.lm and gui.dic replace the default ones in /mnt/us/extension/ with yours... That should be all.. Last edited by twobob; 04-01-2013 at 09:30 AM. Reason: build for ALL KINDLES | 
|   |   | 
|  03-23-2013, 11:51 PM | #2 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			Couldn't sleep. Now it's built for all all kindles. Meh : ) https://github.com/twobob/sphinxbase...d753b9a6805f07 and https://github.com/twobob/pocketsphi...25123056071895 Both of which are insanely large commits and will probably explode your browser  say BUTT to a kindle 3 Spoiler: 
 NICE! Last edited by twobob; 03-24-2013 at 12:46 AM. | 
|   |   | 
| Advert | |
|  | 
|  03-24-2013, 12:49 AM | #3 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			https://github.com/twobob/pocketsphinx Will probably be refactoring this into Kual-system but there is a raw build with a testing wrapper... OBVIOUSLY DONT USE THESE AS EXTENSIONS AS-IS They wouldn't output anything useful. Cheers. We will probably have to think about TRAINING this thing at some point Last edited by twobob; 03-24-2013 at 10:36 PM. | 
|   |   | 
|  03-24-2013, 01:59 AM | #4 | 
| Member            Posts: 20 Karma: 30000 Join Date: Jan 2013 Device: kindle touch 5.3.2 | 
			
			nice job. how to use this for kt5
		 | 
|   |   | 
|  03-24-2013, 05:14 AM | #5 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			http://cmusphinx.sourceforge.net/wiki/develop/  <-- Either write an application yourself and use the files I provide from the shinxbase... or.. Wait for me to actually do something with this myself. : ) | 
|   |   | 
| Advert | |
|  | 
|  03-24-2013, 09:18 AM | #6 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 Maybe we can find a few pages for it in our structured wiki: http://wiki.knetconnect.com/twiki/bi...?topic=SiteMap (Even though it does not have a "button" yet.) | |
|   |   | 
|  03-24-2013, 10:12 AM | #7 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			Good idea. Done that. http://wiki.knetconnect.com/twiki/bi...ice_Activation I'll look at making a useful extension when time/knowledge allows. | 
|   |   | 
|  03-24-2013, 10:09 PM | #8 | |
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
			
			[root@kindle root]# /mnt/us/extensions/pocketsphinx/usr/local/bin/pocketsphinx_continuous -logfn /dev/null -lm /mnt/us/extensions/pocketsphinx/usr/local/share/pocketsphinx/model/gui/gui.lm -dict /mnt/us/extensions/pocketsphinx/usr/local/share/pocketsphinx/model/gui/gui.dic | cut -c 12-  Quote: 
 | |
|   |   | 
|  03-24-2013, 10:35 PM | #9 | 
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | 
				
				Code case statement refuses to run the apps...
			 PHP Code: 
			I have no idea why that doesn't work. I'll sleep on it. Happily will take advice... It DOES match the case... then nothing happens? Sigh Last edited by twobob; 03-24-2013 at 10:37 PM. | 
|   |   | 
|  03-25-2013, 09:16 AM | #10 | |
| Guru            Posts: 930 Karma: 15576314 Join Date: Jan 2013 Location: Ely, Cambridgeshire, UK Device: Kindle Oasis 3, Kindle Oasis 1 | Quote: 
 PHP Code: 
			PHP Code: 
			 | |
|   |   | 
|  03-25-2013, 09:16 AM | #11 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 See mark-up above (quote has been changed). Last edited by knc1; 03-25-2013 at 09:19 AM. | |
|   |   | 
|  03-25-2013, 09:29 AM | #12 | 
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | 
			
			Two questions: 1) can we train this software to distinguish normal vs abnormal heart sounds? (Do we have any pre-med students in the audience interested in some experimenting?) 2) can we feed this software with the output of geophones and train it to distinguish approaching footsteps from the other low frequency ground sounds? | 
|   |   | 
|  03-25-2013, 09:45 AM | #13 | |
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | Quote: 
 However... an "external microphone" could well be that accurate. With regards to the training... irc.freenode.net #cmusphinx is the place to ask such questions I guess. I am still trying to get my head around making even the most basic of "Garbage Dictionaries" right now. Ill try your other suggestions right now as this is what I am working on today. Last edited by twobob; 03-25-2013 at 09:50 AM. | |
|   |   | 
|  03-25-2013, 09:49 AM | #14 | |
| ( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır            Posts: 6,586 Karma: 6299993 Join Date: Jun 2012 Location: uti gratia usura (Yao ying da ying; Mo ying da yieng) Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch | Quote: 
 I will try that too... Although I am happy to just get even the HOME one working for right now : ) | |
|   |   | 
|  03-25-2013, 09:51 AM | #15 | |
| Going Viral            Posts: 17,212 Karma: 18210809 Join Date: Feb 2012 Location: Central Texas Device: No K1, PW2, KV, KOA | Quote: 
 Hey, if I have to think this early in the morning. . . . Besides, it is time we gave the KUAL development forum members something to talk about.  http://kual.knetconnect.com/forums/forum/kual/ | |
|   |   | 
|  | 
| Tags | 
| audio, audio recognition, kindle 5, kindle touch, pocketsphinx, programming api, recognition, twobob | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| calibre's new plugin API | kovidgoyal | Plugins | 26 | 05-07-2011 02:43 PM | 
| Links to API's...? | theranch | General Discussions | 0 | 05-06-2011 09:32 AM | 
| New metadata API in 0.8 questions | kiwidude | Development | 38 | 04-18-2011 10:42 AM | 
| Goodreads has published an API | EricLandes | Calibre | 6 | 01-12-2011 04:39 PM | 
| Blackstone Audio to release audio books as DRM-free MP3s | Donnageddon | News | 4 | 07-07-2008 12:16 PM |