HackXIt / assist-heidi-speech-jokey

A MVP project for natasa
MIT License
2 stars 1 forks source link

Backend Development #3

Open HackXIt opened 10 months ago

HackXIt commented 10 months ago

Description

Develop backend functionalities for text navigation, SSML tag processing, and voice generation, as outlined in draft1.py. This includes integrating with speech synthesis OpenAPI and managing temporary storage for voice files.

Sub-tasks

Estimations

Branch Name

feature/backend-dev

HackXIt commented 10 months ago

draft1.py:

from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
# Import other necessary Kivy modules

class MainScreen(BoxLayout):
    def load_file(self):
        # Logic to load a text file
        pass

    def play_audio(self):
        # Logic to play audio
        pass

    def save_file(self):
        # Logic to save audio file
        pass

    def insert_ssml_tag(self, tag_name):
        # Logic to insert SSML tags into text
        pass

    def playback_control(self, action):
        # Logic to control audio playback
        pass

class MyApp(App):
    def build(self):
        return MainScreen()

if __name__ == '__main__':
    MyApp().run()