# FMOD Engine

**URL:** https://qa.fmod.com/c/fmodapi/6.md?page=42

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

**Page:** 43

---

## [The music is stopped for a short time](https://qa.fmod.com/t/the-music-is-stopped-for-a-short-time/14088)

<div class="topic-metadata">

**Author:** [@Jedah](https://qa.fmod.com/u/Jedah)\
**Replies:** 3\
**Last updated:** [September 11, 2018, 2:25am UTC](https://qa.fmod.com/t/the-music-is-stopped-for-a-short-time/14088 "2018-09-11T02:25:19Z")

</div>

void MusicPlayer::multSpeedSpecific(int index, float speed){ speeds\[index\] = speeds\[index\] \* speed; FMOD\_DSP\_SetParameterFloat(dsp, 0, 1/speeds\[index\]); FMOD\_Channel\_SetPitch(channel\[index\], speeds\[index\]); FMOD\_Chan…

---

## [Deleting FMOD\_CHANNEL array crashes the program.](https://qa.fmod.com/t/deleting-fmod-channel-array-crashes-the-program/14082)

<div class="topic-metadata">

**Author:** [@Jedah](https://qa.fmod.com/u/Jedah)\
**Replies:** 1\
**Last updated:** [September 3, 2018, 12:59am UTC](https://qa.fmod.com/t/deleting-fmod-channel-array-crashes-the-program/14082 "2018-09-03T00:59:21Z")

</div>

FMOD\_CHANNEL\*\* channel = static\_cast\<FMOD\_CHANNEL\*\*\>(realloc(channel, musicCountsizeof(FMOD\_CHANNEL))); Every time a music is added, a memory is dynamically allocated to channel array. However, when I free the array li…

---

## [Does fmod support applying sf2 extension?](https://qa.fmod.com/t/does-fmod-support-applying-sf2-extension/14073)

<div class="topic-metadata">

**Author:** [@Jedah](https://qa.fmod.com/u/Jedah)\
**Replies:** 1\
**Last updated:** [August 31, 2018, 5:42am UTC](https://qa.fmod.com/t/does-fmod-support-applying-sf2-extension/14073 "2018-08-31T05:42:30Z")

</div>

I want to apply a downloaded soundfont when I play the MIDI file. It seems that it was not supported in the past. How about now?

---

## [Question about Channel::getPosition and module time units](https://qa.fmod.com/t/question-about-channel-getposition-and-module-time-units/14072)

<div class="topic-metadata">

**Author:** [@M.S.T.O.P](https://qa.fmod.com/u/M.S.T.O.P)\
**Replies:** 1\
**Last updated:** [August 30, 2018, 5:55am UTC](https://qa.fmod.com/t/question-about-channel-getposition-and-module-time-units/14072 "2018-08-30T05:55:41Z")

</div>

Is it possible to get a more accurate module order/row position from calling getPosition on a Channel that is playing a MOD/S3M/XM/IT file? I’ve noticed that the position returned from calling Channel::getPosition with …

---

## [Calculate the frequency with spectrum data](https://qa.fmod.com/t/calculate-the-frequency-with-spectrum-data/14042)

<div class="topic-metadata">

**Author:** [@fleshy](https://qa.fmod.com/u/fleshy)\
**Replies:** 3\
**Last updated:** [August 23, 2018, 5:55am UTC](https://qa.fmod.com/t/calculate-the-frequency-with-spectrum-data/14042 "2018-08-23T05:55:27Z")

</div>

Hello, I have managed to get the spectrum data but I am a bit confused on how to calculate the frequency from those values. I’ve read somewhere in the forums that it is the number of entries (length?) in the spectrum wi…

---

## [Something overrides my setReverbProperty on Channel](https://qa.fmod.com/t/something-overrides-my-setreverbproperty-on-channel/14037)

<div class="topic-metadata">

**Author:** [@Blodyavenger](https://qa.fmod.com/u/Blodyavenger)\
**Replies:** 1\
**Last updated:** [August 14, 2018, 5:18am UTC](https://qa.fmod.com/t/something-overrides-my-setreverbproperty-on-channel/14037 "2018-08-14T05:18:30Z")

</div>

Hello! I’m using lowlevel FMOD api for my game and I came to one weird finding. I’m using general system reverb for most of the sounds except for specific ones like the main menu navigation. Pseudo code: Init() { sys…

---

## [add DSP Plugin Well, but failed to play](https://qa.fmod.com/t/add-dsp-plugin-well-but-failed-to-play/14021)

<div class="topic-metadata">

**Author:** [@muyuenhao](https://qa.fmod.com/u/muyuenhao)\
**Replies:** 5\
**Last updated:** [August 6, 2018, 11:06pm UTC](https://qa.fmod.com/t/add-dsp-plugin-well-but-failed-to-play/14021 "2018-08-06T23:06:29Z")

</div>

I have another question.When I Load a DSP Plugin like “fmod\_noise.dll” which given by fmod examples, play a song,but there is no voice at all.My code in below, I really do not know what’s wrong with it. unsigned int bas…

---

## [Resample Raw Audio Data](https://qa.fmod.com/t/resample-raw-audio-data/14029)

<div class="topic-metadata">

**Author:** [@Spirrwell](https://qa.fmod.com/u/Spirrwell)\
**Replies:** 1\
**Last updated:** [August 5, 2018, 8:51am UTC](https://qa.fmod.com/t/resample-raw-audio-data/14029 "2018-08-05T08:51:26Z")

</div>

Hello there! My goal is to be able to open any of the various audio formats with FMOD, and export raw PCM data at a sample rate of 48 kHz. It seems I can do mostly that, but I can’t seem to figure out how to resample t…

---

## [I can't play it module it just crashes with no error message](https://qa.fmod.com/t/i-cant-play-it-module-it-just-crashes-with-no-error-message/14031)

<div class="topic-metadata">

**Author:** [@Cyndanera](https://qa.fmod.com/u/Cyndanera)\
**Replies:** 3\
**Last updated:** [August 4, 2018, 4:28pm UTC](https://qa.fmod.com/t/i-cant-play-it-module-it-just-crashes-with-no-error-message/14031 "2018-08-04T16:28:55Z")

</div>

result = FMOD::System\_Create(&system); result = system-\>getVersion(&version); if (version \< FMOD\_VERSION) { std::cout \<\< "FMOD lib version %08x doesn't match header version %08x" \<\< std::endl; } result = system-\>c…

---

## [\[Mac\] Writing to multiple wav files within a program without releasing System](https://qa.fmod.com/t/mac-writing-to-multiple-wav-files-within-a-program-without-releasing-system/14020)

<div class="topic-metadata">

**Author:** [@bidit](https://qa.fmod.com/u/bidit)\
**Replies:** 1\
**Last updated:** [August 3, 2018, 3:47am UTC](https://qa.fmod.com/t/mac-writing-to-multiple-wav-files-within-a-program-without-releasing-system/14020 "2018-08-03T03:47:19Z")

</div>

Hi, I’m writing to a wav file with FMOD\_OUTPUTTYPE\_WAVWRITER\_NRT but instead of writing it into a single wav file, I want to piece it up into many different chunks. The first way I tried (and rather stupidly) is to rel…

---

## [Confusion about DSP Type](https://qa.fmod.com/t/confusion-about-dsp-type/14016)

<div class="topic-metadata">

**Author:** [@muyuenhao](https://qa.fmod.com/u/muyuenhao)\
**Replies:** 3\
**Last updated:** [July 30, 2018, 12:08am UTC](https://qa.fmod.com/t/confusion-about-dsp-type/14016 "2018-07-30T00:08:17Z")

</div>

Hi,everybody: I want to add some DSP types in my code,but I do not know how it plays. eg.When I add EQ and LOWPASS DSPtype,then how it plays? First Process EQ data, and base on EQ effect to process lowpass type ,or not…

---

## [Reading raw wav data from memory?](https://qa.fmod.com/t/reading-raw-wav-data-from-memory/14012)

<div class="topic-metadata">

**Author:** [@Cyndanera](https://qa.fmod.com/u/Cyndanera)\
**Replies:** 1\
**Last updated:** [July 25, 2018, 1:36am UTC](https://qa.fmod.com/t/reading-raw-wav-data-from-memory/14012 "2018-07-25T01:36:50Z")

</div>

\#include “FAudiolib.h” void FAudioLib::LoadSoundData(std::string filename) { std::string header; long version; long nofdefines; long nofstreams; long nofwaves; long nofsoundarchives; long nofmodules; std::ifstre…

---

## [PCM of microphone input](https://qa.fmod.com/t/pcm-of-microphone-input/12943)

<div class="topic-metadata">

**Author:** [@anon18131903](https://qa.fmod.com/u/anon18131903)\
**Replies:** 6\
**Last updated:** [July 24, 2018, 2:53am UTC](https://qa.fmod.com/t/pcm-of-microphone-input/12943 "2018-07-24T02:53:48Z")

</div>

Is there a fastest way to get the PCM of microphone input? I’m looking at the record and customDSP examples, but since I don’t need i.e. to play back the sound, record it to disk, or perform any effects with the dsp, I a…

---

## [Number of inputs / outputs of a soundcard - low level API](https://qa.fmod.com/t/number-of-inputs-outputs-of-a-soundcard-low-level-api/14008)

<div class="topic-metadata">

**Author:** [@morganitos](https://qa.fmod.com/u/morganitos)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 12:48am UTC](https://qa.fmod.com/t/number-of-inputs-outputs-of-a-soundcard-low-level-api/14008 "2018-07-24T00:48:43Z")

</div>

Hi everyone, Here is my problem, a simple basic one, but I cannot find any informations about this… I’m developing a software for mac osx, using fmod low level api. I know how to discover the different sound cards con…

---

## [Channel Callback JavaScript](https://qa.fmod.com/t/channel-callback-javascript/14010)

<div class="topic-metadata">

**Author:** [@jaycliff-espc](https://qa.fmod.com/u/jaycliff-espc)\
**Replies:** 0\
**Last updated:** [July 20, 2018, 2:49am UTC](https://qa.fmod.com/t/channel-callback-javascript/14010 "2018-07-20T02:49:48Z")

</div>

How do you add a callback function to a channel in JavaScript? I tried following the doc example here https://www.fmod.com/docs/api/content/generated/FMOD\_Channel\_SetCallback.html but the callback doesn’t fire :frowning…

---

## [FMOD\_DSP\_TYPE\_MULTIBAND\_EQ - How to Equalize Magnitudes of FFT](https://qa.fmod.com/t/fmod-dsp-type-multiband-eq-how-to-equalize-magnitudes-of-fft/13969)

<div class="topic-metadata">

**Author:** [@Klabauk](https://qa.fmod.com/u/Klabauk)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 5:28am UTC](https://qa.fmod.com/t/fmod-dsp-type-multiband-eq-how-to-equalize-magnitudes-of-fft/13969 "2018-06-29T05:28:06Z")

</div>

Hello everybody, I am trying to use FMOD\_DSP\_TYPE\_MULTIBAND\_EQ to create an equalizer in order to flaten the magintues of the FFT to get equal loudness in every frequency (band). Lets say I know the frequency bands and…

---

## [Trying to get the Spectrum but my channel is always 0 (C#)](https://qa.fmod.com/t/trying-to-get-the-spectrum-but-my-channel-is-always-0-c/13962)

<div class="topic-metadata">

**Author:** [@fleshy](https://qa.fmod.com/u/fleshy)\
**Replies:** 1\
**Last updated:** [June 25, 2018, 5:35am UTC](https://qa.fmod.com/t/trying-to-get-the-spectrum-but-my-channel-is-always-0-c/13962 "2018-06-25T05:35:29Z")

</div>

I am trying to get the spectrum of the song (I’m new to FMOD) but the waveFormBuffer.numchannel is always zero. To get the spectrum I have followed the answers to some posts on the forum. My question is, is there anythin…

---

## [Unable to setup Resonance Audio from Low Level API](https://qa.fmod.com/t/unable-to-setup-resonance-audio-from-low-level-api/13950)

<div class="topic-metadata">

**Author:** [@Abvadabra](https://qa.fmod.com/u/Abvadabra)\
**Replies:** 3\
**Last updated:** [June 24, 2018, 10:48pm UTC](https://qa.fmod.com/t/unable-to-setup-resonance-audio-from-low-level-api/13950 "2018-06-24T22:48:04Z")

</div>

I am struggling to enable Resonance Audio sound spatialization when using Resonance Audio plugin for FMOD and trying to setup DSPs manually, without FMOD Studio. My code for plugin loading and DSPs’ setup: auto system …

---

## [FMOD - Callback on Marker in Xcode](https://qa.fmod.com/t/fmod-callback-on-marker-in-xcode/12601)

<div class="topic-metadata">

**Author:** [@metaphysician](https://qa.fmod.com/u/metaphysician)\
**Replies:** 3\
**Last updated:** [June 21, 2018, 4:44am UTC](https://qa.fmod.com/t/fmod-callback-on-marker-in-xcode/12601 "2018-06-21T04:44:14Z")

</div>

hi folks i’m currently using FMOD on an iOS project and i want to use a callback to determine if the event playing reaches a certain marker. i’ve looked at the music callback example but it shows every type of callback …

---

## [x86\_64 EABI support on Android in Low-Level API](https://qa.fmod.com/t/x86-64-eabi-support-on-android-in-low-level-api/13938)

<div class="topic-metadata">

**Author:** [@Antonz1](https://qa.fmod.com/u/Antonz1)\
**Replies:** 1\
**Last updated:** [June 15, 2018, 1:10am UTC](https://qa.fmod.com/t/x86-64-eabi-support-on-android-in-low-level-api/13938 "2018-06-15T01:10:09Z")

</div>

Hello. Are there plans to provide support for x86\_64 architecture on Android in near future? It’s not critical for us, just FMOD is a sole native library that’s missing this support in our project.

---

## [FMOD\_ERR\_INVALID\_PARAM when adding DSP to ChannelGroup](https://qa.fmod.com/t/fmod-err-invalid-param-when-adding-dsp-to-channelgroup/13939)

<div class="topic-metadata">

**Author:** [@Abvadabra](https://qa.fmod.com/u/Abvadabra)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 11:52pm UTC](https://qa.fmod.com/t/fmod-err-invalid-param-when-adding-dsp-to-channelgroup/13939 "2018-06-14T23:52:59Z")

</div>

I keep getting FMOD\_ERR\_INVALID\_PARAM when trying to add DSP of type FMOD\_DSP\_TYPE\_LOWPASS to custom ChannelGroup. I double checked that the DSP is created successfully and ChannelGroup is initialized properly. What els…

---

## [html example download](https://qa.fmod.com/t/html-example-download/13933)

<div class="topic-metadata">

**Author:** [@qusax](https://qa.fmod.com/u/qusax)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 4:06am UTC](https://qa.fmod.com/t/html-example-download/13933 "2018-06-11T04:06:15Z")

</div>

Hi! I found the hmtl example on the link below. Does anyone know were i can download the code of this example? Or are there any other examples of code? What i try to do is control fmod from external source http://ww…

---

## [ASIO device init: rate check assertion](https://qa.fmod.com/t/asio-device-init-rate-check-assertion/13915)

<div class="topic-metadata">

**Author:** [@vladimir.zibarov](https://qa.fmod.com/u/vladimir.zibarov)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 7:07am UTC](https://qa.fmod.com/t/asio-device-init-rate-check-assertion/13915 "2018-06-07T07:07:03Z")

</div>

Hello. When initing ASIO device ‘Realtek ASIO’ with FMOD low level API (tested on 11005 and 10913) I get this error: \[ERR\] assert: assertion: ‘(rate \>= 8000) && (rate \<= 192000)’ failed FMOD\_System\_SetSoftwareFormat d…

---

## [Using FMOD plugins with low level api](https://qa.fmod.com/t/using-fmod-plugins-with-low-level-api/13922)

<div class="topic-metadata">

**Author:** [@Abvadabra](https://qa.fmod.com/u/Abvadabra)\
**Replies:** 1\
**Last updated:** [June 7, 2018, 12:27am UTC](https://qa.fmod.com/t/using-fmod-plugins-with-low-level-api/13922 "2018-06-07T00:27:27Z")

</div>

Is it possible to use plugins designed for FMOD Studio directly from low level api without using studio? Specifically I am interested in applying Steam Audio and Resonance Audio to ChannelGroup mix. Any hints?

---

## [ASIO device init. DSP buffer size error](https://qa.fmod.com/t/asio-device-init-dsp-buffer-size-error/13914)

<div class="topic-metadata">

**Author:** [@vladimir.zibarov](https://qa.fmod.com/u/vladimir.zibarov)\
**Replies:** 4\
**Last updated:** [June 6, 2018, 6:47am UTC](https://qa.fmod.com/t/asio-device-init-dsp-buffer-size-error/13914 "2018-06-06T06:47:20Z")

</div>

Hello. I am trying to init ASIO device FCA610 (Behringer) with FMOD low level API version 11005 (also tried with 10913 - same error): \[LOG\] SystemI::init : Initialize version=11005 (94661), m…

---

## [MIDI sounds drunk in html5](https://qa.fmod.com/t/midi-sounds-drunk-in-html5/13917)

<div class="topic-metadata">

**Author:** [@RTSeth](https://qa.fmod.com/u/RTSeth)\
**Replies:** 3\
**Last updated:** [June 1, 2018, 4:44am UTC](https://qa.fmod.com/t/midi-sounds-drunk-in-html5/13917 "2018-06-01T04:44:55Z")

</div>

Is there a FMOD MIDI html5 demo/example anywhere that shows this working? My game Dink Smallwood (open source at svn://rtsoft.com/rtsvn/projects/RTDink ) uses FMOD and it runs fine on Win/Mac/iOS/Android, but the html5 …

---

## [Strange log in android platform!](https://qa.fmod.com/t/strange-log-in-android-platform/13902)

<div class="topic-metadata">

**Author:** [@Russell](https://qa.fmod.com/u/Russell)\
**Replies:** 3\
**Last updated:** [May 30, 2018, 1:33am UTC](https://qa.fmod.com/t/strange-log-in-android-platform/13902 "2018-05-30T01:33:32Z")

</div>

Hi: Since I imported the fmod libary in my android project, I found my app output many logs as follow: 05-28 15:36:55.846: D/AudioTrack(24851): write: 0x7f5a03b080, frames = 512, written = 2048 05-28 15:36:55.846: D/A…

---

## [Sound.getOpenState returns OPENSTATE.ERROR when channel goes from virtual to real](https://qa.fmod.com/t/sound-getopenstate-returns-openstate-error-when-channel-goes-from-virtual-to-real/13888)

<div class="topic-metadata">

**Author:** [@KarateKidzz](https://qa.fmod.com/u/KarateKidzz)\
**Replies:** 1\
**Last updated:** [May 28, 2018, 12:37am UTC](https://qa.fmod.com/t/sound-getopenstate-returns-openstate-error-when-channel-goes-from-virtual-to-real/13888 "2018-05-28T00:37:02Z")

</div>

Hi, I have an internet streamed sound playing in the 3d world. If I walk past its max distance and walk back (channel goes from real to virtual and back to real) the sound no longer plays. Both channel and sound have v…

---

## [Delay effect behavior](https://qa.fmod.com/t/delay-effect-behavior/13882)

<div class="topic-metadata">

**Author:** [@ethan](https://qa.fmod.com/u/ethan)\
**Replies:** 1\
**Last updated:** [May 21, 2018, 3:42am UTC](https://qa.fmod.com/t/delay-effect-behavior/13882 "2018-05-21T03:42:35Z")

</div>

The documentation has this to say about the delay (echo) effect: “Note. Every time the delay is changed, the plugin re-allocates the echo buffer. This means the echo will dissapear at that time while it refills its ne…

---

## [HTML5 version is broken in Chrome 66+](https://qa.fmod.com/t/html5-version-is-broken-in-chrome-66/13874)

<div class="topic-metadata">

**Author:** [@jimon.c](https://qa.fmod.com/u/jimon.c)\
**Replies:** 2\
**Last updated:** [May 15, 2018, 11:15am UTC](https://qa.fmod.com/t/html5-version-is-broken-in-chrome-66/13874 "2018-05-15T11:15:44Z")

</div>

In Chrome 66 some changes were introduced that impact whole WebAudio API: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio so now it’s impossible to start playing before “user interactio…

[Previous page](https://qa.fmod.com/c/fmodapi/6.md?page=41)

[Next page](https://qa.fmod.com/c/fmodapi/6.md?page=43)
