Skip to main content

wiseman bundles the voice assistant infrastructure into a python library

Project description

wiseman library

Wiseman is a Python library for adding voice assistant features to your applications and building personal assistant applications.

Features

  • executes the function you give when called
  • can be called by more than one name
  • voice recording
  • audio playback
  • voice to text
  • text-to-speech (Gtts)
  • text-to-speech (Elevenlabs)

download

Run this project to use it

 pip install wiseman_library

Usage/Examples

function module function
lissen() wiseman_library listens to the microphone at the specified interval and calls the given function when its name is called
stop_listen() wiseman_library stops listening to microphone
record() wiseman_library.Recorder records audio for the given recording time and saves it to the given location
recognize() wiseman_library.Recognizer translates the given audio to text with the default method
recognize_from_google() wiseman_library.Recognizer converts the given voice to text with the speech_recognition library
play_sound() wiseman_library.speaker plays the given sound file
speak() wiseman_library.speaker reads text with default text reader
speak_with_eleven_labs() wiseman_library.speaker Speaks text with eleven_labs api
speak_with_gtts() wiseman_library.speaker Speaks text with Gtts

Example of lissen() function

import wiseman_library
def fun(name,text):
    print(name+" :: "+text)
wiseman_library.lissen(function=fun)

Authors and Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiseman_library-1.2.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

wiseman_library-1.2.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page