«前の日記(2010.07.15 / Thursday) 最新 次の日記(2010.07.17 / Saturday)» 編集

Hena Hena Nikki

2003|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|10|11|12|
2012|01|02|03|04|05|06|07|08|10|12|
2013|01|02|04|06|

2010.07.16 / Friday [長年日記]

* [computer/update] openSUSE 11.3

デスクトップ環境として使い易い Linux ディストリビューション。

* [computer] openSMILE: The Munich Versatile and Fast Open-Source Audio Feature Extractor.

naoh さんの blog 記事から。 これは面白い。 メモ。

The openSMILE feature extration tool enables you to extract large audio feature spaces in realtime. It combines features from Music Information Retrieval and Speech Processing. SMILE is an acronym for Speech & Music Interpretation by Large-space Extraction. It is written in C++ and is available as both a standalone commandline executable as well as a dynamic library. The main features of openSMILE are its capability of on-line incremental processing and its modularity. Feature extractor components can be freely interconnected to create new and custom features, all via a simple configuration file. New components can be added to openSMILE via an easy binary plugin interface and a comprehensive API.

HTK 互換なのがまた良い。

* [computer] 浮動小数点数のちょっとしたクイズ

へるみさんの日記の記事。 GNU Emacs 環境でどうなるのかなと思い、試してみた。

(emacs-version)
=> "GNU Emacs 22.3.2 (i486-apple-darwin10.4.0, Carbon Version 1.6.0 AppKit 1038.32)
    of 2010-07-17 on hogehoge.local"
(format "%.17f" 0.1) => "0.10000000000000001"
(let ((i 0) (n 0.0)) (while (< i 10) (setq n (+ n 0.1) i (+ i 1))) (format "%.17f" n)) => "0.99999999999999989"

というわけで、同じだった。 ちなみに Ruby でも同じ。

(let ((i 0) (n 0.0))
  (while (< i 10)
    (setq n (+ n 0.1)
          i (+ i 1))
    (insert (format "%d\t%.17f\n" i n))))
=> nil
1       0.10000000000000001
2       0.20000000000000001
3       0.30000000000000004
4       0.40000000000000002
5       0.50000000000000000
6       0.59999999999999998
7       0.69999999999999996
8       0.79999999999999993
9       0.89999999999999991
10      0.99999999999999989

こちらは木村さんの記事のマネ。 ふむ…。


  • この日記には本日 名の方が訪問してくださっているようです。 また、昨日は 名の方が訪問してくださったようです。
  • この日記の更新情報の取得には antenna.lirs を利用するのがおすすめです。