Why does my computer make a weird buzzing noise when i pause something?

I have a Lenovo windows 8 laptop and when ever I use Netflix or play music it makes a strange buzzing noise for a few seconds. Sometimes it just buzzes when I shut it, can someone tell me why it does this. I got my laptop earlier this year and this has started recently.

Does the noise come from within the laptop or the speakers?