Python Forum
how coding microphone receive non-English?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how coding microphone receive non-English?
#1
My code is bellows

(1)with sr.Microphone() as source:
(2) print('Say anything')
(3) audio=r.listen(source) <=Need to change
(4) print('Done')

In line(3) How do I do? I need to change like audio=r.listen(source,langauge='th')

Thanks in advance.
Reply
#2
You need to post all relevant code (between the 'code' tags). The more information you provide, the greater the chance of your getting a helpful reply.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to receive two passed cmdline parameters and access them inside a Python script? pstein 2 278 Feb-17-2024, 12:29 PM
Last Post: deanhystad
  Receive Input on Same Line? johnywhy 8 608 Jan-16-2024, 03:45 AM
Last Post: johnywhy
  Microphone stream manipulation Talking2442 1 2,682 Nov-19-2023, 02:08 PM
Last Post: palumanic
  How to continuously receive messages until specified to stop using Bleak jacobbreen25 3 2,017 Dec-28-2022, 04:25 PM
Last Post: jacobbreen25
  (python) Can i get some help fixing a English to Morse translator? Pls AlexPython 7 1,539 Sep-12-2022, 02:55 AM
Last Post: AlexPython
  How can I add an end line character after every value that I receive? GiggsB 11 5,018 Mar-06-2022, 08:51 PM
Last Post: GiggsB
  How to receive webcam capture on spout? buzzdarkyear 2 2,592 Jan-12-2022, 02:26 PM
Last Post: buzzdarkyear
  write a program which prints the day in english ben1122 10 3,913 Jul-25-2021, 05:55 PM
Last Post: ben1122
  More non english characters johnboy1974 8 4,349 Apr-23-2021, 02:35 PM
Last Post: snippsat
  Receive data from Redis RQ worker process freak14 0 1,868 Jul-15-2019, 12:39 PM
Last Post: freak14

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020