<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>asmz0</author_name>
  <author_url>https://blog.hatena.ne.jp/asmz0/</author_url>
  <blog_title>麦芽を支える技術</blog_title>
  <blog_url>https://asmz.hatenablog.jp/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>AVAudioEngine</anon>
    <anon>AVAudioPlayerNode</anon>
    <anon>AVAudioTime</anon>
    <anon>AVAudioFramePosition</anon>
    <anon>iOS</anon>
  </categories>
  <description>あまり明確な情報がなかなか見つからなくてだいぶ苦戦したけど、一応出来たのでメモ。 もうちょっとスマートなやり方あるのかもしれませんが。 やりたいこと AVAudioEngine、AVAudioPlayerNodeを使った音声データの再生 総再生時間、現在の再生時間を取得 任意の再生位置からの音声再生（シーク機能） Webでいろいろ調べていると、上記１点目の基本的なAVAudioEngineの使用方法や、エフェクト・速度変更などの音声効果の使い方は以下のように結構載ってるんですが、通常の音声プレイヤーとして必要な２，３点目のやり方がなかなか見つからなかったんですよねー。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasmz.hatenablog.jp%2Fentry%2Favaudioengine-seek-the-time-of-the-song&quot; title=&quot;AVAudioEngineでの音声ファイル再生で、再生時間の取得・再生位置指定を行う - 麦芽を支える技術&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://blog.st-hatena.com/images/theme/og-image-1500.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-20 10:00:00</published>
  <title>AVAudioEngineでの音声ファイル再生で、再生時間の取得・再生位置指定を行う</title>
  <type>rich</type>
  <url>https://asmz.hatenablog.jp/entry/avaudioengine-seek-the-time-of-the-song</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
