Skip to content
/ nav Public

A Python module made to simplify the usage of Text To Speech and Speech Recognition.

License

Notifications You must be signed in to change notification settings

nav343/nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nav Module

The solution for voice related stuff in Python

Build Status

Nav is a Python module which simplifies voice related stuff in Python.

  • Just import the Module class from the nav module
  • Use only one line of code to use the Text-To-Speech and speech_recognition.
  • ✨Magic ✨

Usage

  • Make a .py file.
  • Import Module class from the nav module. from nav-tts-sr import Module
  • Use Module.Voice.speak("Your text here", "voice_gender") to use the Text-To-Speech (TTS)
  • Use Module.Voice.listen.said_text() to use the speech_recognition.
  • You can use Module.Music.play_music(path) to play a music and Module.Music.beep(hz, ms) to make a beep sound.

Example (TTS)

from nav-tts-sr import Module

my_text = "Your text here"
Module.Voice.speak(my_text, "male")

The Nav module makes the life of programmers using voice related stuff in Python.

About

A Python module made to simplify the usage of Text To Speech and Speech Recognition.

Topics

Resources

License

Stars

Watchers

Forks

Languages