very cool!
Looking forward to trying it out.
I would like to announce the release of SWMixer, an advanced software
mixer for sound playback and recording. It is written entirely in
python. It uses NumPy array operations for fast performance and
PyAudio for audio playback and recording.
At the moment it is fairly untested. It works well on
Wyatt Olson wrote:
I would want to be
able to return an approximation of the actual dB value at the given
time.
This is getting into the realm of signal processing, and
is outside the scope of an audio output library, whose
purpose is just to produce sound, not analyse it.
I think you'll have
Hi everyone,
I have updated the Windows installers and document bundle at my site,
http://www3.telus.net/len_l/pygame/ , to revision 1502. Everything
passes the unit tests, both with and without subprocesses enabled.
38402fa61caa7da36a5625ef21e2a35c *pygame-1.8.1b02.win32-py2.4.msi
d9a16cac
Sweet! I will play around with this.
Cheers
Forrest Voight wrote:
sound = pygame.mixer.Sound('x.wav')
array = pygame.sndarray.samples(sound)
On Tue, Jul 15, 2008 at 3:16 PM, Wyatt Olson <[EMAIL PROTECTED]> wrote:
How do you access the sndarray for a sound loaded from a .wav sample? From
As it is arraydemo.py is trying to import pygame and failing because the
package has been renamed. Reinstall pygame 1.8.1. This will create a
new, clean, /usr/lib/python2.5/site-packages/pygame.
Lenard
Knapp wrote:
I renamed that dir and tried arraydemo.py and get:
Traceback (most recent ca
sound = pygame.mixer.Sound('x.wav')
array = pygame.sndarray.samples(sound)
On Tue, Jul 15, 2008 at 3:16 PM, Wyatt Olson <[EMAIL PROTECTED]> wrote:
> How do you access the sndarray for a sound loaded from a .wav sample? From
> what I can tell, you can either create a Sound object from a .wav file
How do you access the sndarray for a sound loaded from a .wav sample?
From what I can tell, you can either create a Sound object from a .wav
file, or from a sndarray object, but I don't see how you can access the
backing sndarray from a .wav Sound...
Sorry if I am missing something obvious.
You could access a sndarray and average the current portion of it. You
could probably even use numpy to do a fourier transform on it.
On Tue, Jul 15, 2008 at 12:26 PM, Wyatt Olson <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Does anyone know if it is possible to obtain the actual volume of the sample
Hello,
Does anyone know if it is possible to obtain the actual volume of the
sample being played at a given moment? This is not the same as getting
the volume level which was set earlier, on either the sample or the channel.
For instance, assume that I am playing a sample which starts at low
hi,
I think we'll add all of your patches after 1.8.1 is released this weekend.
Nicholas and I wrote some tests for Mask.get_bounding_rects, and
transform.threshold... However I think it's a bit late to test them
properly still, and might as well add them to pygame 1.9 starting this
weekend.
c
Hello,
pygame 1.8.1rc2 was marked in subversion.
What's new can be found here: http://pygame.org/whatsnew.shtml
http://rene.f0o.com/~rene/stuff/pygame-1.8.1rc2.zip 1.7MB
93bec2814c823c5339ce66bf0b495160
http://rene.f0o.com/~rene/stuff/pygame-1.8.1rc2.tar.gz 1.5MB
96c4028346d3f485018e28
hello,
if anyone feels like it, there will be an online mini sprint in
#pygame this saturday working on pygame stuff...
http://pygame.org/wiki/todo
http://www.worldtimeserver.com/convert_time_in_AU-VIC.aspx?y=2008&mo=7&d=19&h=6&mn=0
It'd be cool to try and release 1.8.1 this weekend, as well as
thanks a lot everybody!
my path was not quite right i finaly found out (thanks to os.path.abspath).
the whole problem arose because i want to move my project to a package
(there are way to many files now for 1 folder). i thought quite a while
about and now want to use this structure:
[project]
|-
I renamed that dir and tried arraydemo.py and get:
Traceback (most recent call last):
File "arraydemo.py", line 13, in
raise ImportError, 'Error Importing Pygame/surfarray or Numeric'
ImportError: Error Importing Pygame/surfarray or Numeric
Looks like things are going well with the debuggi
15 matches
Mail list logo