# Chnage voice of file as quick as posibly

**URL:** <https://qa.fmod.com/t/chnage-voice-of-file-as-quick-as-posibly/19493>\
**Category:** FMOD Engine\
**Created:** [November 9, 2022, 7:02am UTC](https://qa.fmod.com/t/chnage-voice-of-file-as-quick-as-posibly/19493 "2022-11-09T07:02:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FineJared8](https://avatars.discourse-cdn.com/v4/letter/f/e19adc/32.png) [@FineJared8](https://qa.fmod.com/u/FineJared8)\
**Post date:** [November 9, 2022, 7:02am UTC](https://qa.fmod.com/t/chnage-voice-of-file-as-quick-as-posibly/19493/1 "2022-11-09T07:02:35Z")

</div>

I want to change voice of file as quick as posibly. I used follow code:

result = system-\>playSound(sound, 0, 0, &channel);  
ERRCHECK(result);  
//Spped 10 times  
float frequency;  
channel-\>getFrequency(&frequency);  
frequency = frequency \* 60;  
channel-\>setFrequency(frequency);

But it seems doesn’t work. Could you give me some advice? I really need it to develop a tool for file voice changing.

Thanks.
