Saturday, September 23, 2006
FFT Implementations
Embededded systems article on FFT
http://www.embedded.com/columns/showArticle.jhtml?articleID=172302493
Embedded Systems article on voice enhancements
By Perry Peiyuan He and Roman Anthony Dyba, Freescale Semiconductor Inc., Courtesy of Network Systems Designline
Sep 6 2006 (2:21 AM)
URL: http://www.embedded.com/showArticle.jhtml?articleID=192501961
Friday, August 18, 2006
Understanding the measurement of sound intensity in decibels (dB)
Sound intensity is frequently expressed in terms of decibels (dB). The decibel (1/10 of a Bel) was named in honour of Alexander Graham Bell. It expresses the logarithm to the base 10 of
the ratio between two sound intensities or (sound pressures)2.
The
internationally recognised reference standard intensity for sound is 10-12
watts per m2 which corresponds to a sound pressure of 2.10-5
N/m2 (or Pascal). For a pure tone at 1000 Hz this is close to the
threshold of hearing for young healthy adults.
style='mso-bidi-font-weight:normal'> | dB | Sound pressure (N/m2; | Relative sound |
Jet aeroplane, 80 ft from tai; hair cell damage | 120 dB | 20 | 10-6 |
Busy traffic, shouting | 80 dB | 2.10 -1 | 104 |
Conversational speech | 60 dB | 2.10 -2 | 103 |
Residential area at night | 40 dB | 2.10 -3 | 102 |
Whisper at 5ft | 20 dB | 2.10 -4 | 101 |
Threshold for hearing 1000 Hz young adult | 0 dB | 2.10 -5 | 1.0 |
Wednesday, July 19, 2006
MPEG Audio
- Till 1.5 MBPS
- Layer 3 (MP3)
- Layer 1 & 2 can be split and do not contain highjacked data
- Layer 3 decodes layer 1 & layer 2 data
- Supports Lower Sampling Rate
Compliance - ISO/IEC 13818-4 : 2004(E)
Steps for Mp3 Encoder
1. Break Down Stream into Frames
2. Split into Subbands - determine its "spectral energy distribution."
3. Take Encoding bitrate, compare freq. spread for each frame with human psychoacoustics (reference table) Allocate bits
* Borrow bits from Reservoir if needed
4. Huffman coding -lossless - lookup to do bit substitution
Steps for Mp3 Decoder
1. examining the bitstream of header and data frames for spectral components and the side information stored alongside them
2. reconstructing this information to create an audio signal.
Mp3 - Imperciability
1. While certain frequencies may not be distinctly perceptible, their cumulative effect contributes to the overall "presence" and ambience of recorded music. may not be distinctly perceptible, their cumulative effect contributes to the overall "presence" and ambience of recorded music.
2. Joint Stereo - One ear better than the other
Misc Info
* MPEG1 Frame - always 1,152 samples per frame
o 44.1Khz Sampling = 26.12ms (38.46... fps aka frames per second
* FrameSize (bytes) = 144 * BitRate / (SampleRate + Padding)
o 44.1Khz Sampling + 128kbps -> FrameSize = 144 * 128000 / (44100 + 0) = 417.96 bytes
Links
* How MP3 Works: Inside the Codec - http://www.mp3-converter.com/mp3codec/
* For more information on psychoacoustics, read any of the excellent papers on the subject at www.cpl.umn.edu/auditory.htm
* www.mp3-tech.org/
* www.iso.ch.
Human Ear
Peak Sensitivity ~ 2K to 4K
90dB dynamic Range
Friday, April 07, 2006
An efficient method of Huffman decoding for MPEG-2 AAC and its performance analysis
An efficient method of Huffman decoding for MPEG-2 AAC and its performance analysis Jae-Sik Lee Jong-Hoon Jeong Tae-Gyu Chang This paper appears in: Speech and Audio Processing, IEEE Transactions on |
| Abstract This paper presents a new method for Huffman decoding specially designed for the MPEG-2 AAC audio. The method significantly enhances the processing efficiency of the conventional Huffman decoding realized with the ordinary binary tree search method. A data structure of one-dimensional array is newly designed based on the numerical interpretation of the incoming bit stream and its utilization for the offset oriented nodes allocation. The Huffman tree implemented with the proposed data structure allows the direct computation of the branching location, eliminating the need for the pipeline-violating "compare and jump" instructions. The experimental results show the average performance enhancement of 67% and 285%, compared to those of the conventional binary tree search method and the sequential search method, respectively. The proposed method also shows slightly better processing efficiency, while requiring much less memory space, compared even with those up-to-date efficient search methods of Hashemian and its variants. |