AudioKits音频数据切割转换工具

联合创作 · 2023-09-29

AudioKits 是一组对音频数据进行切割,合并,通道分离和格式转换等操作的工具。

Installation

$ git clone git@github.com:AnSwErYWJ/AudioKits.git

Usage

  1. Compile: you can modify SRC in Makefie to change kits.

    $ make

  2. Modify Sample length in config.h,default is signed 16 bit.

  3. 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

  4. clean:

    $ make clean
浏览 6
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报