GithubHelp home page GithubHelp logo

duo-3.0-splitter's Introduction

duo-3.0-splitter

これは何?

DUO 3.0 CD/復習用の音声を例文ごとに分割するスクリプトです。

動作環境

  • macOS High Sierra (10.13.4)

必要なもの

  • Ruby
    • 標準でインストールされています
  • ffmpeg
    • brew install ffmpeg でインストールしてください

使い方

WAVエンコーダを指定してCDをiTunesでインポートします。

セクション番号(トラック番号)はインポートされたファイル名の先頭の数字で判断するのでトラック名はそのままでいいです。

すべてのトラックを選択して、情報を見る からアーティスト名、アルバム名に DUO 3.0 と入力してください。(~/Music/iTunes/iTunes Media/Music/DUO 3.0/DUO 3.0 にインポートされます。)

ターミナルを開いてインポートされたファイル名をスクリプトに渡して実行してください。

分割されたファイルは ~/Desktop/DUO 3.0 にMP3フォーマットで出力されます。

-d オプションでその他の出力ディレクトリを指定できます。

-f aac オプションでAACフォーマットで出力できます。

-f wav オプションでWAVフォーマットで出力できます。

-h オプションでヘルプを表示できます。

実行例

~/Desktop/DUO 3.0 にMP3フォーマットで出力:

bin/duo-3.0-splitter ~/Music/iTunes/iTunes\ Media/Music/DUO\ 3.0/DUO\ 3.0/*.wav

~/Desktop/DUO 3.0 にAACフォーマットで出力:

bin/duo-3.0-splitter -f aac ~/Music/iTunes/iTunes\ Media/Music/DUO\ 3.0/DUO\ 3.0/*.wav

~/Desktop/DUO 3.0 にWAVフォーマットで出力:

bin/duo-3.0-splitter -f wav ~/Music/iTunes/iTunes\ Media/Music/DUO\ 3.0/DUO\ 3.0/*.wav

参考: ラベルファイルの作り方

Audacityで音声ファイルを開きます。

Cmd + Aでトラックを全て選択し、メニューから [解析] - [Silence Finder...] を開きます。

[管理] - [出荷時プリセット] - [デフォルト] を選択します。

Minimum duration of silence0.500 を入力して実行します。

xキーで再生・一時停止しながら不要なラベルを右クリックから削除していきます。

ラベルに例文番号を入力していきます。(TABキーで次のラベルに移動できます。)

Kキーでカーソルを末尾に移動させて、Cmd + Bでラベルを作成して END と入力します。

[ファイル] - [Export] - [ラベルの書き出し...] で保存します。

duo-3.0-splitter's People

Contributors

healthypackrat avatar

Stargazers

 avatar  avatar

Watchers

 avatar

duo-3.0-splitter's Issues

Thanks 😊

どうしても感謝を伝えたかったのですが、プロフイールにSNSなどがなかったのでissueを建てさせていただきました。
ありがとうございます。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.