]> git.donarmstrong.com Git - lilypond.git/blobdiff - notation.py
* ikebana.py (NotationApplication.create_window): add zoom.
[lilypond.git] / notation.py
index a010b57d4274afd4da78d4d3bb4cc27e9d0d7b17..1efad94862cc50c3d9788ca76becb9340c99c896 100644 (file)
@@ -22,6 +22,9 @@ clefsetting = """
        (make-property-set 'middleCPosition 0) 'Staff)
 """
 
+server = 'maagd'
+# server = 'localhost'
+
 lilypond_input_log_file = open ("input.log", 'w')
 
 def talk_to_lilypond (expression_str):
@@ -31,7 +34,7 @@ def talk_to_lilypond (expression_str):
         lilypond_input_log_file.flush ()
     
     sock = socket.socket (socket.AF_INET)
-    address = ("localhost", 2904)
+    address = (server, 2904)
     sock.connect (address)
     sock.send (expression_str, socket.MSG_WAITALL)