{"id":19641651,"url":"https://github.com/healthypackrat/duo_splitter","last_synced_at":"2026-06-14T15:37:40.753Z","repository":{"id":45312592,"uuid":"170827060","full_name":"healthypackrat/duo_splitter","owner":"healthypackrat","description":"DUO 3.0 CD/復習用の音声を分割 (RubyGems)","archived":false,"fork":false,"pushed_at":"2021-12-22T04:05:07.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T08:29:47.035Z","etag":null,"topics":["duo","english","gem","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/duo_splitter","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/healthypackrat.png","metadata":{"files":{"readme":"README.ja.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-15T08:15:43.000Z","updated_at":"2021-12-22T04:04:26.000Z","dependencies_parsed_at":"2022-09-01T20:34:19.043Z","dependency_job_id":null,"html_url":"https://github.com/healthypackrat/duo_splitter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healthypackrat%2Fduo_splitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healthypackrat%2Fduo_splitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healthypackrat%2Fduo_splitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healthypackrat%2Fduo_splitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healthypackrat","download_url":"https://codeload.github.com/healthypackrat/duo_splitter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947671,"owners_count":19883031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duo","english","gem","ruby"],"created_at":"2024-11-11T14:10:01.158Z","updated_at":"2026-06-14T15:37:35.706Z","avatar_url":"https://github.com/healthypackrat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# duo\\_splitter\n\n[![Build Status](https://travis-ci.org/healthypackrat/duo_splitter.svg?branch=master)](https://travis-ci.org/healthypackrat/duo_splitter)\n\nこのgemに含まれているコマンドで[DUO 3.0 CD/**復習用**](https://www.amazon.co.jp/dp/4900790079)の音声を例文ごとに分割できます。\n\n## 必要なもの\n\n  - `ffmpeg`\n      - `brew install ffmpeg`でインストールしてください\n  - `sox`\n      - `brew install sox`でインストールしてください\n      - `repeating`コマンドと`overlapping`コマンドを実行する際に必要です\n\n## インストール\n\n```\n$ gem install duo_splitter\n```\n\n## 使い方\n\n### 準備\n\n  1. WAVエンコーダを指定してCDをiTunesにインポートしてください。\n  2. ターミナルを開いてインポートしたトラックがあるディレクトリへ移動してください。\n\n### 単純な分割\n\n以下のコマンドを実行すると`~/Desktop/DUO 3.0`に分割された音声が生成されます。\n\n```\n$ duo_splitter split *.wav\n```\n\n指定できるオプションを確認するには`duo_splitter split -h`を実行してください。\n\n出力ディレクトリを変更するには`-d`オプションを指定してください:\n\n```\n$ duo_splitter split -d /path/to/dir *.wav\n```\n\n出力フォーマットを変更するには`-f`オプションを指定してください:\n\n```\n$ duo_splitter split -f mp3 *.wav\n```\n\n「SECTION 〜」の音声が不要な場合は`--no-output-intro`オプションを指定してください:\n\n```\n$ duo_splitter split --no-output-intro *.wav\n```\n\n出力されるファイル名にセクション番号を付けたくない場合は`--no-section-number`オプションを指定してください:\n\n```\n$ duo_splitter split --no-section-number *.wav\n```\n\n`ffmpeg`の場所を変更するには`--ffmpeg-path`オプションを指定してください:\n\n```\n$ duo_splitter split --ffmpeg-path=/path/to/ffmpeg *.wav\n```\n\n### リピーティング用の分割\n\n以下のコマンドを実行すると`~/Desktop/DUO 3.0 (Repeating)`に分割された音声が生成されます。\n\n```\n$ duo_splitter repeating *.wav\n```\n\n生成された音声の最後には合図の音声と例文と同じ長さの無音の音声が追加されています。\n\n指定できるオプションを確認するには`duo_splitter repeating -h`を実行してください。\n\n合図の音声が不要な場合は`--no-notification-sound`オプションを指定してください:\n\n```\n$ duo_splitter repeating --no-notification-sound *.wav\n```\n\n合図の音声を変更するには`--notification-sound-path`オプションを指定してください:\n\n```\n$ duo_splitter repeating --notification-sound-path=/path/to/audio.wav *.wav\n```\n\n`sox`の場所を変更するには`--sox-path`オプションを指定してください:\n\n```\n$ duo_splitter repeating --sox-path=/path/to/sox *.wav\n```\n\n### オーバーラッピング用の分割\n\n以下のコマンドを実行すると`~/Desktop/DUO 3.0 (Overlapping)`に分割された音声が生成されます。\n\n```\n$ duo_splitter overlapping *.wav\n```\n\n生成された音声の先頭には合図の音声が追加されています。\n\n指定できるオプションを確認するには`duo_splitter overlapping -h`を実行してください。\n\n合図の音声を変更するには`--notification-sound-path`オプションを指定してください:\n\n```\n$ duo_splitter overlapping --notification-sound-path=/path/to/audio.wav *.wav\n```\n\n`sox`の場所を変更するには`--sox-path`オプションを指定してください:\n\n```\n$ duo_splitter overlapping --sox-path=/path/to/sox *.wav\n```\n\n## 開発\n\nテストするには`bundle install`を実行してから`bin/rspec`を実行してください。\n\n## ライセンス\n\nライセンスは[MIT License](https://opensource.org/licenses/MIT)です。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealthypackrat%2Fduo_splitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealthypackrat%2Fduo_splitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealthypackrat%2Fduo_splitter/lists"}