Artificial intelligence (AI) has written screen plays, composed music and now, the technology has learnt to rap.
Robbie Barrat, a 17-year-old from West Virginia, taught a bot to write its own rap lyrics by feeding it more than 6,000 Kanye West lyrics.
The digital MC was developed using open-source software and a laptop, and after a week of rearranging West’s lyrics to make new songs, the AI is now able to create original raps.
Scroll down for videos
Robbie Barrat, a 17-year-old from West Virginia, taught a bot to write its own rap lyrics by feeding it more than 6,000 Kanye West (pictured) lyrics. The digital MC was developed using open-source software and a laptop
Although AI systems are usually created for research, Barrat‘s is a result of a dare – his high school programming club debated if it was possible for AI to perform tasks better than humans, reports Dave Gershgorn with Quartz.
And within a week, Barrat had a rapping robot.
Barrat told Quartz that he taught himself to code, as he lives on a rural farm in West Virginal, many miles away from the nearest tech hub, and used open-source software and his own Linux laptop to complete the project.
Although he is learning how to use Google’s TensorFlow, Barrat used PyBrain to train the neural network.
LYRICS TO AI MADE RAP SONG
They steal your whole sound, that’s a Real World Challenge
You an addict of cheating but I took the charge
Stop running up my money tall, height advantage
Ohhhhh, ohhhh; ohhh you too much to handle in one package
Not now but right now, you know… I had to go downtown
Shorty come and fix you up like bobby brown
Then he help me get my back up in this part of town
I can make you come and fix you up like bobby brown
Driving in the sky, you got a new crib to hold down
Sh**’s about to go and put my mack berry down
So dangerous, but it’s all terrific
I done wore designers I won’t get specific
It seem like fine hoes is hard to get some traffic
He claim her heart colder than the music
Man I wish I had to play in traffic
You know when I heard it’s the way we was magic
When see me with a spit like a paraplegic
Wonder why it so hard not to play in traffic
Really Doe got a hell of a romantic
Lifestyles of the egotistic
The Delorean parked in front of that wack sh**
The doctor don’t wanna hear that official sh**
I’m in pajamas but I just want my credit
If this party ain’t got it I’m killing this sh**
There’s only one girl on my Brad Pitt
Keep it up some god damn it I’m killing this sh**
And I’m feeling smooth as the chorus hit
My homie called me like I owe her sh**
But I need a girl who barely bra fit
Me and Common is back on my Brad Pitt
Man, you don’t get caught up with stupid sh**
Then she cut from a girl who barely bra fit
How it feel to wake up with on some silly sh**
I wish you could get is a whole city lit
That’s where I see they got it I’m killing this sh**
Yeah you got a Benz and they ain’t done sh**
Reality is catching up with stupid sh**
Maybe that’ll work when you check, they ain’t done sh**
I use it as always n****, as always
Made her sit in that mother***** sideways
Oh girl your silhouette make me pull the toys
I wonder where they want her to Ruby Tuesdays
Tell me what we at a ring from Tiffany’s
Yeah, tonight I see you in my home gym
When we die, the money should’ve changed him
I’m on TV talking like it’s all in my home gym
And see Penthouse 3 where a n**** from my team
He nicknamed me K-Rock so they abbreviate him
I don’t even want to talk some sense in him
Welcome to the most and they ain’t expect from him
The next generation will be assaulting him
‘Originally it just rearranged existing rap lyrics, but now it can actually write word-by-word,’ Barrat said.
Barrat told Quartz that he also taught a neural network to write piano melodies and is attempting to teach on how to create abstract art.
A separate AI was also fed thousands of song lyrics to compose its own – but this one has a more nostalgic tone to it.
Flow Machines, a system Sony taught to make music by feeding it 13,000 samples from different genres, released a catchy pop song called ‘Daddy’s Car’ in October.
Another song was also composed by the AI called ‘The Ballad of Mr. Shadow’, which is a mashup of American songwriters such as Irving Berlin, Duke Ellington, George Gershwin and Cole Porter.
‘At SONY CSL Research Laboratory, we have created two entire pop songs composed with Artificial Intelligence, thanks to Flow Machines,’ shares SONY CSL Researcher Laboratory in a statement.
‘Flow Machines software learns music styles from a huge database of songs.’
‘Then, exploiting unique combinations of style transfer, optimization and interaction techniques, it can compose in any style.’
The parts written by Flow Machines is deemed the ‘lead sheet’, which defines the song’s tune.
Barrat told Quartz that he taught himself to code, as he lives on a rural farm in West Virginal, many miles away from the nearest tech hub, and used open-source software and his own Linux laptop to complete the project – another AI composed music that sounded like the Beatles
Benoît Carré, the human composer, was asked to arrange the entire song, which he began by selecting a style and then created the melody and harmony with a system called FlowComposer.
Once the tune was set, Carré used another system called Rechord to match some audio chunks from audio recordings of other songs to the generated lead sheets.
Then he finished the production and mixing of both songs.
Sony says ‘Daddy’s Car’ and ‘The Ballad of Mr. Shadow’ are just the beginning and expected to release a full AI-written album sometime next year.
Flow Machines, a system Sony taught to make music by feeding it 13,000 samples from different genres, released a catchy pop song called ‘Daddy’s Car’ in October
Another song was also composed by the AI called ‘The Ballad of Mr. Shadow’, which is a mashup of American songwriters such as Irving Berlin, Duke Ellington, George Gershwin and Cole Porter (pictured)
The final music videos for each song uses a serious of computer generated shapes and colours that move along with the melody.
Researchers are teaching AI different art forms, such as writing poetry and screenplays, as one recently wrote a unique script that was transformed into a short film.
In June, Sunspring debuted a short film is barely nine minutes long and is strangely captivating as it gravitates between dark and cryptic to outright hilarious, and written by an AI named Benjamin.
To produce the film, director Oscar Sharp and collaborator Ross Goodwin, an NYU AI researcher, fed dozens of scripts to a long short-term memory (LSTM) recurrent neural network that has named itself Benjamin.
Sony says ‘Daddy’s Car’ and ‘The Ballad of Mr. Shadow’ are just the beginning and expected to release a full AI-written album sometime next year. The final music videos for each song uses a serious of computer generated shapes and colors that move along with the melody
Benjamin’s training included everything from 2001: A Space Odyssey and Blade Runner to Eight Legged Freaks, and even Silver Linings Playbook.
Then, they gave it a set of prompts from the film challenge to guide the story.
During its training, Benjamin (originally named Jetson) learned to predict which letters tend to follow each other, and then which words and phrases were often seen together, Ars Technica explains.
This type of AI is better than others at predicting entire paragraphs, rather than just a few words, and can generate original sentences.
Eventually, Benjamin learned how to imitate the structure of a screenplay, including stage directions.