- 10月4日(火)のつぶやき
#ff14
21:01 from web
xivliveはじまったはじまった
- 暗号、数学、時々プログラミング
!doctype html public -//w3c//dtd xhtml 1.0 strict//en
html xmlns= xml: lang = ja lang = ja
head
title learning javascript / title
style type = text/css
body {
background : #fff ;
font-size : 13px ;
font-family : helvetica , verdana, arial, sans-serif ;
max-width : 900px ;
margin-left : auto ;
margin-right : auto ;
margin-top : 0px ;
color : #000 ;
}
- 人工知能に関する断創録
# ピッチファイルをロード
pitch = []
f = open(pitch_file, rb )
while true:
# 4バイト(float)ずつ読み込む
b = f.read(4)
if b == : break ;
# 読み込んだデータをfloat型(f)でアンパック
val = struct.unpack( f , b)[0]
pitch.append(val)
f.close() # プロット
plot(range(len(pitch)), pitch)
xlabel( time (frame) )
ylabel( f0 (hz) )
show()
- 森薫の日記
# obtain an indextank client
client = indextank :: client .new( env [ ' indextank_api_url ' ] || api_url )
index = client.indexes( ' idx ' )
|