Use soundtouch, an open-source project, to implement voice-changing functions similar to Tomcats

Source: Internet
Author: User

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 tone while maintaining the original pace (speed;
Playback rate: change the rhythm and tone at the same time.

For more information about the soundtouch open-source project, see soundtouch library.

This article describes how to adjust the tempo and pitch parameters of soundtouch to achieve simple sound changes. More demo programs can be searched on GitHub.

The implementation principle is to first record the audio. During the recording, the audio data is processed according to the parameters set by soundtouch. After the recording is saved, the recording can be played directly, currently, we have not found how to adjust the parameters when playing the recording to achieve the sound change effect.

This example also references the online example. If you are interested, download soundtouchdemo.


Use soundtouch, an open-source project, to implement voice-changing functions similar to Tomcats

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.