i want to programatically record sound coming out of my laptop in python. i found PyAudio and came up with the following program that accomplishes the task:
I can give an answer by not using a programmatic way.
Panel > Sound > Recording >> enabling stereo mix.
This needs a driver support.
I also found that this makes my real sound echo.
At least this solves my problem.