A ricochet can make any number of sounds, depending on whether or not it has been deformed, its speed, whether or not it is tumbling, etc. One of those sounds is the classic sound-effects whine; I've heard them on occasion.
A subsonic bullet just passing by will not make that much noise. Civil War memoires describe the .58 Minne Ball as 'whizzing' overhead.
On the other hand, anybody who's spent time in the butts can tell you that a supersonic bullet will give a sharp CRACK when it passes overhead, which is not surprising as it is producing a small but very real sonic boom like a jet fighter. The US Army issued suppressors for the Springfield rifle in the first part of the 20th century; one witness said a bullet fired down a road with telephone polls produced a series of cracks, like a snare drum. (Incidentally, this is why stories about Chuck Yeager's breaking the sound barrier are often wrong when they say that the Bell X-1 was the first man-made supersonic object. The first was a whip cracking and the second was the first supersonic bullet, probably sometime in the 1880s or so.)