AudioKits 是一组对音频数据进行切割,合并,通道分离和格式转换等操作的工具。
$ git clone git@github.com:AnSwErYWJ/AudioKits.git
Compile: you can modify SRC in Makefie to change kits.
SRC
Makefie
$ make
Modify Sample length in config.h,default is signed 16 bit.
Sample length
config.h
Then,run your program with :
# cut mutilchannels audio data(cut from tail)
$ channel_convert input_channel(s) input_file output_channel(s) output_file
$ ./channel_get input_channel(s) input_file output_channel_number output_file
$ ./channel_merge output_channel(s) input_file1(mono) input_file2(mono) … input_filen(mono) output_file
$ ./channel_separate input_channel(s) input_file
$ ./read_wavheader xxx.wav
clean:
$ make clean