(custom-set-faces
;; custom-set-faces was added by Custom.;; If you edit it by hand, you could mess it up, so be careful.;; Your init file should contain only one such instance.;; If there is more than one, they won't work right.'(default ((t(:family "Ricty Diminished" :foundry "nil" :slant normal :weight regular :height 140 :width normal)))))
MAJOR = 2
# MINOR = 29
MINOR = 28
# BUILD number used for the OSS version.
# BUILD_OSS = 5291
BUILD_OSS = 5050
# Number to be increased. This value may be replaced by other tools.
BUILD = BUILD_OSS
# Represent the platform and release channel.
# REVISION = 100
REVISION = 1
indata は ストリームから取得した生のバイナリデータであり、それをstructモジュールのunpack関数を用いて short int へと変換する。
unpackした直後はtupleになっているため、numpyのarray へと変換する。パワーの計算方法については音響学・音声分析の教科書を見て欲しい。