annotate flax/UI.py @ 326:a3267d8c498e

leave in a comment about how to offset the audio time in case your sound card is lying we didn't eventually need this because we found a good-sounding card that could report offset correctly. But if you're stuck with a card that reports offset incorrectly, you can play with this offset for a partial workaround. note that song intros will probably still be corrupted (but you could workaround that by prepending some silence)
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 18 Jun 2006 22:01:41 +0000
parents 45b12307c695
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
45b12307c695 Initial revision
drewp
parents:
diff changeset
1 # Abstract UI widgets
45b12307c695 Initial revision
drewp
parents:
diff changeset
2
45b12307c695 Initial revision
drewp
parents:
diff changeset
3 class UI(Something):
45b12307c695 Initial revision
drewp
parents:
diff changeset
4 pass
45b12307c695 Initial revision
drewp
parents:
diff changeset
5
45b12307c695 Initial revision
drewp
parents:
diff changeset
6 class Scale(UI):
45b12307c695 Initial revision
drewp
parents:
diff changeset
7 def __init__(self, start, stop, res=0.001):
45b12307c695 Initial revision
drewp
parents:
diff changeset
8 pass
45b12307c695 Initial revision
drewp
parents:
diff changeset
9
45b12307c695 Initial revision
drewp
parents:
diff changeset
10 """ unfinished
45b12307c695 Initial revision
drewp
parents:
diff changeset
11 class Button(UI):
45b12307c695 Initial revision
drewp
parents:
diff changeset
12 def __init__(self, etc)
45b12307c695 Initial revision
drewp
parents:
diff changeset
13 """