annotate bin/bcf_puppet_demo @ 2019:a6045f11198d
don't show a misleading TL cursor when we're viewing a song that's not the playing one
Ignore-this: 33928b4331aa09f2191b6d45e4e163a
author |
drewp@bigasterisk.com |
date |
Mon, 10 Jun 2019 23:22:06 +0000 |
parents |
7772cc48e016 |
children |
|
rev |
line source |
567
|
1 #!/usr/bin/python
|
|
2 """
|
|
3 tiny bcf2000 controller demo
|
|
4 """
|
|
5 from bcf2000 import BCF2000
|
|
6 from twisted.internet import reactor
|
|
7
|
1858
|
8
|
567
|
9 class PuppetSliders(BCF2000):
|
1858
|
10
|
567
|
11 def valueIn(self, name, value):
|
|
12 if name == 'slider1':
|
|
13 self.valueOut('slider5', value)
|
|
14
|
|
15
|
|
16 b = PuppetSliders()
|
|
17 reactor.run()
|