Wisp Study 中文 GitHub

Tutorial 08 · Read

Listen to a paper: read aloud and podcast

On the commute, or while you wait for a centrifuge run, your eyes are busy but your ears are free. This tutorial turns a paper in the library into something to listen to. First you set up the speech service and let it read from the current page sentence by sentence, or read only a selected passage. Then you turn the whole paper into a conversation between two hosts that keeps playing after you leave the paper. The finished podcast is kept as an attachment of the paper, and one click in the sidebar plays it again.

Scenario
Listen to a paper on the single-cell transcriptional landscape of poplar stems, to get the gist first and read it closely later.
Needs
A paper with a PDF; a DeepSeek API key (for the voice); an assistant model set up in “Settings › AI” (for the podcast script).
Time
About 3 minutes of setup; the rest is listening time: reading aloud depends on the length, and a podcast takes as long as it runs.

1Set up the voice first

The paper to listen to is Transcriptional landscape of highly lignified poplar stems at single-cell resolution, Genome biology, 2021, 22 pages, with its PDF stored in the library “Plant single-cell transcriptomics”. Type poplar stems in the search box above the list, click this paper and switch to “PDF”.

The voice for reading aloud and podcasts does not come from the model you assign to the assistant under “Tasks”, but from DeepSeek's speech service. If it is not set up yet, clicking “Read aloud” or “Podcast” brings up a notice instead of a voice:

The paper list is narrowed to the poplar stems paper, with its PDF open on the right. In the middle of the window is a dialog titled “No speech service set up yet”, saying that read aloud and podcasts are spoken by DeepSeek's speech service, billed by characters, and that you add DeepSeek and fill in its API key to listen. The buttons are “Cancel” and “Set up DeepSeek”.
Figure 1. Clicking “Read aloud” with no speech service set up: a notice whose button leads straight to settings.

Click “Set up DeepSeek”. The window goes to “Settings › AI › Model”, where DeepSeek has already been added to the provider list on the left, with the URL https://api.deepseek.com and “No API key” below it. Get a key at platform.deepseek.com (“Get an API key” at the top right leads there) and fill it into the “API Key” field. “No API key” in the list becomes “2 models”, and under the field it says “Saved on this computer.” If DeepSeek is already added and only the key is missing, the button in the notice is “Fill in the API key”, and it lands in the same place.

“Settings › AI › Models”: DeepSeek is selected in the provider list on the left, under Claude. On the right the Base URL is https://api.deepseek.com, the “API Key” field is a row of dots, and below it says “Saved on this computer.”
Figure 2. The API key is filled in for DeepSeek. The key is saved in plain text in settings.json on this computer.

Choose the voice at the very bottom of the “Tasks” page next to it. “Reading voice” has two options, “Female” and “Male”, and the description says which provider's key is used and that it is billed by characters. This setting governs “Read aloud”. The two podcast hosts each use their own voice and are not affected by it.

The “Settings › AI › Tasks” page scrolled to the bottom: the “Reading voice” row, with a description saying that “Read aloud” on the PDF toolbar and for selected text uses DeepSeek's speech service, with the key taken from “DeepSeek”, billed by characters. To the right are “Female” and “Male”, with Female selected.
Figure 3. “Reading voice” at the bottom of the “Tasks” page.

2Read aloud: from this page to the references

When the detail panel is narrow, the PDF toolbar has room for only a few icons, and “Read aloud” and “Podcast” are tucked into the ⋯ menu. Press ⌘ + Shift + F (Ctrl + Shift + F on Windows, or click the expand icon to the right of the title at the top of the detail) to enter reading mode. The toolbar then has “Read aloud” with a speaker and “Podcast” with headphones.

Reading aloud starts from the page you are looking at. In this example, scroll to page 2 first and then click “Read aloud”: “Read aloud” on the toolbar turns green and a player appears at the bottom of the PDF (Figure 4). The sentence being read has a thin dark gray line under each of its lines (over a very light gray underlay). When a sentence is finished, the line moves to the next one. It differs from the background of selected text, so you can tell them apart even if you select while listening. When the reading reaches the bottom of the screen, the page scrolls on its own and the sentence being read stays in view. After a page it goes on to the next, until it reaches the references.

Page 2 of the poplar stems paper in reading mode, at 100%. The sentence “Those studies were mostly based on roots and inflorescence stems of the model plant Arabidopsis [9] and stems of the model tree poplar [10].” has a thin line under each of its lines. “Read aloud” on the toolbar is green. The player at the bottom of the page shows a pause icon, “Read aloud”, “Page 2”, “1×” and a square.
Figure 4. Reading the second sentence on page 2. A thin line is under the sentence being read, and the player is at the bottom.

The player floats at the bottom of the PDF. On the left is pause, which becomes resume once paused; in the middle are “Read aloud” and “Page 2”; on the right are the playback speed and the stop square. The speed is 1× by default, and clicking it lets you choose 0.75×, 1.25×, 1.5× or 2×. Click the square to stop: the player folds away and “Read aloud” on the toolbar goes gray again. Figure 5 shows the speed menu opened while the next sentence is being read.

Page 2 in reading mode. The sentence beginning “However, unlike the herbaceous annual Arabidopsis, perennial woody plants exhibit extreme secondary growth” has a thin line under it, and the player at the bottom shows “Read aloud”, “Page 2” and “1×”. A speed menu is open at the top left of the window with five options: 0.75×, 1× (checked), 1.25×, 1.5× and 2×.
Figure 5. The speed menu of the player, 1× by default. It is drawn at the top left of the window in this picture.

Read only a selected passage

To hear just one passage, drag to select it on the page. In the row of buttons beside the selection, the last one is “Read aloud”, after “Copy”, “Underline”, “Highlight”, “Add to chat”, “Translate” and “Add to map”. This example selects the sentence on page 2 that begins “In total, we identified 20 cell clusters”.

On page 2, the sentence “In total, we identified 20 cell clusters covering nearly all major cell types in vascular tissue.” is selected, shown with a green background. Below the selection is a row of buttons: Copy, Underline, Highlight, Add to chat, Translate, Add to map, Read aloud.
Figure 6. “Read aloud” on the selection toolbar reads only the selected passage.

Click it and it starts reading this passage. The player says “Read aloud” and “Selection”. When the passage is done it stops and does not go on reading.

3Podcast: two hosts talk about the paper

Reading aloud recites the original sentence by sentence, which suits the times you want the author's own words. If you only want to know first what the paper says, click “Podcast”: the assistant's model writes a conversation script from the title, abstract and full text (up to the references). The female host, Xiaoxing (小星), and the male host, Achao (阿潮), talk about the background, methods, main findings, limits and significance, and then DeepSeek's two voices read it out, one for each.

You do not wait for the script to be finished. After you click, the model starts writing. As soon as it has written the first turn, playback begins and a player appears at the bottom of the PDF: pause or resume, “Podcast” with the turn being played (“Turn 2” in Figure 7), the speed, a “⋯” menu, a list icon, a stop square, and a progress bar with the elapsed and total time. The model keeps writing and each turn is read as soon as it is written.

The poplar stems paper in reading mode, page 3 of 22. “Podcast” on the toolbar is green and a download icon is next to it. The player at the bottom shows a pause icon, “Podcast”, “Turn 2”, the sentence being spoken (the host's name is drawn in Chinese), “1×”, a “⋯” menu, a list icon, a stop square and a progress bar from 0:07 to 1:45.
Figure 7. The podcast at turn 2. A podcast does not mark sentences on the page; the player says which turn is playing.

This time the model behind the assistant was a stand-in script, not a real model, and its script came to 20 turns. The app asks a real model for 30 to 50 turns; the stand-in builds a short one from the paper's abstract. It begins like this:

Podcast script

Xiaoxing: Hello everyone, welcome to this episode. I am Xiaoxing.

Achao: And I am Achao. Today we are talking about the paper "Transcriptional landscape of highly lignified poplar stems at single-cell resolution".

After the greeting, each of Achao's turns is one sentence of the abstract, in order, and Xiaoxing's turns are short questions, so this script says only what the abstract says. A real model writes a freer conversation, and its own remarks are its reading of the paper, so check them in the original. A podcast is for getting the gist first; check any number you want to cite against the original.

4Leave the paper and keep listening

After the podcast starts you can do something else. In this example, press Esc to leave reading mode and once more to close the detail, and the podcast does not stop. A bar floats up at the bottom of the window: on the left a pause button, then the title, the turn being played, and the sentence being spoken (with who is speaking). On the right are the speed, a “⋯” menu, a list icon and a stop square, and under them a progress bar with the elapsed and total time.

The paper list narrowed to the poplar stems paper, with the detail closed. The floating bar at the bottom of the window reads “Transcriptional landscape of highly li…”, “Turn 4”, and on the next line a sentence from the abstract spoken by Achao (his name is drawn in Chinese). On its right are “1×”, a “⋯” menu, a list icon and a square, and under them a progress bar from 0:14 to 1:45. The sidebar has a new item, “Podcast”, with the number 1.
Figure 8. The floating bar after the detail is closed. “Podcast” in the sidebar, with the number 1, is the one just kept (see sections 5 and 6).

Click the text part of the bar to return to this paper's PDF. The square on the right stops the podcast, and the list icon is the playlist (section 6). As long as it is playing, the bar stays at the bottom and shows the round it has reached.

5The kept audio and script

Once all the voice is generated, the podcast is kept as two attachments of the paper: the audio as WAV and the conversation script as Markdown. The audio is generated ahead of the sentence being played, so the podcast is usually already kept before it has played to the end, and it goes on playing afterwards as before. If you stop midway or an error occurs, nothing is kept.

After it is kept, a download icon appears next to “Podcast” on the reading mode toolbar (it is in Figure 7). Clicking it opens a small menu: “Save podcast audio (WAV)…” and “Save podcast script (Markdown)…”. Choose one and save a copy anywhere in the save dialog that opens, for example to copy it to your phone and listen there.

Go back to the “Info” page and scroll down. Under “Attachments / supplementary material” you can see the two files, named “播客 - ” (“Podcast - ”) plus the title, among this paper's other attachments. In this run the audio is 4.8 MB and the script 2 KB.

The lower part of the “Info” page with the poplar stems paper selected: “Main text PDF” is Chen et al., 2021.pdf. Under “Attachments / supplementary material” are two items, both named “Podcast - ” (in Chinese) plus Transcriptional landscape of highly lignifi…, marked “Attachment · 4.8 MB” and “Attachment · 2 KB”.
Figure 9. The podcast is kept as two attachments of the paper: the audio and the script. When the title is long, the file name takes only the first few words of the title and is cut between two words (here it ends at “stems”).

The script is the conversation as it was read out, a heading and then one paragraph per turn. The English interface still writes the heading and the host names in Chinese. Any text editor can open, copy and edit it:

播客 - Transcriptional landscape of highly lignified poplar stems.md (beginning)
# 播客:Transcriptional landscape of highly lignified poplar stems at single-cell resolution

**小星**:Hello everyone, welcome to this episode. I am Xiaoxing.

**阿潮**:And I am Achao. Today we are talking about the paper "Transcriptional landscape of highly lignified poplar stems at single-cell resolution".

6“Podcast” in the sidebar: listen again

Once there is a first podcast, a “Podcast” item appears in the sidebar under “Missing PDF”, with the number of kept podcasts. When there are none, it does not appear. This example made one more for Mapping gene activity of Arabidopsis root hairs, and the number became 2.

Click “Podcast” and a playlist opens: one row per podcast, with the title and the length. Choose a row to play the kept audio. It requests no service and costs nothing. The floating bar appears as before, with the turn and the sentence being spoken, and clicking it likewise returns to that paper's PDF. Click the row that is playing to stop, or use the square on the right of the floating bar.

In this example the poplar stems podcast is the one playing. Opening the list shows a check mark before the row that is playing, and the length of each podcast after its title:

The paper list, with a playlist popped up beside “Podcast” in the sidebar. It has two rows, “Mapping gene activity of Arabidopsis …” with 1:38 and “Transcriptional landscape of highly li…” with 1:45, and a check mark before the second. The floating bar at the bottom of the window reads “Transcriptional landscape of highly li…”, “Turn 5” and a sentence spoken by Xiaoxing (her name is drawn in Chinese).
Figure 10. The playlist behind “Podcast” in the sidebar, each row a title and a length. The check mark shows the one that is playing; when one podcast ends, the next plays.

Recap

  • Add DeepSeek under “Settings › AI › Model” and fill in the API key, and choose the reading voice at the bottom of the “Tasks” page. If it is not set up, clicking “Read aloud” leads you straight there.
  • “Read aloud” reads from the current page to the references. It skips headers, footers, page numbers and the copyright and affiliations on the first page. The sentence being read has a line under it and the page follows along. Select a passage to read only that passage. The player at the bottom of the PDF handles pause, speed and stop.
  • “Podcast” has the assistant's model write the script and two hosts talk it through, read as it is written. When you leave the paper, the floating bar at the bottom keeps playing.
  • When everything is generated, the audio and the script are kept as attachments of the paper and can be saved elsewhere. “Podcast” in the sidebar plays them again any time, with no further charge.
  • Next: when a paper has caught your interest, come back and read it closely; see Read one paper closely.