Yuki Nabeshima
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # [論文]時間領域差分法に基づく1次元の声道音響モデルを読んでまとめる ## リンク [[論文]時間領域差分法に基づく1次元の声道音響モデルで使う定数](/hM0BXlh8QlG4MWHN6VleLg) ## 論文の理解 ![](https://i.imgur.com/fXBiwot.png) ![](https://i.imgur.com/M3sNOwh.png) ![](https://i.imgur.com/nue0bs3.png) ### はじめに 声帯音源波が声道を通過して音声が生成される過程を時間領域でシミュレーションする手法はあるが、アルゴリズムが複雑でプログラミングが難しい よって、声道形状からフィルタを生成し,声帯音源波に畳み込んで音声を生成することにする 声門から口唇までの断面積の変化を表す声道断面積関数に基づき,声道を縦続音響管でモデル化する。 次に,各管の入口と出口の音圧と体積速度を周波数領域で順次計算し,最終的に声道の伝達関数を計算する(Transmission Line Model: 以降TLM法)。 そして,これを逆離散フーリエ変換してインパルス応答に変換し,フィルタとして声帯音源波に畳み込む。 この方法は,周波数依存性のある壁振動,熱交換,粘性抵抗などによる損失を考慮できるため,声道の伝達関数を精度よく計算できる。 ↑これは本来やる計算法(今回関係ない) だが、これも難しいので、母音の生成過程に限れば,==1次元の時間領域差分法==(Finite-Difference Time-Domain method:FDTD法)で簡単に実現することにする。 ### モデル #### 支配方程式とは 連続の式と運動方程式で立てられる。 音圧・粒子速度・音速・密度・k=1/pc^2^・減衰定数 #### 支配方程式の差分化 1次元(x方向のみ)の音響 FDTD 法の支配方程式は, - 音圧をp - 粒子速度をu - 音速をc - 密度をρとして、κ = 1/ρc^2^ - 時間離散化間隔 ∆t - 空間離散化間隔 ∆x - 減衰定数 α,α^∗^ - 例)𝛼 = 2.0 × 10^−3^ ,𝛼^∗^ = 0 とおく。 ![](https://i.imgur.com/VvQBN6C.png) δ = デルタ , κ = カッパ , ρ = ロー κ = 1/ρc^2^ -κ*δ音圧/時間離散化間隔-減衰定数*音圧=δ粒子速度/空間離散化間隔 (1)連続の式 -密度δ*δ粒子速度/時間離散化間隔-減衰定数^*^ * 粒子速度=δ音圧/空間離散化間隔 (2)運動方程式 式(1), (2) を差分化すると式(3), (4)が得られる。 カエル跳び差分アルゴリズム #### 入力体積速度 ![](https://i.imgur.com/osGEW5a.png) 音圧[n]= 式(3)が示すように,声道の入力端である第1セクションの音圧p[1]の計算には**定義されていないU[0]が必要**なので,これを入力値として外部から与える。 第m計算ステップで入力する体積速度をU~in~[m]としてU[0]に代入する。 ここで,シミュレーションのステップ数をMとすると, ==m = 1, 2, ... , M== である。 声道の伝達関数を計算する場合にはインパルスを入力すればよい。 mは 1以上で定義されているので, ==U~in~ [m]はm = 1で 1,それ以外では 0== とする。これによりインパルス応答が計算できる。 ![インパルス応答](https://i.imgur.com/uNP4KxA.png) そして,これを離散フーリエ変換することにより伝達関数が得られる。 なお,母音を生成する場合にはU~in~として Rosenberg波などの声帯の音源波形を与えればよい。 #### 放射インピーダンス 式(4)で示すように,声道の出力端である第Nセクションの体積速度U[N]の計算には,**定義されていないp[N + 1]が必要**となるため,このままでは計算できない。 そこで,第Nセクションの体積速度U[N]と音圧p[N]を関係付ける放射インピーダンスを導入する。 - 出力端の断面積をA~out~ - 出力端の音圧をp~out~ - 出力端の体積速度をU~out~ ![](https://i.imgur.com/ColF5F6.png) ![](https://i.imgur.com/wMK5Avd.png) 第m計算ステップでは, - A~out~ = A[N] - U~out~[m] = U[N] - p~out~[m] = p[N] なお,声道は時不変なので==A~out~はmによらない定数==である。 ![](https://i.imgur.com/RL2N8bs.png) よって, U~out~[m],p~out~[m]は最も単純な近似計算として以下の式で表される。 ![](https://i.imgur.com/NFbsvwD.png) ### 計算手順 以上を踏まえて,計算手順の概略を述べる。 プログラムには, - 声道断面積関数A, - 空間離散化間隔(断面積の計測間隔)∆x - 時間離散化間隔∆t - 入力体積速度U~in~ を入力するものとする。 なお,これらを入力する前に,シミュレーションの安定条件として ==∆t ≤ c⁄∆xを満たすように∆tを設定==する。 また,ミュレーションの==継続時間をd s== とすると時間離散化間隔∆t,==ステップ数M = d⁄∆t==でU~in~を作成しておく必要がある。 #### 1. プログラムの冒頭で音速などの定数を設定する。 #### 2. 断面積関数を読み込み,必要があれば単位の変換を行う。 #### 3. 計算に必要なpとU(セクション数=N), p~out~(ステップ数=M)のメモリを確保する。→zeros() #### 4. 以下の計算を実行する。 ``` for m=1~M 式(3)によるUin[m]から p[1]の計算 for n=2~ N 式(3)によるp[n]の計算 end for n=1~ N − 1 式(4)によるU[n]の計算 end 式(6)によるUout[m] = U[N]の計算 end ``` これを MATLAB でコーディングしたところ,空行,コメント行を含めても 65 行,含めなければ 34 行であった。 ## わかったこと - ==1次元のFDTD法を用いて縦続音響管でモデル化した声道内における音波の伝搬をシミュレーションする。== - 手法は短いコードでインパルス応答を計算し,声帯の音源波から音声を生成することができる。 - ある特定の周波数で励振したときの瞬時体積速度・音圧の分布を可視化できる - 声帯振動モデルと結合させて声帯と声道の相互作用も検討できる。 ## わからないこと - インパルス応答(音響工学でやった気がするけど覚えてない) ## 足りていない情報・材料 - MRIデータから抽出した声道断面積関数 - U~in~(体積速度) がない - Rosenberg波などの声帯の音源波形を与えれば良いらしい - 音速 - 毎秒340メートル?

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully