toneMelody.ino🌳

glitch swing, stringstep, hard trap, german rap,

June 23rd, 2024suno

歌词

/* Melody Plays a melody circuit: - 8 ohm speaker on digital pin 8 created 21 Jan 2010 modified 30 Aug 2011 by Tom Igoe This example code is in the public domain. https://www.arduino.cc/en/Tutorial/BuiltInExamples/toneMelody */ #include "pitches.h" // notes in the melody: int melody[] = { NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NOTE_G3, 0, NOTE_B3, NOTE_C4 }; // note durations: 4 = quarter note, 8 = eighth note, etc.: int noteDurations[] = { 4, 8, 8, 4, 4, 4, 4, 4 }; void setup() { // iterate over the notes of the melody: for (int thisNote = 0; thisNote < 8; thisNote++) { // to calculate the note duration, take one second divided by the note type. //e.g. quarter note = 1000 / 4, eighth note = 1000/8, etc. int noteDuration = 1000 / noteDurations[thisNote]; tone(8, melody[thisNote], noteDuration); // to distinguish the notes, set a minimum time between them. // the note's duration + 30% seems to work well: int pauseBetweenNotes = noteDuration * 1.30; delay(pauseBetweenNotes); // stop the tone playing: noTone(8); } } void loop() { // no need to repeat the melody. } [end]

推荐歌曲

I want to marry you
I want to marry you

violin, piano, guitar, drums, acoustic guitar, male vocals

Angel's Temptation
Angel's Temptation

J-ROCK,Singer Male,Up-tempo,Hard Rock

I'm still standing
I'm still standing

metal the mega hard

The FitnessGram™ Pacer Test
The FitnessGram™ Pacer Test

avant-pop, dream pop, alternative R&B, ambient pop

Sunset Glow
Sunset Glow

Chill Acoustic Korean Cafe Music

Instrumental Destruction
Instrumental Destruction

metal, aggressive growls, dynamic breakdowns, nu-metal, instrumental, dynamic, complex, heavy riffs, fast drumming, complex solos

LOVE IS ELECTRIC (TOMM DROSTE)
LOVE IS ELECTRIC (TOMM DROSTE)

ambient. old cassette tape recording. raspy vocals. reverb. big hall. lofi beat.

Boomerang
Boomerang

Electropop, dance-pop, trap-pop, Dark, nu-goth pop, Ambient, Haunting Melodies

補破網
補破網

Taiwanese Hokkien, Nakasi, yueqin, emotional female Vocals, 95 BPM, Enka, Slow, Lonely

nikiDUA - Diak Hela 01
nikiDUA - Diak Hela 01

[Yé-yé], heartbeat-step, atmospheric, layered female vocal, kizomba, screams, synth, aggressive, crescendos, pop, swing

Beautiful
Beautiful

Relaxing Music - Soothing Ambient Spa Massage Music for Deep Relaxation & Meditation

Beneath the Ashes
Beneath the Ashes

jazz,vocal jazz,swing,easy listening,big band,vocal

Feel the Rhythm
Feel the Rhythm

afrobeat infectious dance-hall

payu sada-5
payu sada-5

female voice, sitar, tabla, Slow, deep, guitar, bass, romantic, violin, piano

Moonlit Dreams
Moonlit Dreams

acoustic soft gentle

Cycling Fury
Cycling Fury

electronic heavy industrial

Runaway
Runaway

male voice, pop, rock