DEV Community

Cover image for My favorite Rap producers with code
Raphael da Silva
Raphael da Silva

Posted on • Updated on

My favorite Rap producers with code

I like Rap, I tried be a beatmaker at 16, in 2012 I started programming. In this article I mix Rap with programming. Let's start.

My favorite rap producers:

  • 9th Wonder.
  • Apollo Brown.
  • DJ Premier.

All these artists create boom bap beats, so they beats share a common type of music. A interface can represent this:

// Author: Raphael da Silva
interface BoomBapProducer
{
    public function makeABeat();
}
Enter fullscreen mode Exit fullscreen mode

All producers can implement the same interface:

// Author: Raphael da Silva

class 9thWonder implements BoomBapProducer
{

    public function makeABeat()
    {
        echo 'Classic soul samples.';
    }

}

class ApolloBrown implements BoomBapProducer
{

    public function makeABeat()
    {
        echo 'Hard drums and soul sample.';
    }

}

class DJPremier implements BoomBapProducer
{

    public function makeABeat()
    {
        echo 'Classic NY east coast style.';
    }

}
Enter fullscreen mode Exit fullscreen mode

I don't speak english (I try write to share ideas), please be nice with me and forgive my mistakes.

Top comments (0)