Upload TMIDIX.py
Browse files9761 unmodified lines97629763976497659766976797687 unmodified lines97769777977897799780978197829783978497859786978797889789979097919792979397941300 unmodified lines110951109611097110989761 unmodified linesdescription += 'This ' + mood + ' melody has 'else:description += 'TThis drum track has '7 unmodified linesif instruments:if comp_type not in ['monophonic melody', 'drum track']:description += 'The song 'else:description += 'The melody 'if len(instruments) == 1:description += 'is played on a solo ' + instruments[0] + '.'description += '\n'else:description += 'features ' + NUMERALS[max(0, min(15, len(instruments)-1))] + ' instruments: 'description += ', '.join(instruments[:-1]) + ' and ' + instruments[-1] + '.'description += '\n'1300 unmodified lines## This is the end of the TMIDI X Python module####################################################################################9761 unmodified lines9762976397649765976697677 unmodified lines977597769777977897799780978197829783978497859786978797889789979097911300 unmodified lines110921109311094110959761 unmodified linesdescription += 'This ' + mood + ' melody has 'else:description += 'TThis drum track has '7 unmodified linesif instruments:if comp_type not in ['monophonic melody', 'drum track']:description += 'The song 'if len(instruments) > 1:description += 'features ' + NUMERALS[max(0, min(15, len(instruments)-1))] + ' instruments: 'description += ', '.join(instruments[:-1]) + ' and ' + instruments[-1] + '.'else:description += 'features one instrument: ' + instrument[0] + '.'description += '\n'1300 unmodified lines## This is the end of the TMIDI X Python module####################################################################################
TMIDIX.py+9-12