# FMOD Engine

**URL:** https://qa.fmod.com/c/fmodapi/6.md?no_subcategories=false&page=11

[Latest](https://qa.fmod.com/latest.md) · [Categories](https://qa.fmod.com/categories.md) · [Tags](https://qa.fmod.com/tags.md)

**Page:** 12

---

## [DSP optimization for accessing FMOD PCM data](https://qa.fmod.com/t/dsp-optimization-for-accessing-fmod-pcm-data/21578)

<div class="topic-metadata">

**Author:** [@Snoopy20111](https://qa.fmod.com/u/Snoopy20111)\
**Replies:** 6\
**Last updated:** [May 15, 2024, 9:03pm UTC](https://qa.fmod.com/t/dsp-optimization-for-accessing-fmod-pcm-data/21578 "2024-05-15T21:03:53Z")

</div>

Howdy all, I’m working on a project to try piping FMOD’s output to a Discord Bot’s Voice Chat output. To do this, I’ve followed a few of the DSP examples and advice from primarily C# and Unity threads on this forum doin…

---

## [How to play FSB5 files](https://qa.fmod.com/t/how-to-play-fsb5-files/21615)

<div class="topic-metadata">

**Author:** [@cyb46b46](https://qa.fmod.com/u/cyb46b46)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 11:08am UTC](https://qa.fmod.com/t/how-to-play-fsb5-files/21615 "2024-05-13T11:08:17Z")

</div>

I am a beginner in FMOD core API and I am trying to play FSB5 files using C #, but it is not working. I am not sure where the problem lies, and I hope someone can answer it for me. I would greatly appreciate it. This is…

---

## [2.03: A question about VST/LADSPA/WinAmp plugin status](https://qa.fmod.com/t/2-03-a-question-about-vst-ladspa-winamp-plugin-status/21579)

<div class="topic-metadata">

**Author:** [@Ethin](https://qa.fmod.com/u/Ethin)\
**Replies:** 3\
**Last updated:** [May 13, 2024, 5:20am UTC](https://qa.fmod.com/t/2-03-a-question-about-vst-ladspa-winamp-plugin-status/21579 "2024-05-13T05:20:15Z")

</div>

I saw that in FMOD’s 2.03 change logs they note that the FMOD\_DSP\_TYPE\_VSTPLUGIN, FMOD\_DSP\_TYPE\_LADSPAPLUGIN, and FMOD\_DSP\_TYPE\_WINAMPPLUGIN DSP type values were removed. Does this mean that these plugins are no longer s…

---

## [DSP frequencies filter](https://qa.fmod.com/t/dsp-frequencies-filter/21580)

<div class="topic-metadata">

**Author:** [@spootymilk](https://qa.fmod.com/u/spootymilk)\
**Replies:** 1\
**Last updated:** [May 9, 2024, 3:17am UTC](https://qa.fmod.com/t/dsp-frequencies-filter/21580 "2024-05-09T03:17:20Z")

</div>

Hi, I need to write a dsp that uses frequency processing, is there an example to accomplish this. I studied the examples present with FMOD, and it is quite easy to manage the volume via a simple modification of the buff…

---

## [3D Attributes in a 2D game](https://qa.fmod.com/t/3d-attributes-in-a-2d-game/20534)

<div class="topic-metadata">

**Author:** [@jmcmorris](https://qa.fmod.com/u/jmcmorris)\
**Replies:** 7\
**Last updated:** [May 9, 2024, 1:51am UTC](https://qa.fmod.com/t/3d-attributes-in-a-2d-game/20534 "2024-05-09T01:51:02Z")

</div>

Hello! I’ve been having trouble getting the spatial positioning of 3D sound events to work correctly in my c++ game engine. I believe I’m simply misunderstanding something and it is likely a simple fix. My game is a 2D …

---

## [Sound played does not have the right frequency](https://qa.fmod.com/t/sound-played-does-not-have-the-right-frequency/21583)

<div class="topic-metadata">

**Author:** [@Keitel1](https://qa.fmod.com/u/Keitel1)\
**Replies:** 2\
**Last updated:** [May 8, 2024, 3:11am UTC](https://qa.fmod.com/t/sound-played-does-not-have-the-right-frequency/21583 "2024-05-08T03:11:27Z")

</div>

I have made a program in C and Winapi in Visual Studio with Windows 10 that plays a sound file with different frequencies. However, the frequency of the sounds are not correct. It is about one and a half note lower than …

---

## [Pcmreadcallback called with wrong expected args](https://qa.fmod.com/t/pcmreadcallback-called-with-wrong-expected-args/21561)

<div class="topic-metadata">

**Author:** [@Stryck](https://qa.fmod.com/u/Stryck)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 1:40am UTC](https://qa.fmod.com/t/pcmreadcallback-called-with-wrong-expected-args/21561 "2024-05-07T01:40:25Z")

</div>

Hey All, I’ve been working on streaming voice audio to FMOD, and have run into a few problems with fmod’s pcmreadcallback. Specifically, I seem to be over, then underbuffering the audio buffer so I have a gap in the beg…

---

## [getCPUUsage question](https://qa.fmod.com/t/getcpuusage-question/21558)

<div class="topic-metadata">

**Author:** [@bandures](https://qa.fmod.com/u/bandures)\
**Replies:** 1\
**Last updated:** [April 30, 2024, 11:36pm UTC](https://qa.fmod.com/t/getcpuusage-question/21558 "2024-04-30T23:36:02Z")

</div>

Hi FMOD team! I’m integrating FMOD into our performance collection system. We use Unity, so some questions are in the context of FMOD Unity integration. FMOD\_CPU\_USAGE return values in “percentage”. Could you give inf…

---

## [Sound Cannot be Heard](https://qa.fmod.com/t/sound-cannot-be-heard/21544)

<div class="topic-metadata">

**Author:** [@luoxixuan](https://qa.fmod.com/u/luoxixuan)\
**Replies:** 3\
**Last updated:** [April 29, 2024, 2:17am UTC](https://qa.fmod.com/t/sound-cannot-be-heard/21544 "2024-04-29T02:17:26Z")

</div>

load bank and bank assets, load event, play event, i havent get any error or warning msg, but the sound cannot be heard. my code is like this: FMOD::Studio::EventDescription\* eventDescription = \_loadEventDesc(eventNam…

---

## [Sample accurate virtual voices?](https://qa.fmod.com/t/sample-accurate-virtual-voices/21555)

<div class="topic-metadata">

**Author:** [@EdGray](https://qa.fmod.com/u/EdGray)\
**Replies:** 1\
**Last updated:** [April 29, 2024, 1:57am UTC](https://qa.fmod.com/t/sample-accurate-virtual-voices/21555 "2024-04-29T01:57:13Z")

</div>

I was just wondering if there’s a timeline for when/if we can expect virtual voices to stay sample accurate? I’ve just bumped into this issue on a project and I noticed it’s come up several times on here over the past fe…

---

## [What can cause "FMOD error! (13) Error loading file." when loading a codec plugin?](https://qa.fmod.com/t/what-can-cause-fmod-error-13-error-loading-file-when-loading-a-codec-plugin/21174)

<div class="topic-metadata">

**Author:** [@bLAZER](https://qa.fmod.com/u/bLAZER)\
**Replies:** 7\
**Last updated:** [April 25, 2024, 11:57pm UTC](https://qa.fmod.com/t/what-can-cause-fmod-error-13-error-loading-file-when-loading-a-codec-plugin/21174 "2024-04-25T23:57:22Z")

</div>

I’ve created several succesful codec plugins, but when I’ve succesfully compiled this 3rd party library using my standard code for an FMOD codec plugin I get: "FMOD error! (13) Error loading file. (FMOD\_ERR\_FILE\_BAD) wh…

---

## [Integrate FMOD to Cocos engine](https://qa.fmod.com/t/integrate-fmod-to-cocos-engine/21540)

<div class="topic-metadata">

**Author:** [@redsheep](https://qa.fmod.com/u/redsheep)\
**Replies:** 0\
**Last updated:** [April 25, 2024, 8:43am UTC](https://qa.fmod.com/t/integrate-fmod-to-cocos-engine/21540 "2024-04-25T08:43:23Z")

</div>

Greetings to all, I’m currently collaborating on multiple projects where my partner is utilizing the Cocos Creator ver 3.8 for game development. For several months now, I’ve been on the lookout for guidance or insights …

---

## [Is "encryptionkey" in "FMOD\_STUDIO\_ADVANCEDSETTINGS" valid in HTML5 FMOD?](https://qa.fmod.com/t/is-encryptionkey-in-fmod-studio-advancedsettings-valid-in-html5-fmod/21528)

<div class="topic-metadata">

**Author:** [@john\_doe](https://qa.fmod.com/u/john_doe)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 6:23am UTC](https://qa.fmod.com/t/is-encryptionkey-in-fmod-studio-advancedsettings-valid-in-html5-fmod/21528 "2024-04-24T06:23:10Z")

</div>

I have some encrypted bank files, I want to play the event of these bank file in my website, but after some tests, it seems that I could not decrypt these bank file use “encryptionkey” in “FMOD\_STUDIO\_ADVANCEDSETTINGS” …

---

## [How to add multiple oscillator effects to play at the same time](https://qa.fmod.com/t/how-to-add-multiple-oscillator-effects-to-play-at-the-same-time/21523)

<div class="topic-metadata">

**Author:** [@PianoBoy](https://qa.fmod.com/u/PianoBoy)\
**Replies:** 1\
**Last updated:** [April 23, 2024, 12:51am UTC](https://qa.fmod.com/t/how-to-add-multiple-oscillator-effects-to-play-at-the-same-time/21523 "2024-04-23T00:51:46Z")

</div>

I’m trying to create an in-game Oscillator by adding various Oscillator effects to an EventInstance manually, but I’m having trouble. It only plays one of them, and I’m wondering if it has to do with the dsp index? Or is…

---

## [How can I exclude referenced events from Studio::Bank::getEventList list?](https://qa.fmod.com/t/how-can-i-exclude-referenced-events-from-studio-geteventlist-list/21514)

<div class="topic-metadata">

**Author:** [@Denamo](https://qa.fmod.com/u/Denamo)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 3:27am UTC](https://qa.fmod.com/t/how-can-i-exclude-referenced-events-from-studio-geteventlist-list/21514 "2024-04-22T03:27:34Z")

</div>

Not a issue. This was a miss by our soundengineer. He had selected “Include referenced events in banks” Hi, I am trying to get a list of all events that are included in a bank but I do not want referenced events, only…

---

## [Creating an Oscilloscope in C#](https://qa.fmod.com/t/creating-an-oscilloscope-in-c/21501)

<div class="topic-metadata">

**Author:** [@PianoBoy](https://qa.fmod.com/u/PianoBoy)\
**Replies:** 4\
**Last updated:** [April 19, 2024, 12:55am UTC](https://qa.fmod.com/t/creating-an-oscilloscope-in-c/21501 "2024-04-19T00:55:25Z")

</div>

I’ve been wanting to create an oscilloscope by getting spectrum data from the FFT dsp, although I’m not sure if that’s possible or not. I can’t use Unity for this and I can’t use any external software or equipment, just …

---

## [Unity Silently crashes when calling Channel.SetPaused](https://qa.fmod.com/t/unity-silently-crashes-when-calling-channel-setpaused/21441)

<div class="topic-metadata">

**Author:** [@Jknohl](https://qa.fmod.com/u/Jknohl)\
**Replies:** 7\
**Last updated:** [April 19, 2024, 12:25am UTC](https://qa.fmod.com/t/unity-silently-crashes-when-calling-channel-setpaused/21441 "2024-04-19T00:25:14Z")

</div>

Hello, I am creating FMOD events during runtime and mostly use the api to play stuff. After a while triggering multiple sounds we sometimes run into a silent crash. This is the stack trace. It seems like the channel I…

---

## [Lag when calling FMOD\_System\_Init in 2.02.07 (vs 1.10.20)](https://qa.fmod.com/t/lag-when-calling-fmod-system-init-in-2-02-07-vs-1-10-20/18883)

<div class="topic-metadata">

**Author:** [@sviudes](https://qa.fmod.com/u/sviudes)\
**Replies:** 7\
**Last updated:** [April 17, 2024, 2:43pm UTC](https://qa.fmod.com/t/lag-when-calling-fmod-system-init-in-2-02-07-vs-1-10-20/18883 "2024-04-17T14:43:38Z")

</div>

Hello. I was using FMOD core (Android) 1.10.20, and now I’ve updated to 2.02.07 and the first time I play an audio (calling also to FMOD\_System\_Create and FMOD\_System\_Init) there is a noticeable lag (not noticeable with…

---

## [Ways to reduce the size of audio for transmission over a network](https://qa.fmod.com/t/ways-to-reduce-the-size-of-audio-for-transmission-over-a-network/21478)

<div class="topic-metadata">

**Author:** [@hardsmoke](https://qa.fmod.com/u/hardsmoke)\
**Replies:** 1\
**Last updated:** [April 17, 2024, 2:36am UTC](https://qa.fmod.com/t/ways-to-reduce-the-size-of-audio-for-transmission-over-a-network/21478 "2024-04-17T02:36:29Z")

</div>

Hello, I’m making voice chat for a game. It’s ready and working, but the size of the transmitted audio is very large: when testing audio with 3 simultaneous players, it is about 300 kilobytes per second, and the audio is…

---

## [How can I download the FMOD Engine API from a terminal or script?](https://qa.fmod.com/t/how-can-i-download-the-fmod-engine-api-from-a-terminal-or-script/21466)

<div class="topic-metadata">

**Author:** [@bitwize](https://qa.fmod.com/u/bitwize)\
**Replies:** 5\
**Last updated:** [April 16, 2024, 10:37am UTC](https://qa.fmod.com/t/how-can-i-download-the-fmod-engine-api-from-a-terminal-or-script/21466 "2024-04-16T10:37:49Z")

</div>

Hi, I would like to create continuous integration and deployment builds of code that uses the FMOD engine API, and for that I would need to have FMOD installed on the runner doing the building. Are there any best-practic…

---

## [When recording mic input to wav file, second of silence exists at beginning of file](https://qa.fmod.com/t/when-recording-mic-input-to-wav-file-second-of-silence-exists-at-beginning-of-file/21470)

<div class="topic-metadata">

**Author:** [@capsulecity](https://qa.fmod.com/u/capsulecity)\
**Replies:** 4\
**Last updated:** [April 12, 2024, 5:16am UTC](https://qa.fmod.com/t/when-recording-mic-input-to-wav-file-second-of-silence-exists-at-beginning-of-file/21470 "2024-04-12T05:16:00Z")

</div>

Whenever I record microphone input to a wave file, silence is always inserted at the beginning of the track. I am using two FMOD systems (one for recording and another for wav writing the currently recording sound) metho…

---

## [Stop Playing OneShot?](https://qa.fmod.com/t/stop-playing-oneshot/19854)

<div class="topic-metadata">

**Author:** [@libio1991](https://qa.fmod.com/u/libio1991)\
**Replies:** 6\
**Last updated:** [April 4, 2024, 3:38am UTC](https://qa.fmod.com/t/stop-playing-oneshot/19854 "2024-04-04T03:38:10Z")

</div>

Good Evening, I am playing a sound like this: public EventReference sound; public void PlaySound() { RuntimeManager.PlayOneShot(sound); } This works, but I need to stop it early sometimes. What is the simples…

---

## [Need help with pitch shifting 2 sounds at once](https://qa.fmod.com/t/need-help-with-pitch-shifting-2-sounds-at-once/21227)

<div class="topic-metadata">

**Author:** [@iluvlincoln26](https://qa.fmod.com/u/iluvlincoln26)\
**Replies:** 6\
**Last updated:** [March 6, 2024, 12:53am UTC](https://qa.fmod.com/t/need-help-with-pitch-shifting-2-sounds-at-once/21227 "2024-03-06T00:53:12Z")

</div>

What I’m trying to do is I have each open guitar string recorded and I’m pitch shifting to reach the other notes and I’m trying to play 2 pitch shifted notes at the same time so I can hear the harmony but whenever I add …

---

## [Distorted sound for generated Siri voice – cannot get rid of it](https://qa.fmod.com/t/distorted-sound-for-generated-siri-voice-cannot-get-rid-of-it/20834)

<div class="topic-metadata">

**Author:** [@granjow](https://qa.fmod.com/u/granjow)\
**Replies:** 4\
**Last updated:** [March 26, 2024, 9:19pm UTC](https://qa.fmod.com/t/distorted-sound-for-generated-siri-voice-cannot-get-rid-of-it/20834 "2024-03-26T21:19:20Z")

</div>

Hi everybody, I’m having a very weird issue. We use some voice files generated by Siri, and while these sound files play fine on my laptop, they are inaudible (very low volume and totally scrambled) when running it from…

---

## [Convolution reverb, very high memory usage](https://qa.fmod.com/t/convolution-reverb-very-high-memory-usage/15915)

<div class="topic-metadata">

**Author:** [@mgalach](https://qa.fmod.com/u/mgalach)\
**Replies:** 11\
**Last updated:** [March 26, 2024, 12:19pm UTC](https://qa.fmod.com/t/convolution-reverb-very-high-memory-usage/15915 "2024-03-26T12:19:14Z")

</div>

I have about 10 returns, each with convolution reverb (each reverb with about 1MB .wav file). In game they are using over 130MB of memory all the time… Is it possible to reduce memory usage somehow, I have maximum two r…

---

## [Min Max distance set from code not working correctly](https://qa.fmod.com/t/min-max-distance-set-from-code-not-working-correctly/21398)

<div class="topic-metadata">

**Author:** [@Bendeguz](https://qa.fmod.com/u/Bendeguz)\
**Replies:** 4\
**Last updated:** [March 26, 2024, 8:01am UTC](https://qa.fmod.com/t/min-max-distance-set-from-code-not-working-correctly/21398 "2024-03-26T08:01:08Z")

</div>

FMOD\_STUDIO\_EVENT\_PROPERTY\_MAXIMUM\_DISTANCE & FMOD\_STUDIO\_EVENT\_PROPERTY\_MINIMUM\_DISTANCE These properties do not work when set from code if the override option is checked on the Studio side. If it’s off, it works as ex…

---

## [How to set up FMOD Engine with Qt6 MinGW 64-bit](https://qa.fmod.com/t/how-to-set-up-fmod-engine-with-qt6-mingw-64-bit/21384)

<div class="topic-metadata">

**Author:** [@8Observer8](https://qa.fmod.com/u/8Observer8)\
**Replies:** 10\
**Last updated:** [March 25, 2024, 11:00am UTC](https://qa.fmod.com/t/how-to-set-up-fmod-engine-with-qt6-mingw-64-bit/21384 "2024-03-25T11:00:17Z")

</div>

I want to try to run FMOD on Windows 10 with Qt6 MinGW 64-bit but I have a problem: undefined reference to \`FMOD\_System\_Create'. My steps are below. I downloaded “FMOD Engine”: This is the contains of the “lib/x64” f…

---

## [Error with shoutcast radio stream](https://qa.fmod.com/t/error-with-shoutcast-radio-stream/16465)

<div class="topic-metadata">

**Author:** [@stargx](https://qa.fmod.com/u/stargx)\
**Replies:** 9\
**Last updated:** [February 20, 2022, 10:38pm UTC](https://qa.fmod.com/t/error-with-shoutcast-radio-stream/16465 "2022-02-20T22:38:56Z")

</div>

I’m trying to play a shoutcast radio stream. Using the following code and a shoutcast URL results in an HTTP error: result = system-\>createStream(“http://yp.shoutcast.com/sbin/tunein-station.pls?id=1817772”, FMOD\_DEFAU…

---

## [Trigger Sustain Points in Unity](https://qa.fmod.com/t/trigger-sustain-points-in-unity/21395)

<div class="topic-metadata">

**Author:** [@Aknstler](https://qa.fmod.com/u/Aknstler)\
**Replies:** 1\
**Last updated:** [March 22, 2024, 12:16am UTC](https://qa.fmod.com/t/trigger-sustain-points-in-unity/21395 "2024-03-22T00:16:12Z")

</div>

Hi, I’ve created an Event Instance and started, but when I try to trigger the sustain point by EventInstance.triggerCue(); like specified in the documentation I get this error in Unity ‘EventInstance’ does not contain a…

---

## [Requesting fmod.pdb for FMOD 1.8.14](https://qa.fmod.com/t/requesting-fmod-pdb-for-fmod-1-8-14/21378)

<div class="topic-metadata">

**Author:** [@Johannes86](https://qa.fmod.com/u/Johannes86)\
**Replies:** 1\
**Last updated:** [March 18, 2024, 9:07pm UTC](https://qa.fmod.com/t/requesting-fmod-pdb-for-fmod-1-8-14/21378 "2024-03-18T21:07:50Z")

</div>

Hey guys, for a long-term simulator-project with CryEngine 5.6.4 (version from Dec 2019) we are using FMOD API version 1.08.14 (build 80900). Now we have crashes in our application and the crash is in fmod.dll (version …

[Previous page](https://qa.fmod.com/c/fmodapi/6.md?no_subcategories=false&page=10)

[Next page](https://qa.fmod.com/c/fmodapi/6.md?no_subcategories=false&page=12)
