In general, the vowel sounds before voiced consonants are longer than the ones before unvoiced consonants. However, I noticed several exceptions in native speakers' speech, and I noticed that vowels that are expected to be short can be lengthened. I think it's often done for emphasis, and I guess it varies from accent to accent too.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.