タグ

2009年2月24日のブックマーク (2件)

  • ソートアルゴリズムの可聴化 - ならば

    Sorting Algorithm Animationsなどのサイトでは、ソートアルゴリズムの可視化の例を見ることができる。今回は可視化に倣ってソートアルゴリズムを可聴化した。聴覚化すると、情報を分かりやすく提示するという方向から外れるけど。 ソートする対象は50から90までの整数をランダムに並べた列。可聴化の方法は、整数をMIDIノート番号とみなして、ソートアルゴリズムが各時点でポイントしている位置にある、MIDIノート番号の音高の音を鳴らすようにした。ChucKのプログラムはいつもより長くなったから最後に載せる。 録音したもの。元の整数列は全部同じで、サイズ(整数の数)は30。 バブルソート 選択ソート 挿入ソート シェルソート クイックソート マージソート ヒープソート 拡張としては、 より詳細に情報を提示する方向(例:整数同士の位置の交換時に音色を変える) サウンドアートな方向(例

    ソートアルゴリズムの可聴化 - ならば
    daisukebe
    daisukebe 2009/02/24
    ソートアルゴリズムの可聴化
  • Always on the side of the egg - Haaretz - Israel News

    I have come to Jerusalem today as a novelist, which is to say as a professional spinner of lies. Of course, novelists are not the only ones who tell lies. Politicians do it, too, as we all know. Diplomats and military men tell their own kinds of lies on occasion, as do used car salesmen, butchers and builders. The lies of novelists differ from others, however, in that no one criticizes the nov

    daisukebe
    daisukebe 2009/02/24
    "we first have to clarify where the truth lies within us."のくだりが好き