X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/8107325baba9dacf2d7721192c981714a262dc09..967c3023786aaf8753d5a7597c4a418d95807c5b:/src/app/config.py?ds=inline diff --git a/src/app/config.py b/src/app/config.py index 34a5f7f..2482512 100755 --- a/src/app/config.py +++ b/src/app/config.py @@ -28,6 +28,45 @@ DEFAULT_MIDI_VELOCITY = 96 SONG_FILE_PATH = '../../chansons' +INSTRUMENTS = ( + {'name' : 'accordeon', + 'bank' : 0, + 'preset' : 23 + }, + {'name' : 'celesta', + 'bank' : 0, + 'preset' : 8 + }, + {'name' : 'flute', + 'bank' : 0, + 'preset' : 73 + }, + {'name' : 'guitare', + 'bank' : 0, + 'preset' : 24 + }, + {'name' : 'orgue', + 'bank' : 0, + 'preset' : 19 + }, + {'name' : 'piano', + 'bank' : 0, + 'preset' : 0 + }, + {'name' : 'tuba', + 'bank' : 0, + 'preset' : 58 + }, + {'name' : 'violon', + 'bank' : 0, + 'preset' : 40 + }, + {'name' : 'violoncelle', + 'bank' : 0, + 'preset' : 42 + }, +) + # cuisine : ne pas modifier _here = os.path.abspath(__file__).split(os.path.sep)[:-1] SONG_FILE_PATH = SONG_FILE_PATH.split('/')