Skip to content

osam023/WaveSplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Audio File Split Tool: wave_splitter

wave_splitter provide audio split feature. This tool have to use Python version 2.7. Cannot run this tools under Python 3.X.

Install

  1. Install third party library called Click into your Python environment.

    $ pip install click
  2. Clone wave_splitter where you want it installed(ex: ~/.bin) and set the PATH environment variable.

    $ git clone https://github.com/osam023/WaveSplitter.git ~/.bin
    $ echo "export PATH=$PATH:$HOME/.bin" >> ~/.bash_profile

    ATTENTION: If you already have .bin directory, then you change current directory to .bin. And clone the wave_splitter.

  3. Add execute authority.

    $ chmod +x ~/.bin/wave_splitter
  4. Restart your shell.

  5. Check the wave_splitter install success.

    $ wave_splitter --version

NOTE: If you cannot execute wave_splitter, Set execute authority that program($ chmod +x wave_splitter).

Usage

You can split the audio file by executing below command. If you have to more information, use --help option.

$ wave_splitter --split-size [split size] --input-file [input file path] --output-dir [output directory path]

example:

$ wave_splitter --split-size 4 --input-file foo.wav --output-dir ./output/

Option Variables

option(long) option(short) required description
--split-size -s NO Split size number. Default is 2.
--input-file -i YES Input audio file path.
--output-dir -o NO Output directory path. Default is /out/ of the same path as the input file.

License

See LICENSE file.

About

wave_splitter provide audio file split feature.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages