A lyric generator

Ask questions and get answers about how to make music in any particular way. Hardware or songwriting or whatever.
Post Reply
User avatar
jb
Goulddigger
Posts: 3624
Joined: Sat Sep 25, 2004 10:12 am
Instruments: Guitar, Cello, Keys, Uke, Vox, Perc
Recording Method: Logic X
Submitting as: The John Benjamin Band
Location: WASHINGTON, DC
Contact:

A lyric generator

Post by jb » Mon May 13, 2019 8:34 pm

http://johnorama.com/lyricize/

There’s a giant file of lyrics in Kaggle.
There’s a PHP Markov chain generator.

I hacked them together. Feel free to make your own better one, just let me use it when you do. :)

This gizmo uses the first 200,000 characters of the lyrics file, because that generates ok results without a long processing wait. And the whole file is 300MB which is bigger than my Dreamhost account will let me process so i had to make a sacrifice, I’m sorry Gary.

Increase or decrease the Order number to have the gizmo use more or less words/character in a row. I suggest just using the defaults.

You can request up to 25K characters in the return but I suggest just clicking Generate over again.

Before using anything generated by this, check Google to make sure it’s not accidentally spitting a whole line from a song at you. Happens sometimes, so don’t get too excited,

Enjoy,

JB
"Recently I've found the mic makes a difference." - AJOwens
User avatar
ujnhunter
Team Drizzy
Posts: 1375
Joined: Fri Mar 07, 2008 1:09 pm
Instruments: Bass, Keyboards, Crummy Guitar & Animal Noises (especially Donkeys)
Recording Method: Reaper 5.9x, Tascam FireOne/Behringer UMC202HD/Avid Eleven Rack/Line 6 UX2, Win 7 PC / Win 10 Laptop
Submitting as: Cock, Chth*.*, D.A.H. (Der Alter Hahn)
Pronouns: His Infernal Majesty
Location: CT, USA
Contact:

Re: A lyric generator

Post by ujnhunter » Tue May 14, 2019 8:17 am

Something isn't right... I'm just getting Beyonce' lyrics every time I press the button...
-Ujn Hunter
Photovoltaik - Free 6 Track EP - Song Fight! Liner Notes
Billy's Little Trip wrote:I must have this....in my mouth.....now.
User avatar
jb
Goulddigger
Posts: 3624
Joined: Sat Sep 25, 2004 10:12 am
Instruments: Guitar, Cello, Keys, Uke, Vox, Perc
Recording Method: Logic X
Submitting as: The John Benjamin Band
Location: WASHINGTON, DC
Contact:

Re: A lyric generator

Post by jb » Tue May 14, 2019 9:27 am

Weird. Who would've thought there's more than 200,000 characters of Beyonce lyrics.

Well, anyway, I just tweaked it so it starts from a random point somewhere in the lyric file (Which has 323,000,000 characters in it). You shouldn't get many Beyonce things now.

JB
"Recently I've found the mic makes a difference." - AJOwens
User avatar
Pigfarmer Jr
Jepsie
Posts: 697
Joined: Sat Mar 21, 2009 6:13 am
Instruments: Guitar
Recording Method: Br-900CD and Reaper to mix
Submitting as: Pigfarmer Jr, Pork Producer, Gilmore Lynette Tootle, T.C. Elliott
Location: CoMo
Contact:

Re: A lyric generator

Post by Pigfarmer Jr » Tue May 14, 2019 9:59 am

Interesting. This might have usefulness.
You can listen to or download my album for free at:
http://tcelliott.bandcamp.com/

As of 30 March 2019
Unique art entries: 148
Fights with art submission: 97
Current streak: 62

Ad astra per alia porci - Steinbeck
(To the stars on the wings of a pig.)
owl
Arianator
Posts: 203
Joined: Mon May 15, 2017 1:29 pm
Instruments: vox keys uke guitar
Recording Method: REAPER
Submitting as: Vowl Sounds, miscellaneous owl
Pronouns: she/her
Location: Madison, WI
Contact:

Re: A lyric generator

Post by owl » Tue May 14, 2019 10:08 am

Ha! Cool toy.

Maybe you should filter it on short words? I'm getting a lot of one-letter lyric lines, like "g" or "Y".

These seem surprisingly coherent:

But nothing to sense you brought me to listen to the deep blue sea
Fished a few gills in a coma dial 999
User avatar
jb
Goulddigger
Posts: 3624
Joined: Sat Sep 25, 2004 10:12 am
Instruments: Guitar, Cello, Keys, Uke, Vox, Perc
Recording Method: Logic X
Submitting as: The John Benjamin Band
Location: WASHINGTON, DC
Contact:

Re: A lyric generator

Post by jb » Tue May 14, 2019 10:41 am

owl wrote:
Tue May 14, 2019 10:08 am
Maybe you should filter it on short words? I'm getting a lot of one-letter lyric lines, like "g" or "Y".
That would be nice. Maybe someday I'll feel motivated to make it fancier. For now, just put some whiteout over those where you see them.

JB
"Recently I've found the mic makes a difference." - AJOwens
User avatar
AJOwens
Lovatic
Posts: 786
Joined: Mon Jul 20, 2009 6:50 am
Instruments: bass, guitar, keyboards, drums, flute
Recording Method: Reaper, Reason Adapted, M-Audio 1010LT + 2496 (Windows XP)
Submitting as: James Owens
Location: Ottawa, Canada

Re: A lyric generator

Post by AJOwens » Fri May 17, 2019 8:14 am

I feel like I want to seed this with the current SongFight title... That would probably get me writing again. I tend to work from the lyrics to the music, but by the time I come up with lyrics, the fight's over.
Post Reply