Skip to content

Instantly share code, notes, and snippets.

@yuya-takeyama
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuya-takeyama/8770188 to your computer and use it in GitHub Desktop.
Save yuya-takeyama/8770188 to your computer and use it in GitHub Desktop.
AudioHacker introduction
pattern: "*.m4a"
input_dir:
- "/path/to/Yoichi Suzuki/DUO 3.0_Kiso [Disc 1]"
- "/path/to/Yoichi Suzuki/DUO 3.0_Kiso [Disc 2]"
- "/path/to/Yoichi Suzuki/DUO 3.0_Kiso [Disc 3]"
- "/path/to/Yoichi Suzuki/DUO 3.0_Kiso [Disc 4]"
- "/path/to/Yoichi Suzuki/Duo 3.0_Kiso [Disc 5]"
output_dir: "./out"
album 'DUO 3.0 English Sentences 001-100' do
track '001' do
directory 1
file 1
start 6
duration 3.6
end
track '002' do
directory 1
file 1
start 26
duration 6
end
end
$ git clone https://github.com/yuya-takeyama/audio_hacker-duo3.0_cd_kisoyou_-english_sentences.git
$ cd audio_hacker-duo3.0_cd_kisoyou_-english_sentences
$ bundle install --path=vendor/bundle
$ cp config.yml.example config.yml
$ vi config.yml
# 自分の環境に会わせて config.yml を編集
$ bundle exec audio_hacker exec duo3.0-english_sentences*.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment