Re: [pygame] Recording sound

2008-10-31 Thread Knapp
On Fri, Oct 31, 2008 at 12:29 AM, René Dudfield [EMAIL PROTECTED] wrote: I can double plus reccomend pysound, and swmixer. We used them in our 'eyestabs' music game if you need more example code: http://code.google.com/p/eyestabs/ cu, Thanks everyone for all the ideas. I tried pyaudio and

Re: [pygame] Recording sound

2008-10-30 Thread Luke Paireepinart
Thanks for the info, Brad! This looks super-cool. I'll definitely download-install-test this thing as soon as I get a free minute. On Wed, Oct 29, 2008 at 2:39 PM, Brad Montgomery [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 1:42 PM, Luke Paireepinart [EMAIL PROTECTED] wrote: Cool,

Re: [pygame] Recording sound

2008-10-30 Thread Luke Paireepinart
I'll definitely try your modules. They sound like just what I need. That Canta game Brad linked to may cover my use case already. If I get around to testing your library, whether or not anything comes of it, I'll give you feedback on my experiences with it. On Wed, Oct 29, 2008 at 2:09 PM,

Re: [pygame] Recording sound

2008-10-30 Thread René Dudfield
I can double plus reccomend pysound, and swmixer. We used them in our 'eyestabs' music game if you need more example code: http://code.google.com/p/eyestabs/ cu, On Fri, Oct 31, 2008 at 1:52 AM, Luke Paireepinart [EMAIL PROTECTED]wrote: I'll definitely try your modules. They sound like just

[pygame] Recording sound

2008-10-29 Thread Knapp
Does anyone know a good way to record sound with python or pygame in Linux? Something that could work with the mic like skype does? -- Douglas E Knapp http://sf-journey-creations.wikispot.org/Front_Page

Re: [pygame] Recording sound

2008-10-29 Thread Brad Montgomery
I've used pymedia (pymedia.org) in the past, but it's community is all but dead, so there's not much help if things don't work correctly. I've heard good things about PyAudio (http://people.csail.mit.edu/hubert/pyaudio/), but I haven't had a chance to use it myself. On Wed, Oct 29, 2008 at

Re: [pygame] Recording sound

2008-10-29 Thread Luke Paireepinart
pymedia may work. You can probably use system calls, or read directly from /dev/audio0 or something like that. Just look for a generic recorder script for Linux (in C or something) and you can likely use significant parts of it. On Wed, Oct 29, 2008 at 12:13 PM, Knapp [EMAIL PROTECTED] wrote:

Re: [pygame] Recording sound

2008-10-29 Thread Brad Montgomery
Just another though, you might be OK just using the python interface to ALSA http://pypi.python.org/pypi/pyalsaaudio/0.3 On Wed, Oct 29, 2008 at 12:44 PM, Luke Paireepinart [EMAIL PROTECTED] wrote: pymedia may work. You can probably use system calls, or read directly from /dev/audio0 or

Re: [pygame] Recording sound

2008-10-29 Thread Michael George
or python bindings for gstreamer (no link, too lazy) -M Brad Montgomery wrote: Just another though, you might be OK just using the python interface to ALSA http://pypi.python.org/pypi/pyalsaaudio/0.3 On Wed, Oct 29, 2008 at 12:44 PM, Luke Paireepinart [EMAIL PROTECTED] wrote: pymedia may

Re: [pygame] Recording sound

2008-10-29 Thread Nathan Whitehead
On Wed, Oct 29, 2008 at 10:13 AM, Knapp [EMAIL PROTECTED] wrote: Does anyone know a good way to record sound with python or pygame in Linux? Something that could work with the mic like skype does? You can use SWMixer, my little sound library for Python based on pyAudio. It can do recording and

Re: [pygame] Recording sound

2008-10-29 Thread Luke Paireepinart
Cool, Nathan. I was thinking about writing a singing game - well maybe not a game so much as a tool. It plays scales and gives you your statistical accuracy as far as hitting the correct note (just based on pitch - also would do intervals etc.) I was thinking about also adding support for music

Re: [pygame] Recording sound

2008-10-29 Thread Nathan Whitehead
On Wed, Oct 29, 2008 at 11:42 AM, Luke Paireepinart [EMAIL PROTECTED] wrote: Cool, Nathan. I was thinking about writing a singing game - well maybe not a game so much as a tool. It plays scales and gives you your statistical accuracy as far as hitting the correct note (just based on pitch -

Re: [pygame] Recording sound

2008-10-29 Thread Brad Montgomery
On Wed, Oct 29, 2008 at 1:42 PM, Luke Paireepinart [EMAIL PROTECTED] wrote: Cool, Nathan. I was thinking about writing a singing game - well maybe not a game so much as a tool. Are ya'll familiar with Canta (http://www.canta-game.org/) It's pretty neat, and written in python. It might be