From 0589e5cefacfc1de878ffe0059ba938a271bd45a Mon Sep 17 00:00:00 2001 From: Charles LaPierre Date: Thu, 16 May 2024 10:12:15 -0700 Subject: [PATCH 1/5] removed duplicate / unneeded sections --- .../draft/techniques/epub-metadata/index.html | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html index 47a997ee..97160482 100755 --- a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html +++ b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html @@ -298,21 +298,7 @@

Pre-recorded audio

This technique relates to Pre-recorded audio key information.

- - -
-

Conformance

-

This technique relates to Conformance key information.

- -
- - -
-

Pre-recorded audio

-

This technique relates to Pre-recorded audio key information.

- -
- + -
-

Intellectual Property Rights

- -
\ No newline at end of file From 99d745c3a8a75ca3323e0c8067b998f0cfd37366 Mon Sep 17 00:00:00 2001 From: Charles LaPierre Date: Fri, 17 May 2024 11:44:15 -0700 Subject: [PATCH 2/5] added new Pre-Recorded Audio Note: enhanced_text_to_speech_audio, and audio_content differ from the ONIX technique, we need to review carefully. also added missing : in Hazards section. --- .../draft/techniques/epub-metadata/index.html | 68 ++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html index 97160482..815231f7 100755 --- a/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html +++ b/UX-Guide-Metadata/draft/techniques/epub-metadata/index.html @@ -296,7 +296,73 @@

Conformance

Pre-recorded audio

This technique relates to Pre-recorded audio key information.

+ +

This algorithm takes the package_document_as_text argument: a UTF-8 string representing the Package document.

+ +

Understanding the variables

+
+
audiobook
+

If true it indicates that the accessModeSufficient="auditory" (all main content is provided in audio form) is present in the OPF file, otherwise if false it means that the metadata is not present.

+ +
synchronised_pre_recorded_audio
+
+

If true it indicates that the accessibilityFeature="sychronizedAudioText" is present in the OPF file, otherwise, if false, it means that the metadata is not present.

+

This indicates that text-synchronised pre-recorded audio narration (natural or synthesised voice) is included for substantially all textual matter, including all alternative descriptions, e.g. via a SMIL media overlay.

+
+ +
enhanced_text_to_speech_audio
+
+

If true it indicates that the accessibilityFeature="ttsMarkup" is present in the OPF file, otherwise, if false, it means that the metadata is not present.

+ +

This indicates enhancements have been made to the text-to-speech playback quality.

+
+ +
audio_content
+
+

If true it indicates that the accessMode="auditory" is present in the OPF file, otherwise, if false, it means that the metadata is not present.

+ +

This indicates that pre-recorded audio content is included as part of the work.

+
+ + +
+

Variables setup

+
    +
  1. LET package_document be the result of calling pre processing given package_document_as_text.
  2. + +
  3. LET audiobook be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessModeSufficient" and text()="auditory"].
  4. + +
  5. LET synchronised_pre_recorded_audio be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="sychronizedAudioText"].
  6. + + +
  7. LET enhanced_text_to_speech_audio be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessibilityFeature" and text()="ttsMarkup"].
  8. + +
  9. LET audio_content be the result of calling check for node on package_document, /package/metadata/meta[@property="schema:accessMode" and text()="auditory"].
  10. + +
+

Instructions

+
    +
  1. + IF audiobook: + THEN display "Audio only". +
  2. +
  3. + ELSE IF synchronised_pre_recorded_audio: + THEN display "Synchronized audio and text". +
  4. + ELSE IF enhanced_text_to_speech_audio: + THEN display "Enhanced text-to-speech playback quality". +
  5. +
  6. + ELSE IF audio_content: + THEN display "Complementary audio and text". +
  7. +
  8. + ELSE display "No information about pre-recorded audio". +

    This key information can be hidden if metadata is missing.

    +
  9. +