# Fmod 5 not has the FMOD\_SOFTWARE? can not reverse sound

**URL:** https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477
**Category:** FMOD Engine
**Created:** [May 3, 2016, 9:29am UTC](https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477 "2016-05-03T09:29:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![qq200600](https://avatars.discourse-cdn.com/v4/letter/q/c77e96/32.png) [@qq200600](https://qa.fmod.com/u/qq200600)
#### Post date: [May 3, 2016, 9:29am UTC](https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477/1 "2016-05-03T09:29:28Z")

</div>

somebody say :  
FMOD::Sound objects loaded as FMOD\_SOFTWARE. and Channel::setFrequency as negative frequency , the sound will be reversed.

But in the Fmod5 low api, there is no FMOD\_SOFTWARE enum, what can i do ?

my code:  
result = FMOD\_System\_CreateSound(gSystem, fileName, FMOD\_LOOP\_OFF, 0, &gSound);

float freq = 0;  
FMOD\_Channel\_GetFrequency(channel, &freq);  
FMOD\_Channel\_SetFrequency(channel, -freq);

but nothing happen

please help me, thank you.

---

<div class="post-metadata">

### Author: ![brett](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/brett/32/261_2.png) [@brett](https://qa.fmod.com/u/brett)
#### Post date: [May 5, 2016, 12:47am UTC](https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477/2 "2016-05-05T00:47:07Z")

</div>

FMOD 5 has no FMOD\_SOFTWARE because all sounds are FMOD\_SOFTWARE in FMOD 5.

The reason nothing happens is you have FMOD\_LOOP\_OFF, and the sound started at position 0, went backwards then ended immediately. You have to start your sound somewhere that it can go backwards from, ie use Channel::setPosition

---

<div class="post-metadata">

### Author: ![qq200600](https://avatars.discourse-cdn.com/v4/letter/q/c77e96/32.png) [@qq200600](https://qa.fmod.com/u/qq200600)
#### Post date: [May 5, 2016, 3:11am UTC](https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477/3 "2016-05-05T03:11:10Z")

</div>

> [@](#):
>
> FMOD 5 has no FMOD\_SOFTWARE because all sounds are FMOD\_SOFTWARE in FMOD 5.
> 
> The reason nothing happens is you have FMOD\_LOOP\_OFF, and the sound started at position 0, went backwards then ended immediately. You have to start your sound somewhere that it can go backwards from, ie use Channel::setPosition

Thank you very much. I will try the Channel::setPosition

---

<div class="post-metadata">

### Author: ![qq200600](https://avatars.discourse-cdn.com/v4/letter/q/c77e96/32.png) [@qq200600](https://qa.fmod.com/u/qq200600)
#### Post date: [May 5, 2016, 5:09am UTC](https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477/4 "2016-05-05T05:09:30Z")

</div>

result = FMOD\_System\_PlaySound(gSystem, gSound, gMastergroup, true, &channel);  
CHECK\_RESULT(result, **LINE** );

```
    float freq = 0;
    FMOD_Channel_GetFrequency(channel, &freq);
    FMOD_Channel_SetFrequency(channel, -freq);

    unsigned int length;
    result = FMOD_Sound_GetLength(gSound, &length, FMOD_TIMEUNIT_MS);
    CHECK_RESULT(result, __LINE__ );

    __android_log_print(ANDROID_LOG_ERROR, "FMOD", "%i", length);

    result = FMOD_Channel_SetPosition(channel, length, FMOD_TIMEUNIT_MS);
    CHECK_RESULT(result, __LINE__ );

    FMOD_Channel_SetPaused(channel, false);

```

It not work !!! please help me.

---

<div class="post-metadata">

### Author: ![qq200600](https://avatars.discourse-cdn.com/v4/letter/q/c77e96/32.png) [@qq200600](https://qa.fmod.com/u/qq200600)
#### Post date: [May 5, 2016, 5:14am UTC](https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477/5 "2016-05-05T05:14:30Z")

</div>

OK, I soloved it by:  
result = FMOD\_Channel\_SetPosition(channel, length - 1, FMOD\_TIMEUNIT\_MS);  
CHECK\_RESULT(result, **LINE** );

---

<div class="post-metadata">

### Author: ![qq200600](https://avatars.discourse-cdn.com/v4/letter/q/c77e96/32.png) [@qq200600](https://qa.fmod.com/u/qq200600)
#### Post date: [May 5, 2016, 5:14am UTC](https://qa.fmod.com/t/fmod-5-not-has-the-fmod-software-can-not-reverse-sound/12477/6 "2016-05-05T05:14:32Z")

</div>

OK, I soloved it by:  
result = FMOD\_Channel\_SetPosition(channel, length - 1, FMOD\_TIMEUNIT\_MS);  
CHECK\_RESULT(result, **LINE** );
