在ios中使用soundtouch库实现变声
来源:互联网 发布:网易公开课视频 大数据 编辑:程序博客网 时间:2024/04/30 07:01
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://yarin.blog.51cto.com/1130898/640398
- mSoundTouch.setSampleRate(sampleRate);//设置声音的采样频率
- mSoundTouch.setChannels(channels);//设置声音的声道
- m_SoundTouch.setTempoChange(tempoDelta); //这个就是传说中的变速不变调
- m_SoundTouch.setPitchSemiTones(pitchDelta);//设置声音的pitch
- mSoundTouch.setRateChange(rateDelta);//设置声音的速率
- // quick是一个bool变量,USE_QUICKSEEK具体有什么用我暂时也不太清楚。
- mSoundTouch.setSetting(SETTING_USE_QUICKSEEK, quick);
- // noAntiAlias是一个bool变量,USE_AA_FILTER具体有什么用我暂时也不太清楚。
- mSoundTouch.setSetting(SETTING_USE_AA_FILTER, !(noAntiAlias));
- #if !(INTEGER_SAMPLES || FLOAT_SAMPLES)
- /// Choose either 32bit floating point or 16bit integer sampletype
- /// by choosing one of the following defines, unless this selection
- /// has already been done in some other file.
- ////
- /// Notes:
- /// - In Windows environment, choose the sample format with the
- /// following defines.
- /// - In GNU environment, the floating point samples are used by
- /// default, but integer samples can be chosen by giving the
- /// following switch to the configure script:
- /// ./configure --enable-integer-samples
- /// However, if you still prefer to select the sample format here
- /// also in GNU environment, then please #undef the INTEGER_SAMPLE
- /// and FLOAT_SAMPLE defines first as in comments above.
- #define INTEGER_SAMPLES 1 //< 16bit integer samples
- //#define FLOAT_SAMPLES 1 //< 32bit float samples
- #endif
- mSoundTouch.setChannels(2);//1则为单声道
- 在ios中使用soundtouch库实现变声
- 在ios中使用soundtouch库实现变声
- 在ios中使用soundtouch库实现变声
- IOS中使用SoundTouch库实现变声
- [修正]IOS中使用SoundTouch库实现变声
- 在ios中使用soundtouch库实现变声 2011-08-16 11:36:56
- SoundTouch开源库实现变声
- soundtouch 变声使用和算法
- soundtouch 变声使用和算法
- iOS SoundTouch 的使用
- 通过开源项目SoundTouch实现类似Tom猫的变声功能
- 关于soundtouch项目的变声的学习总结!
- 如何使用安卓变声电话软件实现边变声边通话
- iOS变声语音项目总结
- 变声宝宝怎么使用,变声宝宝使用教程
- SoundTouch实现音频变速变调
- 在ios项目中使用iConsole,实现程序内debug
- iOS 如何在程序中使用NSCache实现缓存
- Oracle 动态查询,EXECUTE IMMEDIATE select into使用方法
- gbk, gb2312,big5,unicode,utf-8,utf-16的区别
- 图片无缝滚动
- ssh服务连接时常见问题
- 最实用的10个重构小技巧排行榜,您都用过哪些呢?
- 在ios中使用soundtouch库实现变声
- 成为IT精英,我奋斗了7年
- 黑马程序员--C#编程基础
- java线程系列---Runnable和Thread的区别
- 不要一辈子靠技术生存
- 自定义信号槽需要注意的事项
- jQuery选择器整理
- localtime 和 localtime_r
- 浅谈onInterceptTouchEvent、onTouchEvent与onTouch