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 07-22-2016, 05:46 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 paperwhite audio support.

I am wondering if it would be possible to make a kual extension that would play mp3's using amazon's audio adapter.
SKK is offline   Reply With Quote
Old 07-22-2016, 06:22 PM   #2
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by SKK View Post
I am wondering if it would be possible to make a kual extension that would play mp3's using amazon's audio adapter.
Yes, certainly. Twobob's Balsamic demo played sound and video using a tweaked version of my gmplay, and it worked for about 20 seconds on my PW3 with cheap USB sound dongle befor segfaulting (using a KUAL extension, in fact). Debugging is in on yhe menu, and MP3 decoding, or use whatever built-in apps (or borrow from an earlier kindle model) than can already play mp3s.

It may not be hard to build open source players from source either with a good toolchain.

But Balsmic proves it can work.
geekmaster is offline   Reply With Quote
Advert
Old 07-22-2016, 09:13 PM   #3
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 geekmaster View Post
Yes, certainly. Twobob's Balsamic demo played sound and video using a tweaked version of my gmplay, and it worked for about 20 seconds on my PW3 with cheap USB sound dongle befor segfaulting (using a KUAL extension, in fact). Debugging is in on yhe menu, and MP3 decoding, or use whatever built-in apps (or borrow from an earlier kindle model) than can already play mp3s.

It may not be hard to build open source players from source either with a good toolchain.

But Balsmic proves it can work.
So is there a extension or does it have to be made.
SKK is offline   Reply With Quote
Old 07-22-2016, 09:17 PM   #4
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
So is there a extension or does it have to be made.
Have you searched posts authored by twobob yet?
knc1 is offline   Reply With Quote
Old 07-22-2016, 11:03 PM   #5
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
Quote:
Originally Posted by SKK View Post
So is there a extension or does it have to be made.
Have you searched posts authored by twobob yet?
I wrote my own extension for Balsamic and several of my eink demos, plus my video player with a menu for various videos. Easy to grab an existing extension and tweak it.

I will post a shortened version of my gmdemo extension here. I only tested this on my PW3. The PW2 needs a usbotg kernel module support that amazon does not provide, though we should be able to add what is missing (with compatible kernel vermagic).

extensions/gmdemo/config.xml:
PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<extension>
  <information>
    <name>Geekmaster Video</name>
    <version>1.5a</version>
    <author>geekmaster</author>
    <id>gmvid</id>
  </information>
  <menus>
    <menu type="json" dynamic="true">menu.json</menu>
  </menus>
</extension>
extensions/gmdemo/menu.json:
PHP Code:
{
  
"items": [
    {
      
"name""Geekmaster Demos",
      
"priority"0,
      
"items": [
        {
"name""Balsamic: twobob audio/video demo""priority"1"action""bin/gmdemo.sh""params""Balsamic noise.wav"},
        {
"name""titty: geekmaster tiny tty demo""priority"1"action""bin/gmdemo.sh""params""titty"}
      ]
    }
  ]

extensions/gmdemo/bin/gmdemo.sh:
PHP Code:
#!/bin/sh
lipc-set-prop com.lab126.powerd preventScreenSaver 1
killall 
-stop Xorg cvm # pause framework
eips -c
pause 1

bin
/$@

killall -cont cvm Xorg # resume framework
lipc-set-prop com.lab126.powerd preventScreenSaver 0

return 
Demo files from eink algorithmic art thread:

extensions/gmdemo/noise.wav
extensions/gmdemo/bin/Balsamic
extensions/gmdemo/bin/titty
extensions/gmdemo/bin/titty.png

Beware that Balsamic blows up after playing the audio tune (with eink animation) for awhile. It works fine on earlier kindles with sound. Not sure how to fix that yet.

Last edited by geekmaster; 07-23-2016 at 11:25 AM.
geekmaster is offline   Reply With Quote
Advert
Old 07-23-2016, 01:00 AM   #6
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
bin/$@
knc1 is offline   Reply With Quote
Old 07-23-2016, 09:57 AM   #7
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
bin/$@
That was just a copy/paste of a legacy-ish script (with non-working demos removed).

I used $@ in newer scripts. I think I learned it from you not that long ago, in fact...

The problem with copy/paste is old inefficiencies have a habit of creeping into new code, depending on the source.

Post updated. Thanks.

Last edited by geekmaster; 07-23-2016 at 10:01 AM.
geekmaster is offline   Reply With Quote
Old 07-23-2016, 11:16 AM   #8
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 geekmaster View Post
That was just a copy/paste of a legacy-ish script (with non-working demos removed).

I used $@ in newer scripts. I think I learned it from you not that long ago, in fact...

The problem with copy/paste is old inefficiencies have a habit of creeping into new code, depending on the source.

Post updated. Thanks.
Thanks for your help.
SKK is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF support in Kindle Paperwhite Phoenix87103 Amazon Kindle 18 04-08-2014 03:33 PM
Audio Book Support bradtiry Recipes 0 05-22-2013 03:05 PM
Kindle Paperwhite - improved the PDF support? max99 Amazon Kindle 3 10-03-2012 02:39 PM
Kindle paperwhite support? cjobim Devices 3 10-02-2012 06:39 PM
does Kindle's web browser support audio? ovaldisk Amazon Kindle 1 07-22-2011 07:40 PM


All times are GMT -4. The time now is 11:33 AM.


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