Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/instruments/piano.py
diff options
context:
space:
mode:
Diffstat (limited to 'instruments/piano.py')
-rw-r--r--instruments/piano.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/instruments/piano.py b/instruments/piano.py
index 127a06c..b3cd48d 100644
--- a/instruments/piano.py
+++ b/instruments/piano.py
@@ -22,6 +22,7 @@ from gettext import gettext as _
from staff import Staff
from instrument import Instrument
+import clef
class Piano(Instrument):
@@ -29,5 +30,9 @@ class Piano(Instrument):
def __init__(self):
Instrument.__init__(self)
- self.staves.append(Staff())
- self.staves.append(Staff())
+ top_staff = Staff()
+ top_staff.clef = clef.Clef()
+ bottom_staff = Staff()
+ bottom_staff.clef = clef.Clef()
+ self.staves.append(top_staff)
+ self.staves.append(bottom_staff)