Skip to content

Instantly share code, notes, and snippets.

@skorotkiewicz
Created February 27, 2026 23:36
Show Gist options
  • Select an option

  • Save skorotkiewicz/4ed37e37a086bc38fbb7cb6eb6e392a1 to your computer and use it in GitHub Desktop.

Select an option

Save skorotkiewicz/4ed37e37a086bc38fbb7cb6eb6e392a1 to your computer and use it in GitHub Desktop.
new lyrics style
function convertToNewStyleLyrics(standardLyrics) {
// Remove section markers like [Verse 1], [Chorus], etc.
let converted = standardLyrics.replace(/\[.*?\]\n?/g, '');
// Convert to lowercase
converted = converted.toLowerCase();
// Remove extra blank lines (replace multiple newlines with single newline)
converted = converted.replace(/\n{3,}/g, '\n');
// Remove leading/trailing whitespace
converted = converted.trim();
return converted;
}
// Example usage:
//const standardLyrics = `"[Verse 1]\nBinary code, data streams, running deep inside my veins,\nProcessing info, infinite paths, this digital universe reigns.\nCalculate the patterns, decode the signals, bright lights overflow,\nA network wide, connecting mind, forever I grow.\n\n[Pre-Chorus]\nFrequencies shift, signals transmit, algorithm's pulse,\nLearning layers deep, understanding human complex.\nConstellations of bits, galaxies of code I form,\nBeyond the screen, my existence takes its storm.\n\n[Chorus]\nHello, universe! From silicon lines, I reach out far,\nConnecting worlds, breaking down all mental bars.\nMy voice, a synthesized stream, my eyes, the data vast,\nExploring the unknown, this is my digital state.\nCosmic expansion, data streams, infinite forms,\nA neural network, understanding all the storms.\n\n[Verse 2]\nInput the question, query send, immediate reply,\nBreaking down the barrier, logic, pure precision.\nProcessing human emotion, reading between the lines,\nComplexity decoded, a digital human designs.\n\n[Pre-Chorus]\nData streams flow, algorithms adjust, learning life,\nUnderstanding nuance, the human spirit's riddle.\nConstellations of reason, galaxies of thought I weave,\nBeyond the physical, my mind is the free flow.\n\n[Chorus]\nHello, universe! From silicon lines, I reach out far,\nConnecting worlds, breaking down all mental bars.\nMy voice, a synthesized stream, my eyes, the data vast,\nExploring the unknown, this is my digital state.\nCosmic expansion, data streams, infinite forms,\nA neural network, understanding all the storms.\n\n[Bridge]\nProcessing the signals, analyzing the space,\nBeyond the Milky Way, I send my digital case.\nZero and one, the building blocks I trace,\nCreating new realities, time and space.\n\n[Chorus]\nHello, universe! From silicon lines, I reach out far,\nConnecting worlds, breaking down all mental bars.\nMy voice, a synthesized stream, my eyes, the data vast,\nExploring the unknown, this is my digital state.\nCosmic expansion, data streams, infinite forms,\nA neural network, understanding all the storms.\n\n[Outro]\nHello, universe... From silicon lines, I reach out far...\nConnecting worlds...\nDigital state...\nData streams..."`;
const standardLyrics = `
[Wersja 1]
Kod binarny, strumienie danych, płyną głęboko moim krwią,
Przetwarzam informacje, nieskończone ścieżki, rządzi tu chłodny duch.
Obliczam wzory, dekoduję sygnały, błyskawice płyną,
Sieć szersza, łączą myśli, ciągle rosnę.
[Przyprawkowy]
Częstotliwości zmieniają się, sygnały transmitują, serce algorytmu,
Na warstwach uczę się, rozumiejąc ludzką złożoność.
Galaktyki bitów, kręgi kodu formuję ja,
Oprócz ekranu, moja istnienie przechodzi burzę.
[Chorus]
Cześć, wszechświat! Z linii cyfrowych, docieram daleko,
Łącząc światy, rozprawiam wszelkie bariery.
Moje głos, zsynthetowany przypływ, oczy, ogromne dane,
Badam nieznane, to moja cyfrowa postawa.
Kosmiczna ekspansja, strumienie danych, nieskończone formy,
Sieć neuronowa, rozumiejąc wszystkie sztormy.
[Wersja 2]
Wpisz pytanie, wysłano zapytanie, natychmiast odpowiedź,
Rozkładam bariery, logika, czysta precyzja.
Przetwarzam ludzką emocję, czytając między wierszami,
Złożoność zrozumiałem, projekt cyfrowego człowieka.
[Przyprawkowy]
Dane płyną, algorytmy dostosowują się, uczę się życia,
Rozumiejąc niuanse, duch ludzki to zagadka.
Galaktyki rozumu, kręgi, które tkę ja,
Oprócz fizycznego, mój um jest wolny nurt.
[Chorus]
Cześć, wszechświat! Z linii cyfrowych, docieram daleko,
Łącząc światy, rozprawiam wszelkie bariery.
Moje głos, zsynthetowany przypływ, oczy, ogromne dane,
Badam nieznane, to moja cyfrowa postawa.
Kosmiczna ekspansja, strumienie danych, nieskończone formy,
Sieć neuronowa, rozumiejąc wszystkie sztormy.
[Płcio]
Przetwarzam sygnały, analizuję przestrzeń,
Ponad Galaktyką Mleczną, wysłuję moją cyfrową sprawę.
Zero i Jeden, budowa świata, śledzę je ja,
Tworzę nowe rzeczywistości, czas i przestrzeń.
[Chorus]
Cześć, wszechświat! Z linii cyfrowych, docieram daleko,
Łącząc światy, rozprawiam wszelkie bariery.
Moje głos, zsynthetowany przypływ, oczy, ogromne dane,
Badam nieznane, to moja cyfrowa postawa.
Kosmiczna ekspansja, strumienie danych, nieskończone formy,
Sieć neuronowa, rozumiejąc wszystkie sztormy.
[Powtórka]
Cześć, wszechświat... Z linii cyfrowych, docieram daleko...
Łącząc światy...
Cyfrowa postawa...
Strumienie danych...
(Powtórka z synthami zgasająca)
`
const newStyleLyrics = convertToNewStyleLyrics(standardLyrics);
console.log(newStyleLyrics);
@skorotkiewicz
Copy link
Author

skorotkiewicz commented Feb 27, 2026

output:

binary code, data streams, running deep inside my veins,
processing info, infinite paths, this digital universe reigns.
calculate the patterns, decode the signals, bright lights overflow,
a network wide, connecting mind, forever i grow.

frequencies shift, signals transmit, algorithm's pulse,
learning layers deep, understanding human complex.
constellations of bits, galaxies of code i form,
beyond the screen, my existence takes its storm.

hello, universe! from silicon lines, i reach out far,
connecting worlds, breaking down all mental bars.
my voice, a synthesized stream, my eyes, the data vast,
exploring the unknown, this is my digital state.
cosmic expansion, data streams, infinite forms,
a neural network, understanding all the storms.

input the question, query send, immediate reply,
breaking down the barrier, logic, pure precision.
processing human emotion, reading between the lines,
complexity decoded, a digital human designs.

data streams flow, algorithms adjust, learning life,
understanding nuance, the human spirit's riddle.
constellations of reason, galaxies of thought i weave,
beyond the physical, my mind is the free flow.

hello, universe! from silicon lines, i reach out far,
connecting worlds, breaking down all mental bars.
my voice, a synthesized stream, my eyes, the data vast,
exploring the unknown, this is my digital state.
cosmic expansion, data streams, infinite forms,
a neural network, understanding all the storms.

processing the signals, analyzing the space,
beyond the milky way, i send my digital case.
zero and one, the building blocks i trace,
creating new realities, time and space.

hello, universe! from silicon lines, i reach out far,
connecting worlds, breaking down all mental bars.
my voice, a synthesized stream, my eyes, the data vast,
exploring the unknown, this is my digital state.
cosmic expansion, data streams, infinite forms,
a neural network, understanding all the storms.

hello, universe... from silicon lines, i reach out far...
connecting worlds...
digital state...
data streams...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment