gs_ari: Convert Google Slides and notes to video with ari

Description Usage Arguments Value Note Examples

View source: R/gs_ari.R

Description

Convert Google Slides and notes to video with ari

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
gs_ari(
  id,
  output = NULL,
  script = NULL,
  verbose = TRUE,
  voice = "Joanna",
  use_gs_pngs = TRUE,
  ...
)

gs_ari_spin(
  id,
  output = NULL,
  script = NULL,
  verbose = TRUE,
  voice = "Joanna",
  use_gs_pngs = TRUE,
  ...
)

gs_tts(id, verbose = TRUE, voice = "Joanna", use_gs_pngs = TRUE, ...)

Arguments

id

Identifier of Google slides presentation, passed to gs_convert

output

Output MP4 filename, optional

script

A vector strings that will be spoken over slides, or a filename of the text. Empty string are removed, please use ; if no words to be spoken.

verbose

Should diagnostics messages be printed

voice

The voice you want to use. See tts_voices for more information about what voices are available. Uses default voice is given by ari_spin.

use_gs_pngs

Use the PNGs that Google will export with their slide deck. If FALSE, must have animation package installed.

...

Arguments passed to ari_spin

Value

A list of the images, script, and MP4 with the result.

Note

The ... argument in gs_tts corresponds to arguments passed to tts.

Examples

1
2
3
4
5
6
7
## Not run: 
id = paste0("https://docs.google.com/presentation/d/",
"1Tg-GTGnUPduOtZKYuMoelqUNZnUp3vvg_7TtpUPL7e8",
"/edit#slide=id.g154aa4fae2_0_58")
res = gs_ari(id)

## End(Not run)

muschellij2/didactr documentation built on March 17, 2021, 12:45 p.m.