projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
450c57e
)
[py] [style] add space around * in midiconv.py
author
Paul Brossier
<piem@piem.org>
Mon, 5 Nov 2018 13:01:23 +0000
(14:01 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 5 Nov 2018 13:01:23 +0000
(14:01 +0100)
python/lib/aubio/midiconv.py
patch
|
blob
|
history
diff --git
a/python/lib/aubio/midiconv.py
b/python/lib/aubio/midiconv.py
index
a6d9ce6
..
99b3c0b
100644
(file)
--- a/
python/lib/aubio/midiconv.py
+++ b/
python/lib/aubio/midiconv.py
@@
-72,7
+72,7
@@
def note2midi(note):
if len(note) not in range(2, 5):
msg = "string of 2 to 4 characters expected, got {:d} ({:s})"
raise ValueError(msg.format(len(note), note))
- notename, modifier, octave = [None]
*
3
+ notename, modifier, octave = [None]
*
3
if len(note) == 4:
notename, modifier, octave_sign, octave = note