Giter Site home page Giter Site logo

python-azure-tts-and-speechtotext's Introduction

python-azure-tts-and-speechtotext

#2024-05-18-1/2024-05-18-1

Using azure from python for 'text to speech' and 'speech to text'
You can use azure for free for 12 months, after that you have to pay. You must move to pay as you go (basic supscription - $0) after first month. Be careful not to go over free amount of units.
More info here: https://github.com/dbojan/python-azure-ocr/

setting azure

you need phone number (not virtual), and credit card which will not be charged (shouldn't be for free tier, except may 1$ which will be paid back...)
https://portal.azure.com/#home

select 'speech services' on the left
click on +
select location (for example north europ), free tier (f0), enter new name for resources

when you are done click on key and location. you will need them later.

using the program

download zip, enter your key and location in .py file. You can open .py using notepad++ or notepad.

install needed packages for python:
pip install azure-cognitiveservices-speech

start bat file
programs will use 1.wav (speech to text), or 1.txt (text to speech, utf-8 encoded preferred)

dll files are for windows 8.1 should not be needed on newer windows, like windows 10,11 ...

python-azure-tts-and-speechtotext's People

Contributors

dbojan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.