[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] detectng midi events in pygame?
Hi,
See below:
On 17/12/10 05:13 PM, Brian Gryder wrote:
#--------------start miditest.py--------------
import pygame
import pygame.midi
from pygame.locals import *
[snip some code]
print "exit button clicked."
i.close()
Replace i.close() with del i
pygame.midi.quit()
pygame.quit()
exit()
#-------------- end miditest.py--------------
I don't know why i.close() fails?
Lenard Lindstrom