2012年9月16日 星期日

NX10 + LR 新體驗

最近兩三個月,NX10 上面都只奘了 30mm/f2.0 鏡頭,從固定的視角看世界,反而看到很多以前沒有注意的風光,學會放棄帶來更多收穫,用 30mm 也可以拍大景。



這張圖是信義路敦化南路路口,可惜應該先減 EV 再用 LR Brush 做 HDR,過曝的天空就算降 EV 還是灰色的,一開始失去的藍天就算用 raw 都是找不回來的。但如果先降低 EV 拍來保留天空的色彩,再用 Brush 把暗部的建築物打亮,整體就會比較接近人眼視覺。下面這張信義路捷運路面施工就是這樣做的。



畫質優、大光圈不在話下,唯一的缺點只有近距離人像對焦沒那麼準,但這問題應該在機身不在鏡頭上。



以前用 LR 主要的問題都是植物的飽滿綠色會變成螢光綠,這次發現在 Camera Calibration 把綠色的 Hue +30 就可以修正這個問題。

Hue=0
Hue=30


我現在已經非常依賴 LR 優異的銳利化來補救那些手振的瞬間,尤其那個好用的 mask。下面這張照片用 mask 47, radius 3.0, detail 0。不過看起來我手振的程度超過3個像素大小...

Sharpening = 0
Sharpening = 150


高 ISO 的照片多拍了之後,也發現只要夠亮都不是問題,頂多是損失一些動態範圍和銳利度,但是亮度不足的時候就會出現嚴重的噪點和暗部雜色,這時候 LR 的降噪在保留細節和抹除噪點取得的平衡,就遠比機身內建的好用太多。

Body JPEG
LR

很讓我討厭的暗部發紫,也發現可以用 Camera Calibration 裏面的 shadow tone 來獲得修正,搭配 Basic 裏面的整體亮度、極暗部曲線調整,就可以獲得和機身直出差不多的暗部表現。

最新的心得是拍 raw 可以獲得要不要套用鏡頭修正的彈性,這顆 30mm 的變形主要都在非常邊緣的部份,因此大多數時候都可以不需要修正,來獲得畫面中央最高的銳利度。但是當畫面邊緣有建築物的時候,修正掉擾人的變形我就覺得比較重要了。

Correction = Off
Correction = On


慢慢的把 LR 用順手,讓我對這台機器的抱怨愈來愈少,動態範圍不足、高 ISO 機身處理差、機身過度的全域性銳利化,都能用  LR 獲得大幅度的改善,而顏色漂亮這個強項,也開始學會用 Camera calibration 拉回來,像是處理 raw 太慢也能用現在超高速 (95MB/sec) 的記憶卡大幅度彌補。

真的要抱怨的,大概剩下 button to shot 的延遲有點長,讓我會錯失一些鏡頭瞬間,另外就是沒有原廠離機閃。

2012年9月1日 星期六

拍照 - 配件


1. 鏡頭
DSLR, CSC 之類的可換鏡頭機器,當然會有衝動買新鏡頭。就算是小 DC 或是手機,也都可以買到廣角、望遠的延伸鏡頭。

鏡頭第一個考量是焦段,不同焦段帶來不同視角。
拍風景就想要廣角鏡、拍人想要 85mm 大光圈鏡、拍月打鳥就想要 400mm 以上的鏡頭。
但這也不是絕對, 35mm 拍連人帶景、200mm 拍風景帶落日也都很棒。

總而言之,視角很重要。

第二是畫質,這就比較虛無飄渺。
一樣是廣角,拍建築物重視變形失真,拍風景更重視色彩表現跟銳利度
變焦鏡會想要恆定光圈 2.8 來拍低光環鏡還有方便作業
(在 A mode 光圈會隨焦段改變,我拍起來就是不順手)
喜歡拍看不出背景的人像,那焦外成像品質 (二線性、口徑蝕...etc) 和焦內的銳利度同樣重要

老話一句:「先求拍到再求好。」我是認為焦段比畫質重要的多。


2. 其他亂七八糟的配件

城市夜拍?                                              先來個單腳架吧
出現光斑或是強光下畫面灰濛濛?      你需要遮光罩甚至是助手幫你撐傘
                                                                   (老鏡比新鏡嚴重的多)
天空不夠藍?湖面會反光?                   CPL (圓形極化偏光鏡)
拍落日動態範圍不夠廣?                       除了後製,也可以上腳架、用快門線、搖黑卡
想拍流動的水?                                       一支在溼地還是很穩定的腳架、快門線、ND8 減光鏡
人像補光?室內團體照?                       閃光燈、和更多的閃光燈 + 柔光設備。

當然也是可以混合使用

單腳架 + 快門線 + 機頂閃,可以從頭頂拍攝團體運動。
上腳架  + 快門線 + CPL + 遮光罩,認真對待你的風景照。

進入燈的世界之後更是不得了,反光板、擴散板、反光傘、閃燈架 ...etc


反正,配件很重要,知道自己要拍什麼,補上實用的東西,這點最重要。

2012年7月30日 星期一

Reading - Orion Speaker


I try look into the Orion design in my own way.

First, it is a true 3-way dipole speaker to be used in a normal living room. From his analysis, normal living room has a RT60 about 500ms, Schroeder frequency is about 150Hz and the fundamental mode is about 20Hz.

The 20Hz fundamental mode is good since a dipole will not radiate energy in such low frequency thus we don't need to worry that non-audible low frequencies will shake the house. I like the fact that he uses two closed packed back-to-back woofer because the front and back sides of a cone radiate differently. Such arrangement can still be regard as a single point source as long as the distance between the two woofers is much smaller than the operating wavelength.

In terms of room modes, the longitudinal modes are not a problem if you sit at the optimal position. Such mode can be regard as the multiple reflections between the front and back walls. When you sit at the optimal position, all the front/back reflections form a dipole will cancel. The two speaker setup also keeps the beauty of symmetry in the room thus only even order modes between the side walls may be excited. Let's say the fundamental frequency of the mode between the side walls is 25Hz, this one will not be excited. The modes that will show up are 50Hz and 100Hz. The quality factor for these higher order modes are usually smaller, which means the peaks and dips are much smoother than the fundamental one. Moreover, the dipole excited the sidewall weakly thus such mode is less a problem.

In terms of mid-range and tweeter. Dipole simply shines. The dipole acoustic radiation pattern has nulls on the two sides. We can toe-in the speakers such that the null is pointed toward the specular points on the side walls. In such arrangement, no reflection will reach our ears! In reality we cannot toe-in that much otherwise the left and right channels will cross over in front of the listening position but the flavor of this technique is kept. Another smart move is to use tweeters. There will be a comb filter effect between the cone and the magnet of the mid-range driver. The null frequency will be around 1.7kHz assuming they are 5cm apart. The Orion is cross-over to the tweeter at 1.5kHz  thus the comb filter of the mid-range is not a problem. The two back-to-back tweeters with 5cm part also keep the true dipole radiation pattern till 3.4kHz. I believe anything above will be direct path dominant in a normal living room.

The three-way dipole seems to be a really good design. However, the dipole frequency response is not a flat one and equalization is a must. It is also a less efficient design. It will require a lot of effort to tune them correctly. I believe buying the build plan will be a smarter move than start from scratch.

2012年6月22日 星期五

Reading: Speaker and Room - 2

The room acoustics wiki page defines things pretty clear. There are four regions regarding the room. The first region is the frequencies below the lowest resonance frequency of the room. The second one starts from the first resonance frequency to the Schroeder frequency. Next one is a transition region and extend about two octives beyond. Lastly, it is the ray-like region.

Schroeder frequency is the critical point between ray-like behavior and room mode behavior. There's a empirical formula to derive the frequency using room volume and the RT60, the time took the signal to decay to a non-audible level, which can be measured using REW, a free software. And these two articles, Part I and Part II, give some recommendation upon using sub-woofer considering the facts about Schroeder frequency and the human capability to localize a sound source. In short, he suggest to use a 80Hz cross-over with equalization. He also pointed out that the amplitude of a room mode across the whole room will vary a lot, thus the EQ will only works at a particular listening position, or a sweet region at best.

Under the lowest mode, the room only experiences static pressure, which means open baffle speaker at this operating range will produce nothing you can hear, cause the two opposite phase waves totally cancelled in the room. We either choose a wall mount speaker to leave the backward wave outside the room or use a closed cabinet to keep the backward wave inside another small box. The latter explains why most sub-woofer are close cabinet design just in case you have a very small room.

From the first resonance frequency to the Schroeder frequency is the mode dominant operating band. Bass trap and room treatment are some tools we can use to tame the crazy null and peaks in this range. I tend to believe a normal living room with all the things you like within will decrease the quality factor of the resonance modes and leads to dull peaks and nulls. A slow variation in the frequency response may be cured by equalization but a small room with a lot of sharp peaks and dulls cannot be cured using EQ. They are so dense in spectrum thus the 1/3 octive EQ cannot catch it. Some room treatment or bass trap is must.

For the last region, the acoustic radiation pattern of the speaker matters and we will try to tame all reflections, but special effort should be put on those reside within 2ms of the direct sound,which will make the image fuzzy. Broadband absorbing panel , carpet and wall decorations will help in this region.

At last, comb filter. It is the inference from a point source in front of a flat wall. The reflected wave will constructively or destructively interfere with the original wave and result in dense peaks and nulls around low frequencies. On cure is to use a diffusive front wall (in listener's point of view). Another is a dipole speaker with optimal listening position, where your distance to the back wall is the same as the speaker to the front wall. I learned this again from Linkwitz Labs Q31. The last resort is to put the speaker right against the wall. This may introduce some unwanted room mode but some speaker really shines at this position, like Big is Better.

Regarding RT60, this article from RealTraps has a few insightful notes. The key point is that audio engineering process the sound with RT60 of the listening room in mind. For a home theater with 5.1 or 7.1 surround system, a short RT60, around 200ms~300ms is appropriate since the "echos" will comes from the satellite speakers but not the room. For most stereo music, 500ms is a good number.

Let me turn back to my one wavelength criteria. I tried to argue that when the wavelength is considerable to the room size, the far field analysis gives us little information and the coupled speaker/room combination must be considered. I feel the criteria is not that appropriate since it is enforce to have a valid large spherical Hankel function approximation but not to deal with room mode. The Schroeder frequency is the better indicator. After reading the two articles regarding Schroeder frequency, I believe that stereo sub-woofer is the way to go but the placement must be corrected. They should be placed to deliver the flattest bass response and the direct path length difference between the sub-woofer and the mid-range to the listener can be corrected by digital delay. I feel this is still a must since it will effect the time step response a lot. I want a fast bass but not listening to a bass single tone that builds up energy in the room. In such an approach, stereo sub-woofer with digital delay should keep the image good beyond 80Hz (I don't know where this number comes from) and also have a smooth bass below Schroeder frequency due to the placement.

2012年6月17日 星期日

Reading: Speaker and Room

I am thinking about to DIY my audio system and digging into the speaker design as the first step. I am intrigued by open baffle design cause people said it gives a very airy and open sound. Linkwitz Lab has a very detailed analysis and discussion about dipole speaker and open baffle is one of many implementations.

He designed the speaker with equalization in mind thus he operate the speaker BELOW the first resonance frequency. This is a very different approach. I heard people around different discussion boards saying that larger baffle gives a deeper bass. It suggests they are operating ABOVE the first resonance frequency.

Once you operate above the first resonance, the oscillation in the frequency response comes naturally. As the length equals to a half wavelength, the waves from the front and back add up. When the length equals a full wavelength, the waves cancel. This issue is not that severe using a real driver comparing to the piston model analyzed since the speaker cone gives an asymmetrical response in front and in the back. The bracket and the magnet of the speaker also reduces the airflow on the back size, although the bracket and the cone may generate another resonance and a notch filer is required.

For my understanding in antenna, the distance from the observer to the source has to satisfy two conditions for the far field approximation to be valid. First, 2D^2/lambda, where D is the largest dimension of the radiating source and lambda is the operating wavelength. Second, they have to be at least one wavelength apart. Assuming the speakers are 2.4m apart, as suggested in the room acoustics section on Linkwitz lab, and a triangle listening position, the one wavelength criteria is about 140Hz. I believe the acoustic property is dominated by room mode and near field property of the speakers below this frequency. It leads to the conclusion that a sub-woofer should be used with a 140Hz crossover frequency. Please bear in mind that I am assuming a pretty small room and a pretty close listening position. Once you move to a large room, not only the room mode frequency decreases but also the far field is still valid. Things are back to acoustic pattern again.

Art Ludwig's website gives excellent discussion about room mode based on his own image theory code. Mr. Ludwig and Mr. Riley are on the two ends of a spectrum regarding listening room. Mr. Ludwig has a nearly empty listening room with a lot of treatment while Mr. Riley uses a normal living room. The analysis performed by Mr. Ludwig shows that a "bad room" is not much worse than a "good room" but both of them are far from an optimal flat response. I didn't find the suggesting regarding this fact. On the other hand, Mr. Riley believes that human brain can process a "uniformly" excited room with normal furniture and decoration inside. Since I don't have a room dedicated for listening, I can only believe what Mr. Riley said and will choose to use stereo sub-woofers along the two side walls at a distance to the listening position the same as from the main speaker to the listening spot. This placement is learned from the Pluto+ sub-woofer. The position is chosen to lower the excitation of the room mode (instead of placed at the corner of the room to excite the mode to the most level) and keep everything symmetrical. Symmetry is a beauty and it even works for near field. I would love to keep it whenever I can.

I take the advice from Mr. Riley and try to keep the main speakers at least 1m away from ANY wall. I will also keep the room as comfortable as I like.

2012年5月20日 星期日

電腦訊源

我的器材非常單純,Sennheiser CX300 + Thankpad T410,跑 Windows 7 Professional 設定 192KHz 24bit 輸出, foobar v1.1.1 + SoX Up-sampler (foobar plugin)。

聽人聲我的木耳沒有感受到太大的差異。聽大動態大編制的音樂,各樂器聲部之間的分離度好很多,低頻的延伸性、彈性也好一點。


除了分享我覺得軟體效果很好,真正想要分享的是一些個人對於學理上的認識。

只要修過 DSP 的人應該都知道,在取樣頻率遠高於訊號頻率的時候,降頻就簡單的把東西隔著丟掉,升頻就是 sinc filter。不幸的是 sinc filter 是個 non-casual 處理,也就是說現在的運號會受到未來訊號的影響。在數位的世界裡如果運算速度不是問題,那大可以來回多跑幾次,總會愈來愈接近,但是也會因為運算次數的增加導致運算誤差的累積,造成底噪的上升。

這個網站可以看到 1KHz tone test  經過運算之後底噪的變化。不過 DAC 理論告訴我們,1bit = 6.02 dB 的動態範圍,所以 24bit = 144.48 + 1.761 = 146.2 dB,那些比最強訊號低 150dB 的底噪,我們可以完全不管。

上面這個連結是 Logitech SqueezeBox Touch 的測試資料,圖三可以看到 24bit 訊號的底噪大約是在 -140 dB 左右。不過圖二告訴我們另外一件事情,這台機器的解析度其實只有 17bit 左右。

數位升頻的另外一個挑戰是 192KHz 並不是 44.1KHz 的整數倍,假設是 13/3 倍好了,那最基本的實現方式就是升頻 13 倍再降頻 3倍,首先 13/3 並不等於 192/44.1 ,那已經是個近似,加上這樣的升降頻會花費大量的運算資源,所以我也同意升頻運算最好是事先算好直接播放,如果音效卡/DAC 支援  44.1kHz x 4 = 176.4KHz 輸出更好!

而在實際運用上, Jitter 跟 Power 也是兩個要考慮的問題,前者決定 DAC 輸出訊號的時間穩定性,後者決定「實際電路」是否真的有 146.2 dB 的動態範圍,尤其會大量切換電流的數位信號很容易透過電源電路竄進放大電路裡。前者可以透過 PLL 來改善,這篇文章有實際的例子,後者則很多人相信多級 LC 濾波線性電路有最佳的性能,當然線路規劃、電路設計也都有很重要的影響。


另外一個問題,如果人耳只聽的到 20Hz - 20kHz 的訊號,也許 24 bit 會帶來更大的動態範圍,,但是為什麼我們需要升頻?

第一,你的DAC 使用的濾波電路夠不夠好。所有 DAC 的輸出依然是 Sample-and-hold,在時間訊號上充滿了很多銳利的角,我相信這些高頻訊號雖然我們無法直接聽到他的「音高」,但是會造成不耐聽。大多數的放大器都是強調在 20-20KHz 裏面的平坦,從沒標明對於高頻訊號的衰減,因此要把這些不舒服的高頻清理掉都要靠 DAC 輸出端由 OP 組成的濾波電路跟你的喇叭。如果經過升頻,這些東西其實佔的總能量會下降,提高聽感上的舒適性。

第二,人耳其實還是可以「感覺到」時間訊號。傳統的理論告訴我們,人耳對於 50ms 以內的聲音只有聽到頻率(音高),而無法聽到絕對的時間起點。這就是為什麼處理音樂訊號的時候「相位」不是太重要的理論基礎。依照我以前把便宜耳機直接接上訊號產生器聽的經驗,20KHz 的弦波我是聽不到,不過 20kHz 的方波反而有聽到一些東西,近代的一些實驗也顯示,人耳其實可以感受到依些  50ms 以內的時間變化的。也因此像 SoX 之類的處理軟體,也有 linear phase 的選項。

最後,電腦播放音樂的問題還是在於作業系統。當代所有作業系統都是多工的,CPU 一邊要注意滑鼠的移動、螢幕的更新,還要幫你運算音樂輸出。這其中我們能做的只有把音樂播放軟體的 Priority 提高、減少常駐軟體,增加 Buffer,以此來將 Latency 控制在合理的範圍。


一切都還是在取捨的功夫,如果你跟我一樣是耳機接電腦,明顯的不會有什麼 OP 濾波器,那升頻應該是個好選擇。如果你有外接獨立 DAC、高級耳機,你的系統本來就把不需要的高頻處理的很好了,那搞不好升頻對於 Latency 的影響還會讓聲音變差。

2012年4月18日 星期三

BBQ

嚐試了第一次美式 BBQ,材料計有:spare rib, 香料, 番茄醬, 黃芥茉醬。
先把後三者抹在肋排上冷藏一個晚上。



可以用木炭搭配木屑或是直接燒木塊,這次選用後者的作法。

燒到木塊都變黑色之後就可以把他蓋起來熄火了



用鋁箔紙折成一個盒子裏面放水,或是果汁啤酒都可以,然後放在炭火上。這樣產生的水氣可以保持肉的水份。肉要烤三個小時!


中間要注意火是否熄滅了,如果幾乎完全沒煙了,可以再丟一兩塊木頭進去。


登登登,這就是成品!