jhudsl / ari

:dancers: The Automated R Instructor
https://jhudatascience.org/ari/
Other
146 stars 37 forks source link

Skip text2speech-ing slides without speaker notes #56

Open howardbaek opened 10 months ago

howardbaek commented 10 months ago

Idea from @salernos when using Loqui:

I wonder if there is a way to modify this so slides without speaker notes can be included? I plan on filling on all of the slides with speaker notes, but for things like appendix slides, I wonder if there is some skip logic that could be added? I wonder if a general solution (for more than just slides without any speaker notes) would have some kind of pattern matching with regex, like {#} in your speaker notes where you can replace the # with numeric value that dictates how long a pause should be. So in the middle of a block of text, you could have a 3 second pause by: "Here is something I want to say with a dramatic pause.{3} Here is where I continue" And for slides without speaker notes, you could just have "{10}" or something to give 10 seconds of pause to that slide