Skip to content

aiola-lab/aiola-python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aiOla Python SDKs

Welcome to the aiOla Python SDKs repository. This repository contains examples and documentation for various SDKs that integrate with aiOla's Text-to-Speech (TTS) and streaming services.


Examples Overview

aiOla Streaming SDK

This example demonstrates how to use the aiOla Streaming SDK to capture live transcripts and handle backend-triggered events.

  • Key Features:
    • Real-time transcription.
    • Event-driven callbacks.
    • Internal / External Microphone.

This example shows how to set up keyword spotting using the aiOla Streaming SDK.

  • Key Features:
    • Spot predefined keywords in live streams.
    • Event-driven keyword matching.

3. Supported Languages

en-EN, de-DE, fr-FR, zh-ZH, es-ES, pt-PT


aiOla TTS SDK

This example demonstrates how to convert text into speech and download the resulting audio file using the aiOla TTS SDK.

  • Key Features:
    • Converts text into .wav audio files.
    • Supports voice selection.

This example shows how to stream text-to-speech in real-time, enabling audio playback before the entire text is processed.

  • Key Features:
    • Real-time TTS streaming.
    • Immediate audio playback.

Get Started

  1. Clone the repository:
    git clone https://github.com/aiola-lab/aiola-python-sdk.git
    cd aiola-python-sdk
  2. Follow the instructions in the individual example directories for specific use cases.

Installation

To install the SDK, run the following command:

pip install aiola-python-sdk

or locally install the package from the root directory:

create virtual environment:

python -m venv .venv

activate virtual environment:

source .venv/bin/activate

install development dependencies:

pip install wheel build setuptools

Build the package:

python -m build

Install the package:

pip install -e .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages