X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/6ff9e3af21b1f8da2eb3c322a8b590aafbb88198..11a91fe04d1d980af4c65414e73b5c3048c72cad:/src/minwii/config.py diff --git a/src/minwii/config.py b/src/minwii/config.py index 4a36201..14ec709 100755 --- a/src/minwii/config.py +++ b/src/minwii/config.py @@ -40,6 +40,7 @@ conf.set('playingscreen', 'FONT_COLOR', '(0,0,0)') conf.set('playingscreen', 'MIDI_VELOCITY_RANGE', '(64, 127)') conf.set('playingscreen', 'MIDI_PAN_RANGE', '(32, 96)') conf.set('playingscreen', 'MIDI_VELOCITY_WRONG_NOTE_ATTN', '0.5') +conf.set('playingscreen', 'IR_POSITION', 'ABOVE') conf.add_section('locations') conf.set('locations', 'notes_font_file', _computePath('fonts/Arial Unicode.ttf')) @@ -63,6 +64,7 @@ FONT_COLOR = str2IntTuple(conf.get('playingscreen', 'FONT_COLOR')) MIDI_VELOCITY_RANGE = str2IntTuple(conf.get('playingscreen', 'MIDI_VELOCITY_RANGE')) MIDI_PAN_RANGE = str2IntTuple(conf.get('playingscreen', 'MIDI_PAN_RANGE')) MIDI_VELOCITY_WRONG_NOTE_ATTN = conf.getfloat('playingscreen', 'MIDI_VELOCITY_WRONG_NOTE_ATTN') +IR_POSITION = conf.get('playingscreen', 'IR_POSITION') SONG_FILE_PATH = conf.get('locations', 'SONG_FILE_PATH') LOGS_DIR = conf.get('locations', 'LOGS_DIR')