diff bcf2000.py @ 400:b2858c2d4a4d

aft() has smooth arg; workaround for CC writing poor subterms
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 17 Jun 2007 02:20:17 +0000
parents f5a75dbe96cd
children 8713617cc08e
line wrap: on
line diff
--- a/bcf2000.py	Sat Jun 16 19:12:48 2007 +0000
+++ b/bcf2000.py	Sun Jun 17 02:20:17 2007 +0000
@@ -29,8 +29,10 @@
                89 : "button-corner1", 90 : "button-corner2",
                91 : "button-corner3", 92 : "button-corner4",
                }
-               
-    def __init__(self, dev="/dev/snd/midiC1D0"):
+
+    def __init__(self, dev="/dev/snd/midiC0D0"):
+        """device was usually /dev/snd/midiC1D0 but then it showed up
+        once as C0D0. It should be autodetected"""
         self.devPath = dev
         self.dev = None
         self.lastValue = {} # control name : value