processing library that provides three function modules: Variable Speed, variable adjustment, and simultaneous variable adjustment. It can operate media streams in real time and audio files. 32-bit floating point or 16-Bit fixed point. Single or dual channels are supported. The sampling rate ranges from 8 KB to 8 KB ~ 48 k.
The process is as follows:
First download soundtouch open source, which can be
I have previously written an article "using the SoundTouch library in IOS to achieve sound changes ".
Finally, many of my friends posted on their blog that the code can run on the simulator and cannot run on a real machine. They have been busy some time ago, 2013 the rankings of good-looking American TV series do not have time to go through the code and check it out.
Today, I checked the root cause of the problem and passed the test on IPhone 4 (ios5.
Soundtouch is an open-source audio processing library used to change the pace, tone, and playback rate of audio streams or audio files.
By adjusting the tempo, pitch, and playback rates, you can achieve sound changes similar to those of tomcats. The official explanations for these three parameters are as follows:
Tempo (time period): changes the speed and slowness of audio playback without affecting the sound tone.Pitch (key indicator): changes the
SoundTouch audio processing database initialization process profiling defines a variable SoundTouchm_SoundTouch; SoundTouch's derivation relation namely osamplepipe-processing oprocessor-SoundTouch (process [1]). Therefore, the base class paiosamplepipe is constructed first, and then the export oproces, then, SoundTouch is derived from kerberoprocessor.
http://yarin.blog.51cto.com/1130898/640398First download SoundTouch open Source Library, you can go to the official website to find, http://www.surina.net/soundtouch/.Here are a few of the main adjustments we want to make to modify the audio file:
msoundtouch.setsamplerate (samplerate); //Set the sampling frequency of the sound
Msoundtouch.setchannels (
Soundtouch audio processing library is easy to use. After simple compilation, you can set the compiling environment. Take VC as an example.
Directly include the include path under the soundtouch directory, and then add the soundtouch directory in Lib.
And then add the header file and referenced Library to the header file of the Code. According to the macro _ debu
Soundtouch audio processing database Initialization Process Analysis
Define a variable soundtouch m_soundtouch;
Derivation of soundtouch
Export osamplepipe-> export oprocessor-> soundtouch (process [1])
Therefore, first construct the base class kerberosamplepipe, then derive the kerberoprocessor, and then derive the
Soundtouch audio processing database source code analysis and algorithm extraction (3)
Soundtouch audio processing database Initialization Process Analysis 2Next to soundtouch audio processing database initialization processRelationship between the tdstretch class and the base class: Export osamplepipe-> export oprocessor-> tdstretchThe class tdstretch * ptdstret
A supplement to soundtouch construction process initialization.In the soundtouch constructor, we noticed that there is such a function calceffectiverateandtempo ()Soundtouch: soundtouch (){// Initialize rate transposer and tempo changer instancesPratetransposer = ratetransposer: newinstance ();Ptdstretch = tdstretch: n
SoundTouch variable speed algorithm is similar to Sola algorithm, a closer look only know is Wsola algorithm.Last week there was a need to apply this variable speed to live packet processing, somewhat similar to the WEBRTC NETEQ processing mechanism.Using SoundTouch directly, there are some problems:1. A normal, a variable speed, the middle will appear discontinuous, there is impact. or switching at differe
Implementation of tdstretch class
The soundtouch class member function putsamples (const sampletype * samples, uint nsamples) is implemented as follows. According to the analysis in the previous article, the rate is a ratio. If it is greater than 1, the speed is faster, in this case, the playback speed slows down.
......
# Ifndef prevent_click_at_rate_crossover
Else if (rate
{
// Transpose the rate down, output the transposed sound to tempo changer B
Jet Robot (Jet Robot) game released Jet robot is a casual flying game, game screen or more interesting, the robot is very cute, click to fly, let the small robot fly higher the better. Game Introduction Jet bot: In this game, you have to use his jet pack to help as high as possible. But flying is not as simple as it looks. Avoid obstacles on the way, as well as avoiding deadly traps, collecting as much fuel as possible and exceeding everything. Post your score to the online High score table and
The Neon City (Neon) released Neon City is a very classic racing mobile phone game, the game has a new racing, cool special effects and beautiful game lighting screen design. Interested in the small partners to download the Neon City hand tour Try it! This is a good game yo! Game Introduction "Neon City" is a beautiful light-screen racing mobile phone games. In this game, you will be a pilot flying a space fighter. This game uses the famous film Tron'
Jdk1.6 official download _ jdk6 official: http://www.java.net/download/jdk6/6u10/promoted/b32/binaries/jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe
Download jdk6 api chm Chinese reference:Jdk6apichinese reference 070114.rar:Http://chinesedocument.com/upimg/soft/jdk6apichinese reference 070114.rarJava SE 6 API Chinese CHM
JDK is the core of the entire Java, including the Java Runtime Environment (Java runtime envirnment), a bunch of Java tools and the Basic Java class library (RT. Jar ). No matter what Java application server is actually built into a certain version of JDK. Therefore, mastering JDK is the first step to learn java well. The most popular JDK is the JDK released by Sun. In addition to sun, many companies and organizations have developed their own JDK, such as JDK developed by IBM and jrocket of Bea,
After the introduction in the previous sections, you must have a preliminary understanding of St. In the subsequent sections, I will propose some important algorithms and implementations of St. First, let's talk about the implementation of digital
// C # download the image file locally, C #, C #, download the image, download the file, and download the Function// Download the image from the image address to the local disk// Save the binary file to the disk
Using system;Using system. drawing;Using system. collections;
Yong Chuang Tian Ta (TOTEM) game released Game Introduction"Yong Chuang Tian Tower Chinese version" is a fun puzzle game, drawing wind design is very retro, players in the game in addition to collecting hidden scrolls to solve puzzles, play a relatively simple way up the ladder to go up, but the operation is not so easy oh, come download the challenge! "Introduction to the game""Yong Chuang Tian Ta" This is a 3D of agile puzzle Hand tour. In the game,
Plsqldev download | plsqldev download cracked version download | plsqldev download
PL/SQL developer is an integrated development environment dedicated for development, testing, debugging, and optimization of Oracle PL/SQL storage.ProgramUnits, such as triggers. PL/SQL developer has comprehensive functions and greatly
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.