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')

推荐歌曲

The Forgotten Garden
The Forgotten Garden

lo-fi,chill,2020

Охреневший завод
Охреневший завод

hard punk rock electric guitar

Aşkın İzleri
Aşkın İzleri

Piano and Violin, Acoustic guitar, slow

Tokyo Nights
Tokyo Nights

female vocals, chill

Застрял на месте (Stuck in Place)
Застрял на месте (Stuck in Place)

heartfelt anime, miku voice, nightcore

永遠愛你
永遠愛你

木吉他

Ghosts of Kyoto
Ghosts of Kyoto

traditional japanese trap hip-hop dubstep

Greatness
Greatness

Jamaican dialect pentecostal church ska reggae

初衷
初衷

cello, hip hop, trip hop, epic, violin, piano, rap song, drum kits

oh ibu
oh ibu

female vocals

Douleur enfouie
Douleur enfouie

electropop

Unlucky Serenade
Unlucky Serenade

male vocalist,jazz,hard bop,improvisation,playful,bebop,cool jazz,urban,acoustic,jazz vocals,trumpet,bass,clarinet

Job job job
Job job job

Live music, punk ska, rap nu metal, hip hop Gothic

Nothing Gold Can Stay
Nothing Gold Can Stay

Darksynth, Synthwave, Progressive metal, long vocals

Scooter metall version
Scooter metall version

Heavy metal, female vocal, major, emotional, melodic

Люблю 💖
Люблю 💖

Поп, female voice, bass, male voice, drum, drum and bass, guitar

Eyes of Jade
Eyes of Jade

deep crawling voice female punkrock japanese accent alternative rebellious