- Timestamp:
- Dec 2, 2016, 1:43:15 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
- Children:
- d554321
- Parents:
- 3d14829
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/lib/aubio/midiconv.py
r3d14829 r473ab11 17 17 _valid_notenames = {'C': 0, 'D': 2, 'E': 4, 'F': 5, 'G': 7, 'A': 9, 'B': 11} 18 18 _valid_modifiers = {None: 0, u'♮': 0, '#': +1, u'♯': +1, u'\udd2a': +2, 19 'b': -1, u'♭': -1, u'\ufffd': -2} 19 u'\U0001D12A': +2, 20 'b': -1, u'♭': -1, u'\ufffd': -2, 21 u'\U0001D12B': -2, 22 } 20 23 _valid_octaves = range(-1, 10) 21 24 if not isinstance(note, str_instances):
Note: See TracChangeset
for help on using the changeset viewer.