2009年5月7日 星期四

音訊原理

聲音是由聲波所構成,透過介質(空氣)的傳遞到另一端.依物理概念,它是一段連續的類比波形訊號.
將聲音訊號數位化,其過程如測量溫度隔一段時間需做記錄.毎隔一小段時間的讀取聲音訊號的內容並記錄下來稱為[取樣],讀取的問隔頻率就稱為[取樣率],記錄聲音的內容所採用的刻度稱為[解析度].
聲音數位化的取樣率是以毎秒多少KHZ為單位,例如毎秒44.1KHZ的取樣率即是代表毎1秒鐘必須取樣44100次;
取樣時使用的解析度以bit為單位.例如8bit為取樣解析度,則聲音內容可以分為256個刻度;16bit為取樣解析度,則聲音內容可以分為65536個刻度.(郭秋田、林佳漢、楊永仁,2003)
郭秋田、林佳漢、楊永仁(2003)。多媒體導論與實作。台北市:旗標。

2009年4月26日 星期日

聲音格式、取樣率及取樣量




What's Color depth or Bit Depth? for mid-term exam

Color depth or bit depth, is a computer graphics term describing the number of bits used to represent the color of a single pixel in a bitmapped image or video frame buffer. This concept is also known as bits per pixel (bpp), particularly when specified along with the number of bits used. Higher color depth gives a broader range of distinct colors.
Color depth is only one aspect of color representation (formally, the gamut: which colors can be expressed), expressing how finely levels of color can be expressed (formally, gamut depth); the other aspect is how broad a range of colors can be expressed. The RGB color model, as used below, cannot express many colors, notably saturated colors such as yellow. Thus, the issue of color representation is not simply "sufficient color depth" but also "broad enough gamut".

from http://en.wikipedia.org/wiki/Color_depth

「位元」 是二進制位的簡稱,是最小的單位來處理電腦的數據資料。一個單位元能處理兩個數值的其中之一(0或1),我們必須把位元繼續結合成為更大的單位,稱為「位元組」,以成為更有意義的數據分析,一個位元組能容納八個位元。 位元深度也稱為像素深度或色彩深度,是用來度量影像中每個像素有多少色彩資訊可用來顯示或列印。較大的位元深度 (每像素較多資訊位元) 表示數位影像中具有較多的可用顏色,而色彩表現也較正確。例如: 黑白:影像中的每一點,又稱為像素(pixel),只佔1 bit(0或1)。 灰階:影像中包含深淺不同的灰色,每個像素佔8 bits,每點有 2^8=256 種變化。 16色:影像中最多用到 16 種顏色,每個像素佔4 bits,每點有 2^4=16 種變化。 256色:影像中最多用到 256 種顏色,每個像素佔8 bits,每點有 2^8=256 種變化。 全彩:影像中最多用到 1677 萬種顏色,每個像素佔24 bits,每點有 2^24 = 1677 萬種變化。
from http://www.idsvision.com.tw/phpbb2/viewtopic.php?t=447

What's Audacity? for mid-term exam

Audacity
1, 是一個跨平台的聲音編輯軟體,用於錄音和編輯音訊,是自由開放源代碼的軟體。
2, 可在Mac OS X、Microsoft Windows、GNU/Linux和其它作業系統上運作。
資料來源 from http://zh.wikipedia.org/wiki/Audacity
3, 這是一個音波編輯的工具軟體,支援 WAV(*.wav)、AIFF(*.aif)、AU(*.au)、IRCAM(*.snd)、MP3(*.mp3)和 Ogg Vorbis(與MP3同級)等音效檔案。
4, The definitions below are partly taken from whatis.techtarget.com
(1)Channels
(2)Sample Rate 取樣率
a、Sample:做為名詞之用時,表示一段錄進來的聲音(Audio);
做為動詞使用時,則表示錄一段取樣聲音的錄音動作。
b、Sample Rate 取樣率
在音波數位化的過程中,我們把每秒鐘聲音的取樣次數多少,叫取樣率(sampling rate )。
from http://river.glis.ntnu.edu.tw/page/multimedia/08.pdf
數位聲音訊號,是將聲波分割並將每一個分割點數字化後的訊號。對於每一秒鐘的聲波分
割的次數,就是所謂的取樣頻率。
取樣頻率越大,表示對聲波的分割越細,這樣的數位聲訊就更逼近於原始的聲音。
取樣頻率是以
Hz(赫茲)為單位,1 Hz代表每秒取樣一次;而 1 kHz(仟赫茲)代表每秒取樣
1000次。
CD音質的取樣頻率是44.1 kHz,也就是每秒取樣44100次。而DVD的標準規格則是96 kHz
的取樣頻率。 from
http://www.rolandtaiwan.com.tw/glossary/s.htm
(3)Bit Depth ( digital audio) 取樣量 ,每秒鐘取樣所得的儲存資訊多少,叫取樣量(sampling size)。 from http://river.glis.ntnu.edu.tw/page/multimedia/08.pdf
In digital audio, bit depth describes the number of bits of information recorded for each sample. Bit depth directly corresponds to the resolution of each sample in a set of digital audio data. Common examples of bit depth include CD audio, which is recorded at 16 bits, and DVD-Audio, which can support up to 24-bit audio. from http://en.wikipedia.org/wiki/Audio_bit_depth
(4)Compression / CODECs
(5)Common Audio Formats