91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 84KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-08
  • 語言: 其他
  • 標簽: Audio??變調??變速??

資源簡介

使用FFmpeg + SoundTouch 實現語音的變速變調。 壓縮包中有兩個V歲2013的Project,SoundTouch編譯結果為靜態鏈接庫;wav_sound需要使用SoundTouch的編譯庫,另外還需要根據自己的環境自行配置FFmpeg3.1的環境。

資源截圖

代碼片段和文件信息

////////////////////////////////////////////////////////////////////////////////
///
///?FIR?low-pass?(anti-alias)?filter?with?filter?coefficient?design?routine?and
///?MMX?optimization.?
///?
///?Anti-alias?filter?is?used?to?prevent?folding?of?high?frequencies?when?
///?transposing?the?sample?rate?with?interpolation.
///
///?Author????????:?Copyright?(c)?Olli?Parviainen
///?Author?e-mail?:?oparviai?‘at‘?iki.fi
///?SoundTouch?WWW:?http://www.surina.net/soundtouch
///
////////////////////////////////////////////////////////////////////////////////
//
//?Last?changed??:?$Date:?2014-01-05?23:40:22?+0200?(Sun?05?Jan?2014)?$
//?File?revision?:?$Revision:?4?$
//
//?$Id:?AAFilter.cpp?177?2014-01-05?21:40:22Z?oparviai?$
//
////////////////////////////////////////////////////////////////////////////////
//
//?License?:
//
//??SoundTouch?audio?processing?library
//??Copyright?(c)?Olli?Parviainen
//
//??This?library?is?free?software;?you?can?redistribute?it?and/or
//??modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
//??License?as?published?by?the?Free?Software?Foundation;?either
//??version?2.1?of?the?License?or?(at?your?option)?any?later?version.
//
//??This?library?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
//??Lesser?General?Public?License?for?more?details.
//
//??You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
//??License?along?with?this?library;?if?not?write?to?the?Free?Software
//??Foundation?Inc.?59?Temple?Place?Suite?330?Boston?MA??02111-1307??USA
//
////////////////////////////////////////////////////////////////////////////////

#include?
#include?
#include?
#include?
#include?“AAFilter.h“
#include?“FIRFilter.h“

using?namespace?soundtouch;

#define?PI????????3.141592655357989
#define?TWOPI????(2?*?PI)

//?define?this?to?save?AA?filter?coefficients?to?a?file
//?#define?_DEBUG_SAVE_AAFILTER_COEFFICIENTS???1

#ifdef?_DEBUG_SAVE_AAFILTER_COEFFICIENTS
????#include?

????static?void?_DEBUG_SAVE_AAFIR_COEFFS(SAMPLETYPE?*coeffs?int?len)
????{
????????FILE?*fptr?=?fopen(“aa_filter_coeffs.txt“?“wt“);
????????if?(fptr?==?NULL)?return;

????????for?(int?i?=?0;?i?????????{
????????????double?temp?=?coeffs[i];
????????????fprintf(fptr?“%lf\n“?temp);
????????}
????????fclose(fptr);
????}

#else
????#define?_DEBUG_SAVE_AAFIR_COEFFS(x?y)
#endif


/*****************************************************************************
?*
?*?Implementation?of?the?class?‘AAFilter‘
?*
?*****************************************************************************/

AAFilter::AAFilter(uint?len)
{
????pFIR?=?FIRFilter::newInstance();
????cutoffFreq?=?0.5;
????setLength(len);
}



AAFilter::~AAFilter()
{
????delete?pFIR;
}



//?Sets?new?ant

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????6694??2015-09-20?10:41??SoundTouch\AAFilter.cpp

?????文件???????3506??2015-09-20?10:41??SoundTouch\AAFilter.h

?????文件??????12063??2015-09-20?10:41??SoundTouch\BPMDetect.cpp

?????文件???????6517??2015-09-20?10:41??SoundTouch\BPMDetect.h

?????文件???????2386??2015-09-20?10:41??SoundTouch\cpu_detect.h

?????文件???????4837??2015-09-20?10:41??SoundTouch\cpu_detect_x86.cpp

?????文件???????8836??2015-09-20?10:41??SoundTouch\FIFOSampleBuffer.cpp

?????文件???????7507??2015-09-20?10:41??SoundTouch\FIFOSampleBuffer.h

?????文件???????8655??2015-09-20?10:41??SoundTouch\FIFOSamplePipe.h

?????文件???????9753??2015-09-20?10:41??SoundTouch\FIRFilter.cpp

?????文件???????4861??2015-09-20?10:41??SoundTouch\FIRFilter.h

?????文件???????6518??2015-09-20?10:41??SoundTouch\InterpolateCubic.cpp

?????文件???????2211??2015-09-20?10:41??SoundTouch\InterpolateCubic.h

?????文件???????8249??2015-09-20?10:41??SoundTouch\InterpolateLinear.cpp

?????文件???????3037??2015-09-20?10:41??SoundTouch\InterpolateLinear.h

?????文件???????5800??2015-09-20?10:41??SoundTouch\InterpolateShannon.cpp

?????文件???????2454??2015-09-20?10:41??SoundTouch\InterpolateShannon.h

?????文件??????13831??2015-09-20?10:41??SoundTouch\mmx_optimized.cpp

?????文件???????8469??2016-10-25?19:05??SoundTouch\PeakFinder.cpp

?????文件???????4245??2015-09-20?10:41??SoundTouch\PeakFinder.h

?????文件???????8216??2015-09-20?10:41??SoundTouch\RateTransposer.cpp

?????文件???????6012??2015-09-20?10:41??SoundTouch\RateTransposer.h

?????文件??????16346??2015-09-20?10:41??SoundTouch\SoundTouch.cpp

?????文件??????13130??2015-09-20?10:41??SoundTouch\SoundTouch.h

?????文件???????5001??2016-10-25?19:00??SoundTouch\SoundTouch.vcxproj

?????文件???????3555??2016-10-25?19:00??SoundTouch\SoundTouch.vcxproj.filters

?????文件????????165??2016-10-25?19:00??SoundTouch\SoundTouch.vcxproj.user

?????文件??????13476??2015-09-20?10:41??SoundTouch\sse_optimized.cpp

?????文件???????7468??2016-10-26?11:09??SoundTouch\STTypes.h

?????文件??????34912??2015-09-20?10:41??SoundTouch\TDStretch.cpp

............此處省略13個文件信息

評論

共有 條評論