<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kurene</author_name>
  <author_url>https://blog.hatena.ne.jp/Kurene/</author_url>
  <blog_title>Wizard Notes</blog_title>
  <blog_url>https://www.wizard-notes.com/</blog_url>
  <categories>
    <anon>LibROSA</anon>
    <anon>Python</anon>
    <anon>matplotlib</anon>
    <anon>創作の自動化・支援</anon>
    <anon>音響音楽信号処理</anon>
  </categories>
  <description>やりたいこと 時系列信号・データを扱っていると、その信号に対する各種イベント・ラベル（例：どんな音が鳴っているか）を時間とともに表示したいと思うことが多々あります。 そこで、Pythonの matplotlib で時間波形に対するイベント（ラベル）のタイムラインチャートを表示する方法を調べて実装してみました。 基礎編 plt.broken_barh(xranges, yrange, *, data=None, **kwargs) を使います。 この関数は、水平軸方向に同じy軸幅の矩形領域をいくつも描画できる関数です。xranges に各矩形領域の情報 (xmin, xwidth) の配列を与え…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.wizard-notes.com%2Fentry%2Fmusic-analysis%2Ftimelinechart-with-matplotlib&quot; title=&quot;Pythonで曲の楽器構成やAメロ・Bメロ・サビのタイムラインをプロット - Wizard Notes&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/K/Kurene/20191024/20191024164934.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-24 20:00:00</published>
  <title>Pythonで曲の楽器構成やAメロ・Bメロ・サビのタイムラインをプロット</title>
  <type>rich</type>
  <url>https://www.wizard-notes.com/entry/music-analysis/timelinechart-with-matplotlib</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
