, 2011 at 2:43 PM, Greg Ewing greg.ew...@canterbury.ac.nzwrote:
Brian Gryder wrote:
I wrote this simple drum pad program with pygame and the lag between key
presses and the start of the sound bugs me.
Have you tried reducing the size of the sound buffer?
Too large a buffer seems to be a known
I wrote this simple drum pad program with pygame and the lag between key
presses and the start of the sound bugs me. Can I use JACK with pygame so
there will be less latency (in the same way that SooperLooper+Jack in Ubuntu
is super fast)? Any code snippets or links to articles would be greatly
Hi,
I wrote a pygame program that play, loop and queue sounds files. My goal was
to keep it short, simple and only one file. The installation and operation
instructions are on the bottom of the file. Please see the code below and
let me know if you have any suggestions for improvement. Thank you
Hi,
I am working on a program that queues and loops sound files through one
pygame mixer channel. I want to display a message that notifies the users if
they queue the same sound file that is currently playing. How do you get the
name of the file that is currently playing?
Perhaps something like
It is in the examples subdirectory in the pygame package directory.
Unfortunately, the PortMidi with pygame.midi wraps does not have a midi
event callback option, so midi events must be polled.
Lenard Lindstrom
On 15/12/10 03:19 PM, Brian Gryder wrote:
How can I detect midi events
How can I detect midi events in pygame? I am able to detect the count of
MIDI devices and input and output device names (see program below) I'd like
to display the midi note names like C3 ON or D3 OFF. I am using the JACK
Audio Connection Kit. Any code snippets, links to articles, or suggestions
I am experimenting with playing/changing drum loops with pygame. In the
program below, beat1.wav is played when the up arrow key is pressed and
beat2.wav is played when the down arrow key is pressed. There is a
noticeable lag between the key press events and the sound changes. I am
running the
()
#--
On Sun, Dec 12, 2010 at 6:34 PM, Greg Ewing greg.ew...@canterbury.ac.nzwrote:
Brian Gryder wrote:
There is a noticeable lag between the key press events and the sound
changes.
Have you tried reducing the size of the sound buffer? It seems
that the pygame mixer
I am working on writing a metronome with Pygame.
http://www.pygame.org/project-Innep+Metronome-1594-2808.html
Here is a screenshot:
http://www.pygame.org/shots/1594.png
I am using print \a as the metronome click sound. I am using the
pygame.time.Clock() to move the position of the metronome
...@telus.net wrote:
Hi,
You have pygame.quit instead of pygame.quit() .
Lenard
Brian Gryder wrote:
Thanks for the reply Lenard, I tried your suggestion and the pitch is
still not changing as the frequency increments with the loop.
This is a strange issue. if I manually change the value
of the loop. The pgyame.display.set_mode must also come after
the pygame.init. The display is not necessary for mixer though.
Lenard
Brian Gryder wrote:
'''
How do I change the frequency of the Pygame.mixer by incrementing the
frequency value in a loop?
Please see the example below where I am
'''
How do I change the frequency of the Pygame.mixer by incrementing the
frequency value in a loop?
Please see the example below where I am trying to initialize the frequency
at 44100 and then add 2000 to the frequency each time it loops. In this
example below the pitch does not change, I really
12 matches
Mail list logo