AudioKits音频数据切割转换工具
AudioKits 是一组对音频数据进行切割,合并,通道分离和格式转换等操作的工具。
Installation
$ git clone git@github.com:AnSwErYWJ/AudioKits.git
Usage
-
Compile: you can modify
SRC
inMakefie
to change kits.$ make
Modify
Sample length
inconfig.h
,default is signed 16 bit.-
Then,run your program with :
# cut mutilchannels audio data(cut from tail) $ channel_convert input_channel(s) input_file output_channel(s) output_file # get one of the channels from mutilchannels audio $ ./channel_get input_channel(s) input_file output_channel_number output_file # merge some mono audios to one mutilchannels audio $ ./channel_merge output_channel(s) input_file1(mono) input_file2(mono) ... input_filen(mono) output_file # separate one mutilchannels audio to some mono audios $ ./channel_separate input_channel(s) input_file # read header infonmation of wave audio $ ./read_wavheader xxx.wav
-
clean:
$ make clean
评论