This is a series of kits to opreate audio data.
Welcome pull request to me , if you have any other kits or recommendations.
$ git clone [email protected]:AnSwErYWJ/AudioKits.git
-
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 # convert pcm file to wave file $ ./pcm_2_wav <wave header length> <pcm file> <wave file> # convert wave file to pcm file $ ./wav_2_pcm <wave header length> <wave file> <pcm file>
-
clean:
$ make clean
- Linux
- POSIX C
- Bash Shell
- improve efficiency by multithreading
- WebSite:http://www.answerywj.com
- Email:[email protected]
- GitHub:AnSwErYWJ
- Blog:AnSwEr不是答案的专栏
- Weibo:@AnSwEr不是答案
GNU General Public License v3.0
Copyright (C) <2018> AnSwErYWJ(Weijie Yuan),[email protected]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.