![]() |
#1 |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Audio recorder and player for KT
Yes there is no incorporated software to use microphone in Kindle Touch but that doesn't mean we can't use it!
![]() I wrote a very simple audio recorder and player. It might help in case you want to record something and you don't have your cellphone handy! Well this has more applications ... O start recording [] stop recording > start playback || stop playback Prerequisites: - usbnetwork - GUI Launcher Install procedure: 0. Do you have SSH access to your Kindle?! If not, read this: USBNetwork 1. extract zip file to /mnt/us/ 2. execute 'restart framework' through SSH 3. Guess what? -> Done! ![]() Karma and happiness to all of you wonderfulz! ![]() Details: Spoiler:
Last edited by thatworkshop; 06-16-2012 at 03:36 AM. Reason: Added noob-friendlier "Install procedure" |
![]() |
![]() |
![]() |
#2 |
Kindle Dissector
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
|
Multiple commands requires the use of a shell script.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Oh silly me! Well it's 5am so ...
![]() Edit: Ahhh damn, not gonna stay up so late anymore. Geekmaster: I forgot to update the 1st post even more, so now I did. ![]() Last edited by thatworkshop; 01-29-2012 at 12:12 PM. |
![]() |
![]() |
![]() |
#4 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
![]() |
![]() |
![]() |
#5 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
You can use these two commands to crank up the recording volume before actually running arecord:
Code:
/usr/bin/amixer sset 'MIXINL PGA',0 100% unmute cap /usr/bin/amixer sset 'Capture',0 100%,100% unmute cap # then arecord The resulting files are still not over-the-top quality, but it's usable for taking spoken notes. I'm attaching a sample (recorded from a computer sitting next to the Kindle, playing at "normal" volume). |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
But that microphone will come in handy when we get Skype running on these things, right? ![]() ![]() Last edited by geekmaster; 05-10-2012 at 03:16 PM. |
|
![]() |
![]() |
![]() |
#7 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
![]() |
#8 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Can this be adapted for those non-touch Kindles, such as Kindle 4 and Kindle 3?
|
![]() |
![]() |
![]() |
#9 |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
|
![]() |
![]() |
![]() |
#10 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Just a side note: how about updating the file attached in the first post for future readers?
|
![]() |
![]() |
![]() |
#11 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I used aplay to play movie output piped from ffmpeg on my kindle. I will publish a script soon to play movies on with sound on your kindles (from local files or internet URLs) in various formats (including x264 for the faster kindles). The K3 is not fast enough to decode x264 in real-time, so it can only play XviD/DivX/MPEG, etc.
Thanks for pointing out this aplay program, or my tools would be stuck with only silent films. ![]() The K4 can use aplay to output to a .WAV file, or to pipe it to another program. I think a sound server running on a host PC would be good for a K4. It could then play sound over wifi to a remote sound system (perhaps even to a wifi-enabled smart TV). The simple way would be to pipe aplay to netcat (nc), then on a host PC from netcat to a player program that can accept raw sound from netcat. ![]() And the K3 has aplay built in too. You can test it with: aplay /dev/urandom cat /dev/urandom|aplay To play "s16le" formatted output from ffmpeg, you need to add a "-f cd" to aplay: ffmpeg ... -|aplay -f cd I will post ffmpeg with I have scripts that set all the parameters to sync the video and sound reliably for various movie format. Just like sound is delivered to aplay here, the video is delivered to gmplay used in the current "kindle video" thread. These audio and video programs naturally belong together. ![]() Last edited by geekmaster; 05-12-2012 at 07:12 PM. |
![]() |
![]() |
![]() |
#12 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I just tested, and you can still play audio files the old way too (including piped-in network streams). For example, with wifi on, this will play BBC on a K3 or a K5:
wget -O - http://mp32.bbc.streamuk.com | gst-launch playbin uri=fd://0 |
![]() |
![]() |
![]() |
#13 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Quote:
And there are indeed Launchpad shortcuts already to record on the Kindle 3. Actually, the very same commands are also in a Kindlet called K3MusicManager. They are a few variations to the following that use arecord, but these seem to be the best: audio_recorder.ini Code:
[Actions] ; Audio Recorder (stored in 'audio' folder, and playable as audiobook) A E = !kill -15 `pidof arecord`; dbus-send --system /default com.lab126.powerd.resuming int32:1 & A S = !RECDIR=audible; [ -d "/mnt/us/$RECDIR" ] || mkdir -p "/mnt/us/$RECDIR"; arecord -qN /mnt/us/$RECDIR/_record_$(date +'%Y-%m-%d_%H-%M-%S').wav!.mp3 & |
|
![]() |
![]() |
![]() |
#14 | ||
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Quote:
Quote:
Code:
; play streaming radio - http://www.radioio.com - VOCAL JAZZ K R F = !cd /mnt/us/music ; ../system/kinamp http://76.76.18.101:8010 -quiet -framedrop -vo aa:reverse:contrast=50 -vf rotate=1 -monitoraspect 0.7 2>/dev/null |
||
![]() |
![]() |
![]() |
#15 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Your kinamp parameters look like the ones I posted many months ago for using with the optware mplayer, to play streaming VIDEO using "ascii art" mode in the myts terminal. Why do you use those VIDEO parameters with kinamp? Does kinamp support video now too? If so, we should be able to pipe that to my raw2gmv and gmplay programs (using different "better" video parameters). If not, then why are those video parameters on your command line? ![]() Last edited by geekmaster; 07-02-2012 at 02:14 AM. |
|
![]() |
![]() |
![]() |
Tags |
launcher, launcher add-ons |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
How to Stop Audio Player? | kenjennings | enTourage Archive | 0 | 04-19-2010 04:54 PM |
Classic Audio Player | ssbkt | Barnes & Noble NOOK | 1 | 12-18-2009 11:00 AM |
Audio Player | rfw | Sony Reader | 5 | 01-13-2007 01:25 PM |