<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tam5917</author_name>
  <author_url>https://blog.hatena.ne.jp/tam5917/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://tam5917.hatenablog.com/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>音声</anon>
  </categories>
  <description>表題の通りのまさに備忘録。音声波形をヒルベルト変換して包絡および瞬時位相を計算し、そこから元の音声波形を再構成するスクリプトをPythonで書いた話。SPTKに付属のdata.shortをwavに変換して用いた。発話内容は「青い植木鉢」である。処理の核となるのは以下の通りである。ヒルベルト変換を計算した結果は複素数値の「解析信号」であり、絶対値を取ることで音声波形の包絡線が得られる。位相は瞬時位相と呼ばれる。これら振幅と位相の情報から元の音声波形が再構成される。scipyのsignalパッケージを使うと上記の処理が本質的に３行で済んでしまうので、scipy最高〜〜、というわけである。 impo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftam5917.hatenablog.com%2Fentry%2F2020%2F05%2F12%2F022010&quot; title=&quot;ヒルベルト変換のデモスクリプトをPythonで書いた話 - 備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tam5917/20200512/20200512020558.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-12 02:20:10</published>
  <title>ヒルベルト変換のデモスクリプトをPythonで書いた話</title>
  <type>rich</type>
  <url>https://tam5917.hatenablog.com/entry/2020/05/12/022010</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
