<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hahaeatora</author_name>
  <author_url>https://blog.hatena.ne.jp/hahaeatora/</author_url>
  <blog_title>ダークサイドにようこそ!</blog_title>
  <blog_url>https://hahaeatora.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>Google Magentaを最近使い始めました。音楽や芸術分野の創造的プロセスにおいて機械学習の役割を探求するためのオープンソース研究プロジェクトだそうです。 magenta.tensorflow.orgそんなMagentaで楽曲データを扱うためにはMIDIをNoteSequenceという専用のデータ形式に変換する必要があります。そのためのAPIも用意されているのでやり方をメモ。 import magenta.music as mm loaded_sequence = mm.midi_file_to_note_sequence(filepath) # NoteSequenceを視覚化&amp;演奏 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhahaeatora.hateblo.jp%2Fentry%2F2019%2F07%2F29%2F200000&quot; title=&quot;【Google Magenta】MIDIファイルをNoteSequenceに変換【機械学習】 - ダークサイドにようこそ!&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.user.blog.st-hatena.com/default_entry_og_image/148141593/1533472151314109</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-29 20:00:00</published>
  <title>【Google Magenta】MIDIファイルをNoteSequenceに変換【機械学習】</title>
  <type>rich</type>
  <url>https://hahaeatora.hateblo.jp/entry/2019/07/29/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
