comparison skaapsteker/constants.py @ 618:72865593bdc7

Make DEBUG an environment variable.
author Jeremy Thurgood <firxen@gmail.com>
date Fri, 06 May 2011 15:20:25 +0200
parents c7c3f55554d4
children
comparison
equal deleted inserted replaced
617:2cd713ec8d59 618:72865593bdc7
7 FREQ = 44100 # same as audio CD 7 FREQ = 44100 # same as audio CD
8 BITSIZE = -16 # unsigned 16 bit 8 BITSIZE = -16 # unsigned 16 bit
9 CHANNELS = 2 # 1 == mono, 2 == stereo 9 CHANNELS = 2 # 1 == mono, 2 == stereo
10 BUFFER = 1024 # audio buffer size in no. of samples 10 BUFFER = 1024 # audio buffer size in no. of samples
11 11
12 DEBUG = True
13 12
14 EPSILON = 1e-10 13 EPSILON = 1e-10
15 14
16 # Time parameter for double key taps checked. 15 # Time parameter for double key taps checked.
17 # This is for both key down time and for gap between taps 16 # This is for both key down time and for gap between taps