以下の内容はhttps://baba-s.hatenablog.com/entry/2023/01/16/090000より取得しました。


【Unity】AudioClip の無音区間を削除できるエディタ拡張

リポジトリ

準備

本パッケージを使用するためには Python のインストールと
以下の Python パッケージのインストールが必要です

pip install librosa
pip install soundfile

使用例

using Kogane;
using UnityEditor;

public static class Example
{
    [MenuItem( "Tools/Hoge" )]
    private static void Hoge()
    {
        TrimAudioClipSilence.Trim
        (
            sourcePath: "Assets/source.ogg",
            destinationPath: "Assets/destination.ogg",
            topDb: 30
        );

        AssetDatabase.Refresh();
    }
}

Before

ScreenShot00004

After

ScreenShot00005




以上の内容はhttps://baba-s.hatenablog.com/entry/2023/01/16/090000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14