Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 911001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:07:49+00:00 2026-05-15T17:07:49+00:00

I’d like to add speech-over/narration to a PDF document. So a sentence is highlighted

  • 0

I’d like to add speech-over/narration to a PDF document.

So a sentence is highlighted (background color or text color changes) and the synced audio (not a computer voice but a recorded audio clip) plays. How do I do it? Are there readymade software available (on mac preferably) to achieve this?

I’d appreciate any help.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T17:07:50+00:00Added an answer on May 15, 2026 at 5:07 pm

    Tricky problem.
    A few years ago, I’d say that the only way to do this is with a plug-in to Acrobat as that was really the only API that could manage this.

    Today, I think the way you want to do this is to create highlight annotations for each sentence. Then create a widget annot that has a series of javascript actions that change the opacity of the sentences then trigger a sound annot to play.

    Something like this in pseudo-code

    foreach sentenceAnnot,sentenceSoundAnnot do
        set sentenceAnnot.opacity to 1
        play sentenceSoundAnnot
        set sentenceAnnot.opacity to 0
    

    Now this is going to stink as a process – writing any kind of scripts for annotation actions stinks since the editor and debugger are cruel jokes. Start by getting a copy of the acrobat javascript api reference. You’ll be dead without it.

    Then you have to figure out how to author the action that you want. Here is a script that I put into an action on a link to change the opacity of all highlights on page 0 to half:

    var annots = this.getAnnots({nPage:0});
    
    for (var i =0; i < annots.length; i++) {
       if (annots[i].type = "Highlight")
    
       annots[i].opacity = 0.5;
    }
    

    This can be easily modified to find a specific annotation on the page. You’re supposed to be able to find them by name via the getAnnot method, but I saw nothing that would indicate how to set the name property of an annot in the Acrobat UI – so good luck authoring that. You’ll probably have to get by setting the highlight subject to something identifiable that you can then get. You would also put sounds on the page and then play those.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I would like to count the length of a string with PHP. The string
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I've got a string that has curly quotes in it. I'd like to replace
I would like to run a str_replace or preg_replace which looks for certain words
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I have a reasonable size flat file database of text documents mostly saved in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.