Displaying 1 result from an estimated 1 matches for "image_sound".
2006 Apr 20
1
Ogg Vorbis questions
...Bit/sec, Ogg Vorbis
has trouble with "S" sounds. I thought it would be smarter to generate such
sounds using a white noise generator coupled with a FIR filter, than using
MDCT. Or maybe it is a problem in the encoder? What do you think?
Also see:
http://www.turbocat.net/~hselasky/math/image_sound/
A white noise generator is as simple as this:
#define PRIME 0xffff1d /* a special prime number */
/* outputs 24-bit signed samples */
static int32_t
get_white_noise(void)
{
static u_int32_t white_noise_rem = 1;
u_int32_t temp;
if (white_noise_rem & 1) {
white_noise_re...