Pydroid TTS without kivy - python

I searched a lot but couldn't find anything working. The only option is gTTS, but I need a module that does not convert text into an audio file but plays it. I also tried the Android module and AndroidHelper but they don't work either.
I'm using Pydroid 3.
Thanks in advance.
PS: I can't download QPython

Related

How do you use midi2audio in Python with Windows?

I need to convert a midi file into .wav or .mp3 in Python to be able to play it in a Django web app. I came across midi2audio which seemed to solve just that, but it seems like it was made for Linux and MacOS, so it's a bit of a pain with Windows (which I am using).
I have installed midi2audio and fluidsynth and added it to path, but when I write
from midi2audio import FluidSynth
FluidSynth().midi_to_audio('temp.mid', 'output.wav')
and run it there is an error that pops up, not a python error but a windows error saying "Command line syntax error. Type Command /? for Help.". I'm guessing I have to configure something in fluidsynth, but I have no idea how and I didn't really find anything useful online.
How can I get fluidsynth to work, or what is a better way to convert midi to mp3/wav?

SimpleGUI on IDLE

I have managed to develop a game using the simplegui module and am able to run it on CodeSkulptor, but when I try running it on IDLE, it displays that the module simplegui is not found. I'm not really getting how to download the module on my system and am unable to find any solution on Google. Is there any way I can get simplegui, or is it an outdated module(I'm finding many websites explaining how to download PySimpleGUI and Tkinter but can't find simplegui)?
Thanks for any help
Check this question:
How to integrate SimpleGUI with Python 2.7 and 3.0 shell
You can use:
import simpleguitk as simplegui

Encountring an error with videos - Kivy on Windows 7

I want to make an application with Kivy that can manipulate videos, my problem is that i can't play videos when i am using kivy, my operating system is Windows7.
In the demo example given with Kivy, here is the result :
in this youtube video (https://www.youtube.com/watch?v=8zSNzUAfohA), in minute 1h18min30sec the video is actually working
The result i had before was this picture :
I hope u guys know what is the problem source.
Thank you for your time :)
Install kivy.deps.gstreamer if you don't have it yet. Catalog should then work.
The second image looks like you have non-existing files included.

How do you play sound in Python WITHOUT downloading anything

I have been looking for ages on ways to find out how to make idle python play sound such as wav.
The solutions I have found are used by programs such as pygame. I can't download pygame or any other program.
Many thanks
To play a sound without downloading anything, you use the code:
import winsound
winsound.PlaySound('FILENAMEHERE.wav', winsound.SND_FILENAME)
keep everything the same apart from FILENAMEHERE
Why are you unable to download anything? https://pypi.python.org/pypi/playsound/1.2.1 - link for playsound module it is very easy to download. You can download it using pip by navigating with cmd to your python folder (usualy C:\Users\UserName\AppData\Local\Programs\Python\Python35-32) and writing: python -m pip install playsound (if you are using python 3). I think that is the easiest and the fastest way for you to play sound if you have any other questions about this let me know.
p.s
If you need to you can download pip here: https://pip.pypa.io/en/stable/installing/https://pip.pypa.io/en/stable/installing/
Hope I was helpful. :)

Need to set up a GUI that shows output from Pocketsphinx on Raspberry Pi 2 using Python

I need to set up a GUI that simply shows the output of Pocketsphinx on Raspberry Pi. I have installed Pocketsphinx and can run it from command line, but am not quite clear on how to set up the GUI. I have been using Python 2.7, and have seen online that others have tried importing it? Please help me figure this out.
Thanks,
There is pocketsphinx wrapper for python.

Categories

Resources