projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction du path pour les chansons.
[minwii.git]
/
src
/
minwii
/
config.py
diff --git
a/src/minwii/config.py
b/src/minwii/config.py
index
f98238b
..
f45ef84
100755
(executable)
--- a/
src/minwii/config.py
+++ b/
src/minwii/config.py
@@
-10,6
+10,7
@@
import pygame
import os.path
_here = os.path.abspath(__file__).split(os.path.sep)[:-1]
import os.path
_here = os.path.abspath(__file__).split(os.path.sep)[:-1]
+
def _computePath(path) :
path = path.split('/')
path = _here + path
def _computePath(path) :
path = path.split('/')
path = _here + path
@@
-38,7
+39,7
@@
MIDI_VELOCITY_RANGE = (64, 127)
MIDI_PAN_RANGE = (32, 96)
MIDI_VELOCITY_WRONG_NOTE_ATTN = 0.5
MIDI_PAN_RANGE = (32, 96)
MIDI_VELOCITY_WRONG_NOTE_ATTN = 0.5
-SONG_FILE_PATH = _computePath('../
../
chansons')
+SONG_FILE_PATH = _computePath('../chansons')
INSTRUMENTS = (
{'name' : 'accordeon',
INSTRUMENTS = (
{'name' : 'accordeon',
@@
-84,4
+85,4
@@
INSTRUMENTS = (
)
for i in INSTRUMENTS :
)
for i in INSTRUMENTS :
- i['octave'] = i.get('octave', 0)
\ No newline at end of file
+ i['octave'] = i.get('octave', 0)