projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
envoi des événements NOTEON et NOTEOFF du synthé.
[minwii.git]
/
src
/
app
/
widgets
/
playingscreen.py
diff --git
a/src/app/widgets/playingscreen.py
b/src/app/widgets/playingscreen.py
index
ec96536
..
47898fa
100755
(executable)
--- a/
src/app/widgets/playingscreen.py
+++ b/
src/app/widgets/playingscreen.py
@@
-76,7
+76,7
@@
class _PlayingScreenBase(pygame.sprite.LayeredDirty, EventHandlerMixin) :
for i, rect in enumerate(self.keyboardRects) :
hue = FIRST_HUE - hueStep * i
tone = self.distinctNotes[i]
for i, rect in enumerate(self.keyboardRects) :
hue = FIRST_HUE - hueStep * i
tone = self.distinctNotes[i]
- c = Column(self, hue, rect, tone)
+ c = Column(self,
i,
hue, rect, tone)
self.add(c, layer=BACKGROUND_LAYER)
self.columns[tone.midi] = c
self.add(c, layer=BACKGROUND_LAYER)
self.columns[tone.midi] = c
@@
-94,7
+94,7
@@
class _PlayingScreenBase(pygame.sprite.LayeredDirty, EventHandlerMixin) :
EventDispatcher.dispatchEvents()
dirty = self.draw(pygame.display.get_surface())
pygame.display.update(dirty)
EventDispatcher.dispatchEvents()
dirty = self.draw(pygame.display.get_surface())
pygame.display.update(dirty)
- clock.tick(FRAMERATE)
+ clock.tick(
)#
FRAMERATE)
def stop(self) :
self._running = False
def stop(self) :
self._running = False