{"author_url":"https://blog.hatena.ne.jp/ayousanz/","provider_name":"Hatena Blog","title":"\u9ad8\u901f\u30d5\u30fc\u30ea\u30a8\u5909\u63db(FFT)\u3092\u4f7f\u3063\u3066\u97f3\u306e\u89e3\u6790\u304a\u3088\u3073\u7279\u5b9a\u306e\u5468\u6ce2\u6570\u306e\u9664\u304f","type":"rich","provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/a/ayousanz/20240616/20240616202122.png","height":"190","blog_url":"https://ayousanz.hatenadiary.jp/","blog_title":"yousan\u306e\u30e1\u30e2","published":"2024-06-16 20:21:32","author_name":"ayousanz","width":"100%","url":"https://ayousanz.hatenadiary.jp/entry/2024/06/16/202132","version":"1.0","description":"\u958b\u767a\u74b0\u5883 \u97f3\u306e\u89e3\u6790 \u7279\u5b9a\u306e\u5468\u6ce2\u6570\u306e\u307f\u306e\u97f3\u306b\u3059\u308b \u958b\u767a\u74b0\u5883 Google Colob T4(Free) \u97f3\u306e\u89e3\u6790 \u4ee5\u4e0b\u3067 sample.wav \u306b\u5bfe\u3059\u308b\u5468\u6ce2\u6570\u5225\u306e\u89e3\u6790\u3092\u3057\u307e\u3059 import numpy as np import matplotlib.pyplot as plt import japanize_matplotlib from scipy.io import wavfile # WAV\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f sample_rate, data = wavfile.read('sample.wav') # \u30c7\u30fc\u30bf\u304c\u30b9\u30c6\u30ec\u30aa\uff082\u30c1\u30e3\u30f3\u30cd\u30eb\uff09\u306e\u5834\u5408\u3001\u30e2\u30ce\u30e9\u30eb\u306b\u5909\u63db if data.ndim =\u2026","categories":["Python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayousanz.hatenadiary.jp%2Fentry%2F2024%2F06%2F16%2F202132\" title=\"\u9ad8\u901f\u30d5\u30fc\u30ea\u30a8\u5909\u63db(FFT)\u3092\u4f7f\u3063\u3066\u97f3\u306e\u89e3\u6790\u304a\u3088\u3073\u7279\u5b9a\u306e\u5468\u6ce2\u6570\u306e\u9664\u304f - yousan\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}