toneMelody.ino🌳

glitch swing, stringstep, hard trap, german rap,

June 23rd, 2024suno

Lyrics

/* 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]

Recommended

Whispers in the Night
Whispers in the Night

electronic melodic emotional dreamy

Pulse of the City
Pulse of the City

Drum and Bass, Energetic, 174 BPM, punchy kicks, snappy snares, fast hi-hats, deep, rolling bassline, spirited

Durstlöscher
Durstlöscher

synthwave, lofi, 808kit, dark

Selalu di sini
Selalu di sini

90s, metal, rock, heavy metal, hard rock, electric guitars, male vocal..

ফড়িং জোড়া
ফড়িং জোড়া

Flutes and acoustic guitar intro. (Soul, Vocal) No bit

Real Love Showers
Real Love Showers

hip-hop introspective chill

En Natt Med Skrotbilen [epa-raggarmix]
En Natt Med Skrotbilen [epa-raggarmix]

Dansband, electronic, svenska, harddance, epic piano melodies

La noche
La noche

Groovy reggaeton

Sleepless Nights
Sleepless Nights

Emo Slow Half Time

Enchanted Whimsy
Enchanted Whimsy

thinking,Quirky,mysterious,addictive cinematic piano and strings. Dark,cute,fantasy,upbeat,haunting yet comforting.

Pai
Pai

Rima hip Hop

Old grounds
Old grounds

Modern Stomp and holler soulful male vocals harmony singing

Çeşmi Siyahım
Çeşmi Siyahım

Slow Turkish Folk Music. male singer

city light
city light

drill and bass, melodious piano in moderate tempo, drill

Played Too Nice
Played Too Nice

ballad, piano,r&b,trap, rap

Echoes in the Deep
Echoes in the Deep

anthemic gregorian chant somber slow

ไม่เปลี่ยนเลย [Not Change]
ไม่เปลี่ยนเลย [Not Change]

humorous vocal, smooth soul, twisted enchanting, catchy male