Try a different source like dvd player and play music CD.
If the crackling still there then something on your speakers voice coil is loose/damage.
If the crackling disappear then it's you're sound card. try updating the drivers. You may need to reinstall the OS and audio driver first and then check for crackling noise.
Check your connection as well, It may just be loose connection.