Fixie.ai SDK for Python. Enables you to build AI-powered voice applications.
Project description
fixie-sdk-python
Fixie SDK for Python
Quickstart
- Install
poetry install
- Run example
just run-example
Voice Example
While you can use just run-example
, this is just a convenience method for voice_example.py
- Run example
poetry run python fixie_sdk/examples/voice_example.py
Use Ctrl-C
to terminate the program.
The example program will use the default microphone and output device (i.e. speaker) for your computer. These are set in this code:
# Get the default microphone and audio output device.
source = audio_local.LocalAudioSource()
sink = audio_local.LocalAudioSink()
You can find more information in the file voice/audio_local.py
.
Using Your Own Agent
You can pass in the --agent
(or -a
) input parameter followed by a space and then the ID of your agent.
Using a Different Voice
Adding more voices is a WIP. For now you can use the default voice or can pick any of the voices that are defined here. Pass in the desired voiceID with the --tts-voice
(-tv
) parameter.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.