이제 빌드가 되었으니 실제 pitch 변환 실습을 해보자!
우선, Rubberband-program은 음성에 다양한 변조를 가능케 한다!
pitch shift와 frequency 값을 올리고 내릴 수도 있다....!!
그 외 여러가지 기능들이 있는데, 아직 파악 중이다...
일단, 기본적으로 Rubberband-program은
Usage: rubberband-program.exe [options] <infile.wav> <outfile.wav>
로 동작한다.
inputfile : 변조할 음성 파일
outputfile : 산출될 음성 파일
options : -t, -T, ... -p ( --pitch ), -f (--frequency) ,...

option의 여러 기능 중에서도 pitch와 frequency 변환 실습을 진행해볼 것이다.
먼저 적당한 샘플을 구해보자!
https://breakfastquay.com/rubberband/code-doc/classRubberBand_1_1RubberBandStretcher.html
Rubber Band Library: RubberBand::RubberBandStretcher Class Reference
#include enum Option { OptionProcessOffline = 0x00000000, OptionProcessRealTime = 0x00000001, OptionStretchElastic = 0x00000000, OptionStretchPrecise = 0x00000010, OptionTransientsCrisp = 0x00000000, OptionTransientsMixed = 0x00000100, OptionTransient
breakfastquay.com
'프로젝트 > 음성변조' 카테고리의 다른 글
MFCC를 사용한 pitch detect 실습 (1) (0) | 2019.10.16 |
---|---|
Rubberband library를 사용한 pitch 변조 (1) (0) | 2019.10.15 |
libsndfile-1.dll 오류 해결 방법 (0) | 2019.10.15 |