AudioKits是一组对音频数据进行切割,合并,通道分离和格式转换等操作的工具。
Installation$ git clone git@github.com:AnSwErYWJ/AudioKits.gitUsageCompile:youcanmodify SRC in Makefie tochangekits.
$ makeModify Samplelength in config.h,defaultis signed16bit.
Then,runyourprogramwith:
# 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.wavclean:
$ make clean
评论