snackのpython版でフォルマント取得

かなりマニア向け。
python版でもフォルマント値取得できるみたいだ。

#! /usr/bin/env python

from Tkinter import *
from tkSnack import *
root = Tkinter.Tk()

initializeSnack(root);


import sys;

path=sys.argv[1];

mysound=Sound(load=path);
mysound.convert(encoding='Lin16',channels='1');

resultList=mysound.formant();


for i in resultList:
print i;