Comments (2)
BTW jumping subsections reminds - aspiring to assimilates - jumping by clicking on the audio statusbar. Which seems to work seamlessly. If we want to implement it easily (for no other reason than knowing it works if we need it), why not fake a timeswitch?
from lyt.
I'm not sure I completely understand what you mean. As you say, it's difficult unless we're using the same terms.
Here's what I've been calling things so far (and this is what it's called in the code, too):
- Section refers to anything with its own heading (regardless of level) in the NCC file. Sections map 1:1 to SMIL files, and thus 1:1 to MP3s. Sections can be nested, but they are still played back separately.
- Segment refers to a time-slice in a section's MP3 file. This is the smallest "unit" in the system.
It's confusing to call something a "chapter" because we can't tell from the structure of an NCC if something's literally a chapter or not. E.g. the back cover of the book isn't a chapter, but it is a section.
Right now the back/forward buttons skip through segments, until it reaches the start/end of the current section. At the point it'll skip to the previous/next section, and then skip through that section's segments.
Things get confusing/hard to code because books are divided in different ways. Sometimes several time-slices will refer to the same piece of text or the same panel in a comic book; sometimes it's 1:1. Sometimes the whole book is divided neatly into "1 section per chapter", and other times it's divided into "everything in 1 section".
None of this is a problem if you're reading the book, and just want to play something as audio (and everything is a local file with zero download time). If you're just reading, you can alway drill down to the piece(s) of audio that belongs to a given piece of text.
But we're doing the opposite: Playing back audio, and showing the text. And that's makes everything about the Daisy system maddening.
Anyway, let's talk more about this on Monday
from lyt.
Related Issues (20)
- Stuck on "Henter lyd" in Safari
- Accessibility problems using Voice Over HOT 1
- I can download the book as a podcast from the book-details
- I experience that the design interface is coherent and different on the different screens/platforms. HOT 1
- Help video doesn't dissapear on safari HOT 3
- Inconsistent problems playing books on windows 8, IE 10 HOT 2
- Read speed can't be changed in IE 9 HOT 1
- Bookmarks placed in later chapters occours first on the bookmark list HOT 1
- Inconsitent problem with login on IE 9
- "Search" function doesn't work HOT 1
- Inline elements are shown as centered HOT 1
- Integrate with MTM's DOD service HOT 1
- An empty booklist (the "issued" content list) looks pretty boring
- <bookmarkSet> has the wrong XMLNS
- Splash upgrade notice is shown on patch level fixes HOT 1
- Fix for iOS pausing JavaScript execution when locked HOT 1
- Integrate with NLB's DOD service
- Microsoft Edge lags when playing HOT 1
- We should use `mkdirSync` in Cakefile HOT 1
- Change bookcover url
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lyt.