[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] SoundAnalyse
- To: pygame-users@xxxxxxxx
- Subject: [pygame] SoundAnalyse
- From: "Nathan Whitehead" <nwhitehe@xxxxxxxxx>
- Date: Tue, 9 Sep 2008 13:49:56 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 09 Sep 2008 16:50:01 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sKB11oRnMZ99C00VURyxp9M8FgidxM1Sg7Ffx/Yj9UU=; b=TEhXEJclzEy3u6W2Yg9xBEeD5CNMnW6gAYH+a4ueR6e54zmnS037X2qavYQWWzJT5R iI+wBpjR8G+2GhlbVO4QryE6utsWK2cLFdy+nYElScomkk8Chfl3b7QRx7fc/NFxAUwP ns2dYPRpYUMZ7dbZ4FZVyrVls20jn8uGHWj1c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=p0p0zAtFI2qCHgOK5odLCqpig4s5GVtRULZxciKLD/yATTIg4E1779QAzy/3NXJ3Hc ddRHqWXu7lFq6SYv/W+upZBfbNemTjxPzk6vLsT3KHsM0NLdUq95E5OCyjMrF/CfnR8g kGXpIVt2HvFNOcNv0qqH4k3yW+BKsiEDolzDQ=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I would like to announce the release of SoundAnalyse, a small python
library for analysing sound chunks. In particular it calculates the
loudness of a sound chunk and does realtime pitch detection. The
pitch detection guts are coded in a C function so it should be pretty
fast even on slower computers.
Now you can make the singing game you've always dreamed of! (Opera Hero?)
Get it at PyPI:
http://pypi.python.org/pypi/SoundAnalyse
The distribution is a source distribution using distutils, so you need
a working C compiler. If someone has a Windows box and sends me a
precompiled version for Windows I will add that to the distribution.
View the README at:
http://code.google.com/p/pygalaxy/wiki/SoundAnalyse
Some notes:
pygame doesn't support audio input, so you need to use something like
pyaudio for microphone input. But you can use pygame for graphics and
events along with pyaudio for sound, it works fine. If you want sound
playback along with microphone input, try my SWMixer module:
http://code.google.com/p/pygalaxy/wiki/SWMixer
Give it a try and let me know what you think.
--
Nathan Whitehead