Re: Play Ogg Files

2013-07-23 Thread Devyn Collier Johnson
On 07/23/2013 01:19 AM, David Hutto wrote: Devyn, are you just trying to use this in an application? Would a browser based web app work. I ask because there will still be some sort of DB interaction, so could it be an option to go with a browser command? On Mon, Jul 22, 2013 at 8:37 PM, ale

Re: Play Ogg Files

2013-07-22 Thread David Hutto
Devyn, are you just trying to use this in an application? Would a browser based web app work. I ask because there will still be some sort of DB interaction, so could it be an option to go with a browser command? On Mon, Jul 22, 2013 at 8:37 PM, alex23 wrote: > On 20/07/2013 10:25 PM, Devyn Coll

Re: Play Ogg Files

2013-07-22 Thread alex23
On 20/07/2013 10:25 PM, Devyn Collier Johnson wrote: I have not heard of Pyaudio; I will look into that. As for Pygame, I have not been able to find any good documentation for playing audio files. Plus, I recently learned that Pygame is not Python3 compatible. Another option would be Pyglet, wh

Re: Play Ogg Files

2013-07-22 Thread Devyn Collier Johnson
On 07/21/2013 01:50 AM, Chris Angelico wrote: On Sun, Jul 21, 2013 at 3:39 PM, David Hutto wrote: With linux you can have your package listed in synaptic, and can use with a sudo apt-get install whatever ogg player like ogg123, and windows I don't work with that much, but I'm pretty sure I've

Re: Play Ogg Files

2013-07-22 Thread Devyn Collier Johnson
On 07/21/2013 10:10 AM, Stefan Behnel wrote: Devyn Collier Johnson, 20.07.2013 14:25: On 07/20/2013 12:21 AM, Stefan Behnel wrote: Devyn Collier Johnson, 20.07.2013 03:06: I am making a chatbot that I host on Launchpad.net/neobot. I am currently converting the engine from BASH code to Python3

Re: Play Ogg Files

2013-07-21 Thread Stefan Behnel
Devyn Collier Johnson, 20.07.2013 14:25: > On 07/20/2013 12:21 AM, Stefan Behnel wrote: >> Devyn Collier Johnson, 20.07.2013 03:06: >>> I am making a chatbot that I host on Launchpad.net/neobot. I am currently >>> converting the engine from BASH code to Python3. I need to convert this for >>> cross

Re: Play Ogg Files

2013-07-20 Thread David Hutto
And just thinking about it,,, Devyn might want to install virtual box, and place in the os's he wants to target first, because there's usually always a glitch in 3rd party imports, This is especially true when using a newer version of python that the other developers of packages you can import fro

Re: Play Ogg Files

2013-07-20 Thread David Hutto
Mainly I just use my apps for my own purposes. So it's usually on the debian/ubuntu distro I have, although I do have Windows XP SP3 in virtual box. I have been meaning to install some other linux distros in virtual box that are the main ones, percentage of utilization based, that are used, and pr

Re: Play Ogg Files

2013-07-20 Thread Chris Angelico
On Sun, Jul 21, 2013 at 4:07 PM, David Hutto wrote: > Yeah, its like yum used in others(or the point and click gui package > installers). The main point kind of is in cross platform it would seem that > you would just use what's available with try/except, or if statements, and > the question is wh

Re: Play Ogg Files

2013-07-20 Thread David Hutto
Yeah, its like yum used in others(or the point and click gui package installers). The main point kind of is in cross platform it would seem that you would just use what's available with try/except, or if statements, and the question is what os's is he going for. Then a simple usage of what's avail

Re: Play Ogg Files

2013-07-20 Thread Chris Angelico
On Sun, Jul 21, 2013 at 3:39 PM, David Hutto wrote: > With linux you can have your package listed in synaptic, and can use with a > sudo apt-get install whatever ogg player like ogg123, and windows I don't > work with that much, but I'm pretty sure I've played .wav files from the > command line be

Re: Play Ogg Files

2013-07-20 Thread David Hutto
With linux you can have your package listed in synaptic, and can use with a sudo apt-get install whatever ogg player like ogg123, and windows I don't work with that much, but I'm pretty sure I've played .wav files from the command line before while working with cross platform just for practice, so

Re: Play Ogg Files

2013-07-20 Thread David Hutto
It was supposed to show you that you can use a command line function from windows or linux that will play an ogg/.wav file/ etc with an if windows: do this or if linux do this. espeak was just a suggestion, unless you want your own voice played for the chatbot, or a selection of a male or female v

Re: Play Ogg Files

2013-07-20 Thread Devyn Collier Johnson
On 07/20/2013 12:39 AM, David Hutto wrote: you could use , and I think its david@david:~$ python Python 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> subprocess.call(['espeak', 'word_

Re: Play Ogg Files

2013-07-20 Thread Devyn Collier Johnson
On 07/20/2013 12:21 AM, Stefan Behnel wrote: Devyn Collier Johnson, 20.07.2013 03:06: I am making a chatbot that I host on Launchpad.net/neobot. I am currently converting the engine from BASH code to Python3. I need to convert this for cross-platform compatibility. I do not need to use Mplayer;

Re: Play Ogg Files

2013-07-19 Thread David Hutto
Just get a good dictionary, and distutils I believe, someone a little bit more experienced in these should be along soon, or use the manual, and docs. On Sat, Jul 20, 2013 at 12:52 AM, David Hutto wrote: > This is using 3.2, which shouldn't be far off, the latest I could get on > ubuntu. > > da

Re: Play Ogg Files

2013-07-19 Thread David Hutto
This is using 3.2, which shouldn't be far off, the latest I could get on ubuntu. david@david:~$ python3.2 Python 3.2.3 (default, Apr 10 2013, 05:29:11) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> subprocess.call(['espeak',

Re: Play Ogg Files

2013-07-19 Thread David Hutto
you could use , and I think its david@david:~$ python Python 2.7.3 (default, Aug 1 2012, 05:16:07) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> subprocess.call(['espeak', 'word_spoken'], stdin=None, stdout=None, stderr=None

Re: Play Ogg Files

2013-07-19 Thread Stefan Behnel
Devyn Collier Johnson, 20.07.2013 03:06: > I am making a chatbot that I host on Launchpad.net/neobot. I am currently > converting the engine from BASH code to Python3. I need to convert this for > cross-platform compatibility. I do not need to use Mplayer; I just show the > below code to give other

Play Ogg Files

2013-07-19 Thread Devyn Collier Johnson
Aloha Python programmers! I am making a chatbot that I host on Launchpad.net/neobot. I am currently converting the engine from BASH code to Python3. I need to convert this for cross-platform compatibility. I do not need to use Mplayer; I just show the below code to give others a better idea wh

Play Ogg Files

2013-07-19 Thread Devyn Collier Johnson
Aloha Python programmers! I am making a chatbot that I host on Launchpad.net/neobot. I am currently converting the engine from BASH code to Python3. I need to convert this for cross-platform compatibility. I do not need to use Mplayer; I just show the below code to give others a better idea wh