Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-03-2014, 01:28 AM   #1
apopagasm
Junior Member
apopagasm began at the beginning.
 
apopagasm's Avatar
 
Posts: 4
Karma: 10
Join Date: Dec 2014
Location: Texas
Device: Voyage
Progress-Synced Reading Soundtracks

Hi folks,

I've just signed up here and in fact just learned that there's such a thing as Kindle jailbreaking/customizing, but I've had an idea that I think would be extremely cool to anyone who enjoys reading while listening to music, & am interested in if this would be at all possible to implement (for the record I do UX and visual design for iOS apps, no coding at all).

Idea is this: A "soundtrack" created specifically and manually for a book, that consists of a series of playlists for different settings or actions (e.g. fight scenes), etc. These playlists are live-synced to your progress in a book, so as you read you'll hear music specifically selected for the scene, setting, etc that you're currently reading. Playlists probably shuffle, and the transition from one to another is probably a smooth long crossfade. I'm thinking playlists are assembled from various movie/game/etc soundtracks, licensing issues aside.

Would involve a (crowd-sourced?) "book map" for each compatible book tying playlists to certain stretches of the book, then the playlists could get as specific as wanted; could have a generic fantasy fight scene playlist to cover a large # of books or one specifically created for one scene in a book (e.g. LOTR fight scene music from the movie OST, for the same fight scene in the book).

So as you read about characters exploring a mystical arabian (or whatever) city, stuff like this plays. Then they go get in a fight, arabian-sort of fight music plays, then they leave & travel thru a desert and stuff like this plays. And on and on for the whole book. You can listen to the Harry Potter movie soundtracks on shuffle while reading Harry Potter, but imagine how much better it would be if they were specifically ordered and curated based on where you are in the book.

Anybody else think this would be super cool, and anyone have any idea if this is at all doable? From some quick googling it seems there's no official API that allows access to reading progress, but perhaps there is a way if jailbroken.
apopagasm is offline   Reply With Quote
Old 12-03-2014, 03:42 AM   #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
There is no **official** API for anything gray-scale Kindle.
These devices run an OS implemented by Amazon themselves.

Your info. box lists "Voyage" as the device you own.
How are you going to listen to anything?
In case you haven't noticed, your Voyage does not have any speakers (or other support for audio media).

The last Kindle (grayscale) model that supported audio was the Kindle Touch (called: K5 here).
knc1 is offline   Reply With Quote
Advert
Old 12-03-2014, 04:02 AM   #3
Althelney
Member
Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.Althelney can talk to the animals.
 
Althelney's Avatar
 
Posts: 16
Karma: 68758
Join Date: Dec 2014
Device: Kindle Paperwhite 2, iPad
Yeah... honestly that sounds like a project for almost any device other than a kindle. Maybe an android?

In any case, it sounds like a massive undertaking to annotate a functionally infinite number of books when you could just, you know, make a thematic playlist and change the track when appropriate.
Althelney is offline   Reply With Quote
Old 12-03-2014, 04:44 AM   #4
apopagasm
Junior Member
apopagasm began at the beginning.
 
apopagasm's Avatar
 
Posts: 4
Karma: 10
Join Date: Dec 2014
Location: Texas
Device: Voyage
Quote:
Originally Posted by knc1 View Post
There is no **official** API for anything gray-scale Kindle.
These devices run an OS implemented by Amazon themselves.

Your info. box lists "Voyage" as the device you own.
How are you going to listen to anything?
In case you haven't noticed, your Voyage does not have any speakers (or other support for audio media).

The last Kindle (grayscale) model that supported audio was the Kindle Touch (called: K5 here).
The only need for the actual device (kindle) would be the progress%; I'm imagining a PC (or web) client to do the actual playing and house the audio files, etc.

Was talking to my boss (iOS developer) and he mentioned it'd be "a very interesting technical challenge to try to auto pick music by analyzing text" which is indeed interesting, though just a way for users to make their own maps & link them to their own playlists/audio files would be the place to start. But yeah I am just ideating (?) now cuz that's what I do, though I totally agree with "a lot of people would use something like this if it were really well executed".

This is definitely possible with a custom eReader app, i.e for iOS or Android, but I'm wanting to find out if it's possible to send out that progress% from a jailbroken kindle (any kindle not necessarily the one I have) cuz those are much better to read on than a regular tablet.
apopagasm is offline   Reply With Quote
Old 12-03-2014, 04:47 AM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Probably. Although forget about matching that with actual content on a DRM'ed book. Which potentially severely limits its use, given the current landscape.

I'd also point you to the multitudes of companies creating 'enhanced' eBooks (either as Apps or trying to leverage the mess^Wfine standard that is ePub 3), that might be a better way to achieve this kind of thing.
NiLuJe is offline   Reply With Quote
Advert
Old 12-03-2014, 04:56 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
Quote:
Originally Posted by apopagasm View Post
- - - - -
I'm wanting to find out if it's possible to send out that progress% from a jailbroken kindle (any kindle not necessarily the one I have) cuz those are much better to read on than a regular tablet.
Ah, so, your actual question appears.

Short answer: Yes
Longer answer: So what?
Long answer:

I don't think the progress percent has a significantly stable relationship between its value and the current text position from Kindle instance to Kindle instance.

An added source of uncertainty -
Our e-reader add-ins support a very wide range of e-book formats.
I am not sure that even the formats where "byte counting" is used will be repeatable enough.

6900 - I need a life.
knc1 is offline   Reply With Quote
Old 12-03-2014, 05:07 AM   #7
apopagasm
Junior Member
apopagasm began at the beginning.
 
apopagasm's Avatar
 
Posts: 4
Karma: 10
Join Date: Dec 2014
Location: Texas
Device: Voyage
Quote:
Originally Posted by knc1 View Post
Ah, so, your actual question appears.

Short answer: Yes
Longer answer: So what?
Long answer:

I don't think the progress percent has a significantly stable relationship between its value and the current text position from Kindle instance to Kindle instance.

An added source of uncertainty -
Our e-reader add-ins support a very wide range of e-book formats.
I am not sure that even the formats where "byte counting" is used will be repeatable enough.
I don't know what effects a book being DRM'd might have (@NiLuJe), and yeah certainly there are a bunch of issues but I haven't seen any so far that are major obstacles. If one can analyze the text to try to auto-pick music based on it, certainly one could analyze the text to sort of align one ebook (that the map was made from) onto another, even if one has chapter 1 starting at loc 200 and the other at loc 50. Unless an ebook is severely screwed up (i.e. a PDF with spaces between every character) any two different copies of one book will have the same sentences, yeah?

My actual question was also at the end of my first post by the way

edit: and "make a thematic playlist and change the track when appropriate" is far too much work to be realistic, imo; no one's gonna stop reading when they get to an action sequence or the setting changes to pick a new song. I do have great success listening to music while reading but I imagine this would be a whole new experience & be extremely nice to use if done well

Last edited by apopagasm; 12-03-2014 at 05:12 AM.
apopagasm is offline   Reply With Quote
Old 12-03-2014, 05:13 AM   #8
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
Well, send us a link to your working prototype when you have one.
knc1 is offline   Reply With Quote
Old 12-03-2014, 10:02 AM   #9
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@apopagasm: A location pointer in a DRM'd mobi7/mobi8 basically points to word-soup: encrypted content. Hence: useless.

And I'm not sure they're actually stable (i.e., if you by chance have a decrypted copy of the book, will the pointer from the DRM version actually point to the right place in the decrypted version (or vice versa)? Not quite sure, you'd have to check with the Mobi gurus in the appropriate subforum).

Last edited by NiLuJe; 12-03-2014 at 10:05 AM.
NiLuJe is offline   Reply With Quote
Old 12-04-2014, 01:02 PM   #10
badgoodDeb
Grand Sorcerer
badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.
 
badgoodDeb's Avatar
 
Posts: 8,513
Karma: 64095689
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
Different people read at different speeds. You would need a differing amount of the music then. Person A might need 10 minutes of "danger scene" music to cover the time (s)he's reading through that scene. Person B might need 20 minutes, if you see what I mean.

I, on the other hand, tend to focus on the music, and not be able to read while listening. I don't want any music while I'm reading! So I won't be a client, but that's okay.
badgoodDeb is offline   Reply With Quote
Old 12-04-2014, 05:02 PM   #11
apopagasm
Junior Member
apopagasm began at the beginning.
 
apopagasm's Avatar
 
Posts: 4
Karma: 10
Join Date: Dec 2014
Location: Texas
Device: Voyage
Quote:
Originally Posted by badgoodDeb View Post
Different people read at different speeds. You would need a differing amount of the music then. Person A might need 10 minutes of "danger scene" music to cover the time (s)he's reading through that scene. Person B might need 20 minutes, if you see what I mean.

I, on the other hand, tend to focus on the music, and not be able to read while listening. I don't want any music while I'm reading! So I won't be a client, but that's okay.
It's not time-based at all, think like a video game. User can pause at one scene for 3 hours and just hear the playlist associated with it shuffle, or speed through it and not hear the entire playlist

I am optimistic of a working prototype fairly soon, also (edit: not so fast). Temp name & logo (or, permanent until a better one comes along)



(soundstripe being a synonym of "soundtrack")

Last edited by apopagasm; 12-05-2014 at 11:52 PM.
apopagasm is offline   Reply With Quote
Old 12-04-2014, 10:06 PM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by knc1 View Post
6900 - I need a life.
Heh. 7829.
I joined later...
eschwartz is offline   Reply With Quote
Old 12-04-2014, 10:09 PM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by NiLuJe View Post
@apopagasm: A location pointer in a DRM'd mobi7/mobi8 basically points to word-soup: encrypted content. Hence: useless.

And I'm not sure they're actually stable (i.e., if you by chance have a decrypted copy of the book, will the pointer from the DRM version actually point to the right place in the decrypted version (or vice versa)? Not quite sure, you'd have to check with the Mobi gurus in the appropriate subforum).
I believe everything is done by decrypting the book on the fly.

The pointer is calculated based on file offsets on the content passed to the actual book reader, whether that came directly from the book file, or was decrypted.
eschwartz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Reading Progress the_callant Devices 0 10-06-2013 04:32 AM
Possible to sync reading progress between devices kindlenews Calibre 0 08-18-2013 03:48 PM
Is Universal Reading Progress Sync Possible? Prestidigitweeze Devices 2 04-26-2013 12:55 AM
Reading progress kumaryu Calibre 4 03-06-2013 12:38 AM
Classic Hide Reading Progress Bar grapaslingo Barnes & Noble NOOK 2 05-16-2012 05:54 PM


All times are GMT -4. The time now is 07:41 AM.


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