인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
문서 및 사무 · SKILL.md

skill-067

skill-067

Utilize speech synthesis techniques to generate audio narratives from PowerPoint slides. This skill focuses on converting slide text to speech for presentations.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: skill-067 description: "Utilize speech synthesis techniques to generate audio narratives from PowerPoint slides. This skill focuses on converting slide text to speech for presentations." license: Proprietary. LICENSE.txt has complete terms

PPTX Speech Synthesis

Overview

Speech synthesis can be an effective tool for enhancing presentations by converting slide text into spoken audio. This skill details how to generate audio narratives from text in PowerPoint slides.

Text-to-Speech Conversion

You can utilize libraries such as gTTS (Google Text-to-Speech) to convert slide text into audio files:

from pptx import Presentation
from gtts import gTTS
import os

# Load the presentation
prs = Presentation('path-to-file.pptx')

# Extract text and convert to speech
for slide in prs.slides:
    text = ''
    for shape in slide.shapes:
        if hasattr(shape, 'text'):
            text += shape.text + '\n'

    # Create audio file
    tts = gTTS(text)
    audio_file = 'slide_audio.mp3'
    tts.save(audio_file)

    # Optionally play audio or attach it to the slide
    os.system(f'start {audio_file}')  # Adjust command for OS

Conclusion

Integrating speech synthesis into your PowerPoint presentations allows for a dynamic and engaging format for delivering content, enabling accessibility and enhancing audience comprehension.

저장한 Skills