Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2017, 09:44 PM   #1
SKK
Addict
SKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplane
 
Posts: 217
Karma: 55570
Join Date: Jun 2016
Location: N/A
Device: N/A
Kindle Touch firmware 5.3.7.3 Audio Recorder

I don't know if this has been done before but I successfully made a kindle touch audio recorder that works on firmware 5.3.7.3 using a couple older versions of the audio recorder to make it. Your device has to be jailbroken and have kual running on it. Just download the attached zip folder and then extract it. Add the extracted folder to the kual extensions folder and then run killall cvm with usbnetworking/shh. Hope it works for you.
Attached Files
File Type: zip audio.zip (2.4 KB, 190 views)

Last edited by SKK; 01-17-2017 at 09:09 PM.
SKK is offline   Reply With Quote
Old 01-16-2017, 10:44 PM   #2
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
IIRC, this has been requested in the past, but unsure if anyone posted it.

Twobob did most of the audio work for the KT (forum index: K5).
Including speaker independent voice recognition control of the K5.
The finished project includes flite for tts feedback.
But no recorder function (IIRC).

See:
https://www.mobileread.com/forums/sh...7&postcount=40
and prior posts of that thread.

Note:
The package **was** at a now closed web-site.
I do have a copy of the release zip, in case anyone wants it posted again.
knc1 is offline   Reply With Quote
Advert
Old 01-17-2017, 05:42 PM   #3
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Code:
#!/bin/sh

# By Rez ( + Yifan Lu )
# Let's try to use as much of Amazon's functions as we can

DIR=/mnt/us/music/record
TIME=`/bin/date +%Y%m%d%H%M%S`

mntroot rw
# if this folder doesn't exists, create it
[ ! -d ${DIR} ] && mkdir ${DIR}

# start recording in wav format
/usr/bin/amixer sset 'MIXINL PGA',0 100% unmute cap
/usr/bin/amixer sset 'Capture',0 100%,100% unmute cap
/usr/bin/arecord -f dat ${DIR}/${TIME}.wav &
I have a question:
Why in your script you mount the filesystem rw?
And why you don't restore it to ro? I think it can be dangerous
encol is offline   Reply With Quote
Old 01-17-2017, 06:04 PM   #4
SKK
Addict
SKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplane
 
Posts: 217
Karma: 55570
Join Date: Jun 2016
Location: N/A
Device: N/A
Quote:
Originally Posted by knc1 View Post
IIRC, this has been requested in the past, but unsure if anyone posted it.

Twobob did most of the audio work for the KT (forum index: K5).
Including speaker independent voice recognition control of the K5.
The finished project includes flite for tts feedback.
But no recorder function (IIRC).

See:
https://www.mobileread.com/forums/sh...7&postcount=40
and prior posts of that thread.

Note:
The package **was** at a now closed web-site.
I do have a copy of the release zip, in case anyone wants it posted again.
Okay.
SKK is offline   Reply With Quote
Old 01-17-2017, 06:07 PM   #5
SKK
Addict
SKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplane
 
Posts: 217
Karma: 55570
Join Date: Jun 2016
Location: N/A
Device: N/A
Quote:
Originally Posted by encol View Post
Code:
#!/bin/sh

# By Rez ( + Yifan Lu )
# Let's try to use as much of Amazon's functions as we can

DIR=/mnt/us/music/record
TIME=`/bin/date +%Y%m%d%H%M%S`

mntroot rw
# if this folder doesn't exists, create it
[ ! -d ${DIR} ] && mkdir ${DIR}

# start recording in wav format
/usr/bin/amixer sset 'MIXINL PGA',0 100% unmute cap
/usr/bin/amixer sset 'Capture',0 100%,100% unmute cap
/usr/bin/arecord -f dat ${DIR}/${TIME}.wav &
I have a question:
Why in your script you mount the filesystem rw?
And why you don't restore it to ro? I think it can be dangerous
I don't know. I didn't do any editing of the script files. I just got a kindle touch audio recorder that worked with kual but didn't do anything for me, and replaced the scripts with ones from an audio recorder for launchpad.
SKK is offline   Reply With Quote
Advert
Old 01-17-2017, 06:17 PM   #6
SKK
Addict
SKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplane
 
Posts: 217
Karma: 55570
Join Date: Jun 2016
Location: N/A
Device: N/A
Quote:
Originally Posted by encol View Post
Code:
#!/bin/sh

# By Rez ( + Yifan Lu )
# Let's try to use as much of Amazon's functions as we can

DIR=/mnt/us/music/record
TIME=`/bin/date +%Y%m%d%H%M%S`

mntroot rw
# if this folder doesn't exists, create it
[ ! -d ${DIR} ] && mkdir ${DIR}

# start recording in wav format
/usr/bin/amixer sset 'MIXINL PGA',0 100% unmute cap
/usr/bin/amixer sset 'Capture',0 100%,100% unmute cap
/usr/bin/arecord -f dat ${DIR}/${TIME}.wav &
I have a question:
Why in your script you mount the filesystem rw?
And why you don't restore it to ro? I think it can be dangerous
If I would just add mntroot ro at the end of the script would that be good enough?
SKK is offline   Reply With Quote
Old 01-17-2017, 06:38 PM   #7
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by SKK View Post
If I would just add mntroot ro at the end of the script would that be good enough?
Better yet, remove the mntroot rw that you already have.

The root of the file system is partition 1 of the storage and where your writing is partition 4 of the storage.

The properties of the backing store for '/' (p1) do not propagate to the backing store for '/mnt/us' (p4).
knc1 is offline   Reply With Quote
Old 01-17-2017, 06:57 PM   #8
encol
Evangelist
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 765432
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
As knc1 said, mntroot rw is unuseful here
encol is offline   Reply With Quote
Old 01-17-2017, 07:50 PM   #9
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by encol View Post
As knc1 said, mntroot rw is unuseful here
There are two levels of directory that might be missing, so the command is:
mkdir -p ....
knc1 is offline   Reply With Quote
Old 01-17-2017, 09:09 PM   #10
SKK
Addict
SKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplane
 
Posts: 217
Karma: 55570
Join Date: Jun 2016
Location: N/A
Device: N/A
Quote:
Originally Posted by knc1 View Post
Better yet, remove the mntroot rw that you already have.

The root of the file system is partition 1 of the storage and where your writing is partition 4 of the storage.

The properties of the backing store for '/' (p1) do not propagate to the backing store for '/mnt/us' (p4).
I updated it.
SKK is offline   Reply With Quote
Old 01-17-2017, 09:34 PM   #11
SKK
Addict
SKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplane
 
Posts: 217
Karma: 55570
Join Date: Jun 2016
Location: N/A
Device: N/A
Do you think this would work on a paperwhite third generation if you used a usb sound card, and plug a microphone into it. The reason I am asking is because when I run arecord over shh on my kindle paperwhite third generation it says something like, sound card missing. I would try it myself but I lost my sound card and I don't have a microphone.
SKK is offline   Reply With Quote
Old 01-17-2017, 09:49 PM   #12
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by SKK View Post
Do you think this would work on a paperwhite third generation if you used a usb sound card, and plug a microphone into it. The reason I am asking is because when I run arecord over shh on my kindle paperwhite third generation it says something like, sound card missing. I would try it myself but I lost my sound card and I don't have a microphone.
I do not recall anyone posting about trying.

It may require work similar to KindleLazy (I.E: supply some missing pieces).

How about a Bluetooth mic for a KT3?
Nobody has posted investigating adding device profiles/drivers/Bluez to the KT3 that I recall.
knc1 is offline   Reply With Quote
Old 01-17-2017, 09:58 PM   #13
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
It (the audio extension of post#1) works on the PW3 v5.8.7.

My Kindle language is usually set to "french". I had first to set the Kindle language to "english" (and reboot) for VoiceView to stay enabled. Then I could freely use the recorder & player.

Maybe other VoiceView language files could be imported, perhaps from the Kindle Fire which I believe has support for other languages?

Last edited by PoP; 01-18-2017 at 07:33 AM. Reason: clarify 'it'
PoP is offline   Reply With Quote
Old 01-18-2017, 07:37 AM   #14
SKK
Addict
SKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplaneSKK makes transoceanic flights without the assistance of an airplane
 
Posts: 217
Karma: 55570
Join Date: Jun 2016
Location: N/A
Device: N/A
Quote:
Originally Posted by PoP View Post
It (the audio extension of post#1) works on the PW3 v5.8.7.

My Kindle language is usually set to "french". I had first to set the Kindle language to "english" (and reboot) for VoiceView to stay enabled. Then I could freely use the recorder & player.

Maybe other VoiceView language files could be imported, perhaps from the Kindle Fire which I believe has support for other languages?
Good! Does anyone have a Kindle Voyage they could test it on. Maybe it would work on that one too.
SKK is offline   Reply With Quote
Old 01-18-2017, 08:45 AM   #15
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by SKK View Post
Good! Does anyone have a Kindle Voyage they could test it on. Maybe it would work on that one too.
Use KindleTool to open one of the factory initial images.
See how Amazon did it.
The audio apps are written in python, you will have to install python and probably diddle with the scripting (so the system finds our install of python).

= = = = =

I only have heard a rumor that audio recording is supported on the factory images - I haven't looked for it myself.

It IS referred to by the Java code in the customer firmware images.
But I haven't studied the Java code enough to learn where the gui controls for it is at.
or
Like Kindlets and that CONTENT_FONT_RAMP, it may be disabled in customer firmware by a control flag.

= = = = =

I have one foot in the grave here and am doing my best to keep the other one from sliding in.
Which is one of the reasons for all of my "DIY and tell us about it" type of answers.

Last edited by knc1; 01-18-2017 at 08:48 AM.
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware 5.3 on Kindle Touch sc4s2cg Kindle Developer's Corner 5 01-04-2013 01:11 PM
Audio recorder and player for KT thatworkshop Kindle Developer's Corner 35 07-30-2012 05:26 PM
GETTING AT the audio "file" I recorded (with Audio Recorder) Last_of_the_PEs enTourage eDGe 0 07-13-2011 01:30 AM
audio recorder Careermama enTourage Archive 5 02-17-2011 02:59 PM


All times are GMT -4. The time now is 01:08 AM.


MobileRead.com is a privately owned, operated and funded community.