berkziya / noisemaker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example goofy melody:

melody = [
    (['E4'], 'quarter'),          # E4
    (['D#4', 'E4'], 'eighth'),    # D#4 and E4 played together
    (['E4'], 'eighth'),           # E4
    (['B3'], 'quarter'),          # B3
    (['D4'], 'quarter'),          # D4
    (['C4'], 'quarter'),          # C4
    (['A3'], 'half'),             # A3 played for a half note duration
    (['E4'], 'quarter'),          # E4
    (['D#4', 'E4'], 'eighth'),    # D#4 and E4 played together
    (['E4'], 'eighth'),           # E4
    (['B3'], 'quarter'),          # B3
    (['D4'], 'quarter'),          # D4
    (['C4'], 'quarter'),          # C4
    (['A3'], 'half'),             # A3 played for a half note duration
    ('wait', 'whole')             # wait for a whole note duration
]

the best:

melody = [
    (['A5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['G5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['F#5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['G5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['G5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'),
    (['F5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'),
    (['E5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'),
    (['F5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'),
    (['F5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'), (['E4'], 'eighth'),
    (['E5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'), (['E4'], 'eighth'),
    (['D#5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'), (['E4'], 'eighth'),
    (['E5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'), (['E4'], 'eighth'),
    (['E5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'), (['D4'], 'eighth'),
    (['D5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'), (['D4'], 'eighth'),
    (['C#5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'), (['D4'], 'eighth'),
    (['D5'], 'eighth'), (['A4'], 'eighth'), (['F4'], 'eighth'), (['D4'], 'eighth'),
    (['A5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['G5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['F#5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['G5'], 'eighth'), (['D5'], 'eighth'), (['A#4'], 'eighth'), (['G4'], 'eighth'),
    (['A#5'], 'eighth'), (['D#5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth'),
    (['A5'], 'eighth'), (['D#5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth'),
    (['G#5'], 'eighth'), (['D#5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth'),
    (['A5'], 'eighth'), (['D#5'], 'eighth'), (['C5'], 'eighth'), (['A4'], 'eighth')
]

About

License:MIT License


Languages

Language:Python 100.0%