Home
Talk1this wiki
|
Welcome to Rap Wiki. About this wiki | New pages | New files | Active users | Categories | Wiki tutorial | Help pages |
Featured Article
Riff Raff (also known as Kokayne Dawkins, or Jody Simco) is a rapper from Houston, Texas. He is most known for his affiliations with Soulja Boy via the SODMG label, as well as his work with Andy Milonakis in Three Loco. A fictionalized version of him is slated to be portrayed by James Franco in a film starring Selena Gomez and directed by Harmony Korine. Read more...
<?php
@require_once("stuff.php");
printHead("Lyrics Generator");
?>
<body>
<?php printTop("Lyrics Generator"); ?>
Ever heard a HIM (or whatever) song? If you have heard one, you have heard them all.
These lyrics are randomly generated from a list of sentence structures, which is combined with a list of valid (?) words for each position in the sentence.
The lyrics produced by this script and the <a href="lyrics.phps">source code</a> are in the public domain; you may use them for whatever you wish without any restrictions. If you do turn any of this nonsense into actual music I'd like to hear the result. People who have done so already:
- <a href="files/david_lanciani_wallace_jones.ogg">David Lanciani (music) and Wallace Jones (vocals)</a>
Let's see what we got this time...
<?php
// Sentences // #N = noun // #V = non-targeted verbs // #T = time // #P = person // #A = adjective // #W = ownership // #I = *ing-verbs // #G = targeted verbs // #L = "In " . places // #H = has/have/will // #E = emotion
$sentences = array("If #P would #G me #T", "Her #A #N, so #A", "I #H #V, for #N, #T", "#A, I #H #V for #W #A #N", "If #P would #G #N, I would #V", "Would I #V, #P would #V", "If I #V, #P is #I", "With #W #A #N, I #H #V", "#T I will #G #W #N", "In #E, I #V", "#T, forever, in #L", "#W #A #N, so #A and #A", "#A and #A, but #A like #N", "#P and #N, destined to #V", "#A, #V and #V to #V", "#A #E, #A #T", "#H I #V, I #H #V, #T", "So #A within, yet #A", "#V for #E, #A #T", "In #P, so #A and #A", "#G #N, #G me and #V", "In #L #T, I can #V", "In #L, #I #T", "For #N, I would #G her", "If #P would #V in #L", "When #P is #I", "#I in #L, so #A #T", "Me and her, in #L #T" );
// Init words $person = array("I", "you", "she", "death", "God", "time", "life", "Satan", "Jesus", "the Devil", "the Antichrist"); $who = array("my", "your", "her"); $verb = array("cry", "bleed", "drown", "die", "survive", "scream", "love", "hate", "despise", "kiss", "hope", "conceal", "awaken", "dream", "pray"); $tverb = array("cut", "kill", "fuck", "bury", "rape", "bless", "search for", "find", "discover", "resurrect", "forget", "dream of", "kneel to", "hope for", "conceal", "awaken", "trust", "pray to", "destroy", "crush", "love", "go towards"); $place = array("my grave", "your arms", "hell", "darkness", "love", "heaven", "my dreams", "your dreams","another world", "the past", "my crypt", "my tomb"); $ing = array("crying", "hoping", "falling", "dreaming", "dying", "feeling", "drawing near", "lying", "singing", "praying", "damning", "killing", "bleeding", "not caring"); $emotion = array("lust", "hope", "sorrow", "hate", "love", "trust", "darkness", "emptiness"); $has = array("will", "would", "can", "might", "shall", "could"); $time = array("tomorrow", "yesterday", "tonight", "today", "forever", "now", "October"); $noun = array("blood", "Satan", "God", "love", "hate", "death", "razorblade", "torment", "bride", "fire", "pride", "time", "hell", "sin", "bliss", "child", "girl", "sorrow", "darkness", "pain", "lust", "tonight", "flame", "eternity", "night", "wrist", "blade", "knife", "resurrection", "kiss", "spider", "princess", "queen", "king", "hope", "retreat", "trust", "eyes", "master", "slave", "funeral", "angel"); $adj = array("crying", "burning", "drowning", "loving", "tormented", "burned", "buried", "beautiful", "sweet", "young", "innocent", "blessed", "morbid", "dark", "evil", "unseen", "painful", "eternal", "sleeping", "shining", "screaming", "sharp", "lost", "missing", "final", "hidden", "peaceful", "pale", "forgetful", "dyslectic", "fragile", "malfunctioning", "fucking", "damning");
$text = "";
// Generate four verses for ($i = 0; $i < 4; $i++) { // Generate four lines for each verse for ($j = 0; $j < 4; $j++) { // Shuffle all the words around shuffle($time); shuffle($adj); shuffle($who); shuffle($noun); shuffle($person); shuffle($verb); shuffle($has); shuffle($ing); shuffle($place); shuffle($tverb);
// Select a random sentence form $sentence = $sentences[array_rand($sentences)];
// Replace markers with words
for ($t = 0; $t < 5; $t++) { $sentence = preg_replace("/\\#L/", $place[array_rand($place)], $sentence, 1); $sentence = preg_replace("/\\#G/", $tverb[array_rand($tverb)], $sentence, 1); $sentence = preg_replace("/\\#I/", $ing[array_rand($ing)], $sentence, 1); $sentence = preg_replace("/\\#N/", $noun[array_rand($noun)], $sentence, 1); $sentence = preg_replace("/\\#A/", $adj[array_rand($adj)], $sentence, 1); $sentence = preg_replace("/\\#T/", $time[array_rand($time)], $sentence, 1); $sentence = preg_replace("/\\#P/", $person[array_rand($person)], $sentence, 1); $sentence = preg_replace("/\\#W/", $who[array_rand($who)], $sentence, 1); $sentence = preg_replace("/\\#H/", $has[array_rand($has)], $sentence, 1); $sentence = preg_replace("/\\#V/", $verb[array_rand($verb)], $sentence, 1); $sentence = preg_replace("/\\#E/", $emotion[array_rand($emotion)], $sentence, 1); }
// Add the text and a newline to each line $text .= ucfirst($sentence) . "\n"; }
// Add an extra space between each verse $text .= "\n"; }
// Text has been generated
print "" . nl2br(trim($text)) . "
";?>
<?php @printPageFoot(); ?>
</body>
</html>
Featured Video

Added by RelwellBlogs
-
0
Italy - Rome
Age (23/08/88)
Italian Rap
Read more > -
Now, two of the best rappers in the genre, are Hopsin, and Eminem, both with similar "screw the world", and rage packed styles. These artists would make a killer rap, hotter than anyone out the…
Read more > -
Baby Southside presents: Establishing your music presence as a independent recording artist online this is how to get some traffic Underground hip hop recording artist/ceo/producer Baby Southside spe…
Read more > -
http://www.reverbnation.com/babyeazye @BabyEazyE
Read more >
Coming to you straight out of Compton California, meet Baby Eazy-E (E3) the second son of Eric Eazy-E Wright. E3 grew up in the rap game at an early ag…



