X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/16451ecd6dce528312a807394e77f1a832763e03..18944a0196254fc2c01f416e4f39b8511ee6eb19:/src/minwii/config.py diff --git a/src/minwii/config.py b/src/minwii/config.py index 6538f16..eada9b9 100755 --- a/src/minwii/config.py +++ b/src/minwii/config.py @@ -41,6 +41,7 @@ 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.set('playingscreen', 'SCREEN_RESOLUTION', '(1024, 768)') conf.add_section('locations') conf.set('locations', 'notes_font_file', _computePath('fonts/Arial Unicode.ttf')) @@ -65,6 +66,7 @@ MIDI_VELOCITY_RANGE = str2IntTuple(conf.get('playingscreen', 'MIDI_VELOCITY_RANG 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') +SCREEN_RESOLUTION = str2IntTuple(conf.get('playingscreen', 'SCREEN_RESOLUTION')) SONG_FILE_PATH = conf.get('locations', 'SONG_FILE_PATH') LOGS_DIR = conf.get('locations', 'LOGS_DIR')