be to route it through alsa.
> http://jackaudio.org/routing_alsa
>
> Here is the jack plugin for alsa...
> http://alsa.opensrc.org/Jack_%28plugin%29
>
>
>
> Have you tried changing the to use key down event? Since there is latency
> from when you hit the key,
you.
On Wed, Feb 16, 2011 at 2:43 PM, Greg Ewing wrote:
> 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 bu
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
ap
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 L
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 t
ote:
> Hi Brian,
>
> The pygame midi.py example has an input event display mode.
>
> python -m pygame.examples.midi -i
>
> 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,
"""
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 sugge
pygame.display.update()
elif event.type == QUIT:
exit()
#------
On Sun, Dec 12, 2010 at 6:34 PM, Greg Ewing wrote:
> Brian Gryder wrote:
>
> There is a noticeable lag between the key press eve
"""
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
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 met
rom 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.
>>
>>
ygame.mixer.quit
> for each pass 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 Py
'''
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
13 matches
Mail list logo