
Beep Boop
funk, rock, pop, electro, electronic
July 26th, 2024suno
歌词
import numpy as np
from music21 import note, pitch, stream, duration
# Define some constants
NOTE_DURATIONS = [1] * 16 # All notes last for one beat
NOTE_VALUES = ['C4', 'E4', 'G4'] # Sequence of three notes (C, E, G)
NOTE_OCTAVES = [4] * 3 # Notes are all in the fourth octave
# Create a stream to hold our musical sequence
s = stream.Stream()
# Define the function to generate the note sequence
def gen_note_seq(length):
seq = []
for _ in range(length // 3):
for pitch_value in NOTE_VALUES:
note_obj = note.Note(pitch.Value(pitch_value), quarterLength=NOTE_DURATIONS[0])
seq.append(note_obj)
return seq
# Generate the musical sequence
note_seq = gen_note_seq(16)
# Add the notes to our stream
for note_obj in note_seq:
s.insert('begin', note_obj)
# Render the music21 Stream object as a MIDI file
s.write('midi', fp='song.mid')
推荐歌曲

Bad Day Blues
metal, nu metal, robotic

Mi camino hacia la madurez
dark synthpop

Det blev mitt livs parodi. - Zita(Zoo)Zassy Full Song NV 2
female singer, strange hit, pop rock
Tech Hub Mirage
electronic,electronic dance music,drum and bass,jump-up,neurofunk

Brave Yet Reluctant
pop rhythmic introspective

Sex has never been binary
Dr. Vanessa Heggie, clear woman vocals, calm glitch house with soft beats

Jade Harmonies
ethereal symphonic classical chinese

Black Holes
psytrance, euphoric,

Bekleyemiyorum
slow, sad dramatic, sad epic music with viola, violin musical instrument and clarinet musical instrument.

Girl in my Dreams v2
garage rock grunge psychedelic male vocals shoegaze

non ho dormito bene
italiano Hypnagogic Swamp Blues

Stahlwerk
german metal, dark male voice, children choirs, mixed with grunge

あばたもえくぼ 3
heartfelt emo

Nightlights
guitar bass beats contemporary rnb rhythm instrumental pop piano

Voices of Change
city pop

Broken Mirror
metalcore

Oh Mama, Mistakes We Made
Soul black

Childhood Pictures
melancholic melodic lo-fi
