I've been learning Danish for a while, and currently I'm stuck, because I can't quite get /g/, /b/, and /d/ right.
According to the books I have and insights from the Danes I'm in touch with, these sounds are voiceless, so your vocal cords do not vibrate when you pronounce them; they function as stops. So far so good.
However, when I listen to words like "det" and "titte", "bil" and "bakke", "gasse" and "ikke også" (not a single word, but often reduced and assimilated into [egʌs]) I cannot help but hearing them different from other voiceless instances of the sounds.
I can detect a subtle difference between the Danish "godt" and the British "god", for example, but when I try to — the way books and websites suggest — to pronounce the lenient and voiceless /g/, /b/, and /d/ in the same places, then it simply doesn't sound the same way it does when native speakers pronounce the words.
It's like the sounds are voiced, but at the same time they are not. Like there is a difference between the /g/ in "skal" (don't have any problems with that one, as far as I can tell) and the /g/ in "godt", but all sources claim that's not the case.
Edit: After reading and practicing for a while, I can tell that my main problem regarding /d/ was the fact that I—due to my ignorance—underestimated the size of the alveolar ridge, as well as the area touched by the tongue during articulation of /d/.