Kero Kero Bonito Flamingo Midi -

# Add melody to track (track 0, channel 0, volume 100) for i, pitch in enumerate(melody): midi.addNote(track, channel, pitch, time + sum(rhythm[:i]), rhythm[i], 100)

# Write to file with open("flamingo_kkb_style.mid", "wb") as f: midi.writeFile(f) Kero Kero Bonito Flamingo Midi

# Create a MIDI file with 1 track track = 0 channel = 0 time = 0 # start at beat 0 duration = 0.5 # eighth note default tempo = 128 # BPM (KKB style is upbeat) # Add melody to track (track 0, channel

from midiutil import MIDIFile import random volume 100) for i

LEAVE A REPLY

Please enter your comment!
Please enter your name here