View Code? Open in Web Editor
NEW
This is an audio resamplerate program based on Secret Rabbit Code and iniparser.
License: BSD 2-Clause "Simplified" License
audioresamplerate's Introduction
音频算法工程化, 移植和优化
神经网络模型推理计算框架开发和优化, 包含算子融合, 计算优化及量化
异构计算开发及算力优化, 包含 Cortex-A(Neon/ACL)
, Qualcomm aDSP/cDSP(QHL/HVX/HTA)
, Tensilica HIFI3/4/5
;
Android Audio
, 包括Audio HAL/ALSA/AudioFlinger
等
待补充
有工作机会欢迎联系~
audioresamplerate's People
Contributors
audioresamplerate's Issues
how to change from 16bit to 8bit
wooya@wooya-pc:/work/audiotest/AudioResamplerate-master$ clear
wooya@wooya-pc:/work/audiotest/AudioResamplerate-master$ ls
audio config.ini include lib Makefile README.md src test
wooya@wooya-pc:/work/audiotest/AudioResamplerate-master$ make
g++ -Wall -O2 -m64 -D_GUN_SOURCE -Llib -liniparser -lresamplerate -lwaveheader -I./include/log -I ./include/iniparser/ -I ./include/resamplerate/ -I ./include/waveHeader/ -I ./include/ src/resamplerate.o src/log/log.o lib/libresamplerate.so -o resamplerate
src/resamplerate.o: In function initialize': resamplerate.c:(.text+0xbe): undefined reference to
iniparser_load'
resamplerate.c:(.text+0xd6): undefined reference to iniparser_getnsec' resamplerate.c:(.text+0xed): undefined reference to
iniparser_getsecname'
resamplerate.c:(.text+0x113): undefined reference to iniparser_getsecname' resamplerate.c:(.text+0x139): undefined reference to
iniparser_getsecname'
resamplerate.c:(.text+0x164): undefined reference to iniparser_getint' resamplerate.c:(.text+0x18f): undefined reference to
iniparser_getdouble'
resamplerate.c:(.text+0x1b0): undefined reference to iniparser_getdouble' resamplerate.c:(.text+0x203): undefined reference to
iniparser_getstring'
resamplerate.c:(.text+0x233): undefined reference to iniparser_getstring' resamplerate.c:(.text+0x263): undefined reference to
iniparser_getstring'
resamplerate.c:(.text+0x293): undefined reference to iniparser_getstring' resamplerate.c:(.text+0x6f6): undefined reference to
init_wavheader'
resamplerate.c:(.text+0x775): undefined reference to write_wavheader' src/resamplerate.o: In function
main':
resamplerate.c:(.text.startup+0x27d): undefined reference to `iniparser_freedict'
collect2: ld returned 1 exit status
make: *** [resamplerate] Error 1
wooya@wooya-pc:/work/audiotest/AudioResamplerate-master$
wooya@wooya-pc:/work/audiotest/AudioResamplerate-2.1$ ls -l
total 32
drwxr-xr-x 2 wooya f403tech 4096 Feb 23 16:49 audio
-rw-r--r-- 1 wooya f403tech 247 Feb 23 16:49 config.ini
-rw-r--r-- 1 wooya f403tech 59 Feb 23 16:49 configure.sh
drwxr-xr-x 2 wooya f403tech 4096 Feb 23 16:49 include
drwxr-xr-x 2 wooya f403tech 4096 Feb 23 17:25 lib
-rw-r--r-- 1 wooya f403tech 1843 Feb 23 16:49 Makefile
-rw-r--r-- 1 wooya f403tech 2541 Feb 23 16:49 README.md
drwxr-xr-x 2 wooya f403tech 4096 Feb 23 16:50 source
wooya@wooya-pc:/work/audiotest/AudioResamplerate-2.1$ make
gcc -Wall -O2 -Llib -liniparser -llog -lresamplerate -I./include/ source/resamplerate.o source/iniparser.o source/dictionary.o source/log.o source/samplerate.o source/src_sinc.o source/src_zoh.o source/src_linear.o -o bin/resamplerate
/usr/bin/ld: cannot open output file bin/resamplerate: No such file or directory
collect2: ld returned 1 exit status
make: *** [bin/resamplerate] Error 1
wooya@wooya-pc:/work/audiotest/AudioResamplerate-2.1$
Hi,
Thanks for your nice work,is it possible to provide a api,like:
function(input_audio_data,output_audio_data,input_samplerate,output_samplerate);
just input the raw data,output the resampled raw data?
Thanks!