# FMOD Engine

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

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

**Page:** 53

---

## [Compiling errors for recording examples](https://qa.fmod.com/t/compiling-errors-for-recording-examples/11790)

<div class="topic-metadata">

**Author:** [@Keitel](https://qa.fmod.com/u/Keitel)\
**Replies:** 4\
**Last updated:** [February 2, 2015, 11:45am UTC](https://qa.fmod.com/t/compiling-errors-for-recording-examples/11790 "2015-02-02T11:45:00Z")

</div>

Hi, I am trying to compile some of the recording examples, but get many syntax errors in the xstddef and cstdlib files when compiling. Could anyone explain why? I am working in C with Microsoft Visual C++ 2010 Express i…

---

## [FMOD init blocks USB device](https://qa.fmod.com/t/fmod-init-blocks-usb-device/11804)

<div class="topic-metadata">

**Author:** [@rob666](https://qa.fmod.com/u/rob666)\
**Replies:** 4\
**Last updated:** [January 28, 2015, 8:20am UTC](https://qa.fmod.com/t/fmod-init-blocks-usb-device/11804 "2015-01-28T08:20:36Z")

</div>

Hi I have a problem when using FMOD with a Spaceball from 3DConnextion. When I initialize my FMOD system with \_FMODSystem-\>init(512, FMOD\_INIT\_NORMAL, 0); an attached Spaceball doesn’t work anymore. If I don’t init…

---

## [FMOD 5. Current Fade Position?](https://qa.fmod.com/t/fmod-5-current-fade-position/11805)

<div class="topic-metadata">

**Author:** [@Guest4](https://qa.fmod.com/u/Guest4)\
**Replies:** 1\
**Last updated:** [January 26, 2015, 11:50pm UTC](https://qa.fmod.com/t/fmod-5-current-fade-position/11805 "2015-01-26T23:50:33Z")

</div>

Hi, I’m looking for some clarification on fade points, specifically: what is automated and how can I find the current value at any arbitrary point in time? Detail: I can see that channel-\>addFadePoint does not automat…

---

## [3D sound with 22 speakers](https://qa.fmod.com/t/3d-sound-with-22-speakers/11807)

<div class="topic-metadata">

**Author:** [@jeroenakershoek](https://qa.fmod.com/u/jeroenakershoek)\
**Replies:** 1\
**Last updated:** [January 26, 2015, 11:29pm UTC](https://qa.fmod.com/t/3d-sound-with-22-speakers/11807 "2015-01-26T23:29:58Z")

</div>

Hi, I’m looking if it would be possible to have 3D sound with 14 + 8 speakers (14 for 3D positional sound, 8 for ambient background). From what I could find so far I could setup support for enough speakers by using SPE…

---

## [How to replace the built in reverb with another effect](https://qa.fmod.com/t/how-to-replace-the-built-in-reverb-with-another-effect/11800)

<div class="topic-metadata">

**Author:** [@brett](https://qa.fmod.com/u/brett)\
**Replies:** 1\
**Last updated:** [January 18, 2015, 11:10pm UTC](https://qa.fmod.com/t/how-to-replace-the-built-in-reverb-with-another-effect/11800 "2015-01-18T23:10:44Z")

</div>

System::setReverbProperties has the advantage that it connects all channels automatically and disconnects automatically when the channel stops. If I want to change the internal reverb with another effect how do I do it? …

---

## [How do I get waveform data in FMOD 5 like I did with FMOD 4 ex?](https://qa.fmod.com/t/how-do-i-get-waveform-data-in-fmod-5-like-i-did-with-fmod-4-ex/11788)

<div class="topic-metadata">

**Author:** [@neptunecentury](https://qa.fmod.com/u/neptunecentury)\
**Replies:** 2\
**Last updated:** [January 9, 2015, 12:08pm UTC](https://qa.fmod.com/t/how-do-i-get-waveform-data-in-fmod-5-like-i-did-with-fmod-4-ex/11788 "2015-01-09T12:08:05Z")

</div>

Hi, In FMOD 4, I had this lovely function to work with: FMOD\_Channel\_GetWaveData But I cannot find documentation or functions similar in FMOD 5 Low level api… What should I use to get this data? Do I need to create a …

---

## [Allow device music playback \[iOS / Android\]](https://qa.fmod.com/t/allow-device-music-playback-ios-android/11783)

<div class="topic-metadata">

**Author:** [@buzzrick](https://qa.fmod.com/u/buzzrick)\
**Replies:** 2\
**Last updated:** [January 8, 2015, 8:29pm UTC](https://qa.fmod.com/t/allow-device-music-playback-ios-android/11783 "2015-01-08T20:29:10Z")

</div>

Hi. How can we allow music from a background application (such as the iOS music app or podcasts app) to continue playing while our game runs. It is a fairly common feature that a lot of games provide, but I can’t see h…

---

## [Where Can I Find the C# Wrapper?](https://qa.fmod.com/t/where-can-i-find-the-c-wrapper/11780)

<div class="topic-metadata">

**Author:** [@martindevans](https://qa.fmod.com/u/martindevans)\
**Replies:** 2\
**Last updated:** [January 5, 2015, 12:20am UTC](https://qa.fmod.com/t/where-can-i-find-the-c-wrapper/11780 "2015-01-05T00:20:23Z")

</div>

I’ve seen mentions of a C# wrapper for FMOD, but I can’t find it anywhere! The best reference to it I can find is this other question but they say it’ll be out with the “FMOD Studio API … upcoming 1.3 release” and as far…

---

## [How to get the channel on an EventInstance](https://qa.fmod.com/t/how-to-get-the-channel-on-an-eventinstance/11768)

<div class="topic-metadata">

**Author:** [@fsilvestrim](https://qa.fmod.com/u/fsilvestrim)\
**Replies:** 3\
**Last updated:** [December 21, 2014, 11:42am UTC](https://qa.fmod.com/t/how-to-get-the-channel-on-an-eventinstance/11768 "2014-12-21T11:42:49Z")

</div>

Hello guys, How can I retrieve the channel (not the channel group) of an eventInstance? I want to retrieve that in order to manipulate the pan level of an event at real-time. Is there any way of combining the lowlevel …

---

## [FMOD\_INIT\_VOL0\_BECOMES\_VIRTUAL causes volume dropping](https://qa.fmod.com/t/fmod-init-vol0-becomes-virtual-causes-volume-dropping/11762)

<div class="topic-metadata">

**Author:** [@auday](https://qa.fmod.com/u/auday)\
**Replies:** 1\
**Last updated:** [December 14, 2014, 11:13pm UTC](https://qa.fmod.com/t/fmod-init-vol0-becomes-virtual-causes-volume-dropping/11762 "2014-12-14T23:13:32Z")

</div>

I’m having a weird bug with virtual sounds. When I use FMOD\_INIT\_VOL0\_BECOMES\_VIRTUAL, some events lose volume (around 10db down) when they become active again. Here are the details: I have a Gameplay Bus and a Music …

---

## [What is the process by which I can monetize and FMOD plug-in that I've written?](https://qa.fmod.com/t/what-is-the-process-by-which-i-can-monetize-and-fmod-plug-in-that-ive-written/11758)

<div class="topic-metadata">

**Author:** [@cubusaddendum](https://qa.fmod.com/u/cubusaddendum)\
**Replies:** 1\
**Last updated:** [December 11, 2014, 11:50pm UTC](https://qa.fmod.com/t/what-is-the-process-by-which-i-can-monetize-and-fmod-plug-in-that-ive-written/11758 "2014-12-11T23:50:54Z")

</div>

Hi there, I’ve previously made a career writing audio plug-ins in VST, RTAS and AU formats: http://www.linkedin.com/pub/robert-bantin/36/b9b/659 I’m currently prototyping an FMOD plug-in for a “potential client”, but …

---

## [How do I fade out a channel at the end of a file?](https://qa.fmod.com/t/how-do-i-fade-out-a-channel-at-the-end-of-a-file/11745)

<div class="topic-metadata">

**Author:** [@punker761](https://qa.fmod.com/u/punker761)\
**Replies:** 3\
**Last updated:** [December 4, 2014, 12:01am UTC](https://qa.fmod.com/t/how-do-i-fade-out-a-channel-at-the-end-of-a-file/11745 "2014-12-04T00:01:36Z")

</div>

I want to fade out at the end of a sound file, but in my case it doesn’t work. I am using the FMOD Studio low api 1.05.08 with Visual Studio 2013 coding in C# and WPF. Here is a the code snippet that not works: // ge…

---

## [No Information from getMeteringInfo](https://qa.fmod.com/t/no-information-from-getmeteringinfo/11747)

<div class="topic-metadata">

**Author:** [@jmm8](https://qa.fmod.com/u/jmm8)\
**Replies:** 1\
**Last updated:** [December 3, 2014, 6:20am UTC](https://qa.fmod.com/t/no-information-from-getmeteringinfo/11747 "2014-12-03T06:20:10Z")

</div>

So I’m trying to get the volume of a sound using getMeteringInfo, and am just getting no data. I’ve been following this example: http://52.88.2.202/questions/question/microphone-input-playback but have not actuall been …

---

## [Getting Volume from a Recorded Sound Programmatically](https://qa.fmod.com/t/getting-volume-from-a-recorded-sound-programmatically/11746)

<div class="topic-metadata">

**Author:** [@jmm8](https://qa.fmod.com/u/jmm8)\
**Replies:** 3\
**Last updated:** [December 3, 2014, 3:00am UTC](https://qa.fmod.com/t/getting-volume-from-a-recorded-sound-programmatically/11746 "2014-12-03T03:00:53Z")

</div>

Hello All, So I’m trying to get the volume from a sound that I’ve recorded. Looking at the DSP descriptions, it seems like FMOD\_DSP\_TYPE\_LOUDNESS\_METER is the only one that will get me this information ( from the docume…

---

## [How do I fade in and fade out a channel (with stop)](https://qa.fmod.com/t/how-do-i-fade-in-and-fade-out-a-channel-with-stop/11738)

<div class="topic-metadata">

**Author:** [@brett](https://qa.fmod.com/u/brett)\
**Replies:** 3\
**Last updated:** [December 3, 2014, 12:54am UTC](https://qa.fmod.com/t/how-do-i-fade-in-and-fade-out-a-channel-with-stop/11738 "2014-12-03T00:54:08Z")

</div>

How can I fade in a sound when it starts playing, and fade out a sound when I want it to stop?

---

## [ios and android bug](https://qa.fmod.com/t/ios-and-android-bug/11739)

<div class="topic-metadata">

**Author:** [@lbb87121210](https://qa.fmod.com/u/lbb87121210)\
**Replies:** 1\
**Last updated:** [December 1, 2014, 10:07pm UTC](https://qa.fmod.com/t/ios-and-android-bug/11739 "2014-12-01T22:07:53Z")

</div>

Q1： When the call comes, fmod will break off and could not recover any more，how can I resume fmod? Q2： There is no Fade in-out in the Android environment， Fmod Version: 1.05.05

---

## [Adjusting volumes on individual groups of instances](https://qa.fmod.com/t/adjusting-volumes-on-individual-groups-of-instances/11737)

<div class="topic-metadata">

**Author:** [@dlowjw](https://qa.fmod.com/u/dlowjw)\
**Replies:** 1\
**Last updated:** [December 1, 2014, 10:06pm UTC](https://qa.fmod.com/t/adjusting-volumes-on-individual-groups-of-instances/11737 "2014-12-01T22:06:06Z")

</div>

Hi, I’m running FMOD Studio and we’re loading our sounds through banks and I’m not too clear on how to set event instances to groups in a similar way to how channel groups work. I will start with an example: Say we hav…

---

## [Getting the Bitrate](https://qa.fmod.com/t/getting-the-bitrate/11735)

<div class="topic-metadata">

**Author:** [@Curtis\_Eichner](https://qa.fmod.com/u/Curtis_Eichner)\
**Replies:** 1\
**Last updated:** [December 1, 2014, 9:57pm UTC](https://qa.fmod.com/t/getting-the-bitrate/11735 "2014-12-01T21:57:31Z")

</div>

How do I get the bitrate of a sound in an event? I was originally using an FMOD::Sound(created strait from sound files) to get the Raw Bytes and the Milliseconds, but with Events I’m not sure if there’s an option for fi…

---

## [Where is Channel::getPan?](https://qa.fmod.com/t/where-is-channel-getpan/11736)

<div class="topic-metadata">

**Author:** [@brett](https://qa.fmod.com/u/brett)\
**Replies:** 1\
**Last updated:** [November 29, 2014, 10:42am UTC](https://qa.fmod.com/t/where-is-channel-getpan/11736 "2014-11-29T10:42:10Z")

</div>

Why does Channel::getPan exist in FMOD 4 but not FMOD 5 low level API?

---

## [\[C#\] Unbalanced Stack?](https://qa.fmod.com/t/c-unbalanced-stack/11726)

<div class="topic-metadata">

**Author:** [@LadyApollo1](https://qa.fmod.com/u/LadyApollo1)\
**Replies:** 1\
**Last updated:** [November 24, 2014, 12:49am UTC](https://qa.fmod.com/t/c-unbalanced-stack/11726 "2014-11-24T00:49:12Z")

</div>

Hello, I’m having trouble migrating from FMOD4 to FMOD5 using the c# wrapper. In fmod4 everything was working just fine, but with fmod5 every single function call that I make returns me a strange error. Some researc…

---

## [Capturing Audio from system speakers](https://qa.fmod.com/t/capturing-audio-from-system-speakers/11727)

<div class="topic-metadata">

**Author:** [@Kryofenix](https://qa.fmod.com/u/Kryofenix)\
**Replies:** 1\
**Last updated:** [November 23, 2014, 11:45pm UTC](https://qa.fmod.com/t/capturing-audio-from-system-speakers/11727 "2014-11-23T23:45:01Z")

</div>

Hello, I am trying to capture audio output from my sound card to create an audio visualizer type of software. I have first checked the record.cpp example, however here is where things get strange: getRecordNumDrivers/…

---

## [Events still messing with virtual voice system after being stopped](https://qa.fmod.com/t/events-still-messing-with-virtual-voice-system-after-being-stopped/11716)

<div class="topic-metadata">

**Author:** [@Alessandro\_Piva](https://qa.fmod.com/u/Alessandro_Piva)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 9:27am UTC](https://qa.fmod.com/t/events-still-messing-with-virtual-voice-system-after-being-stopped/11716 "2014-11-17T09:27:37Z")

</div>

Hi, we’re working on a racing sim and we’ve had a ton of problems with FMOD virtual voice system. We create a lot of events, and thus lots of Software channels, each with accurately tuned and tested min and max distance…

---

## [Decompressing Banks into Memory](https://qa.fmod.com/t/decompressing-banks-into-memory/11718)

<div class="topic-metadata">

**Author:** [@auday](https://qa.fmod.com/u/auday)\
**Replies:** 2\
**Last updated:** [November 14, 2014, 8:20am UTC](https://qa.fmod.com/t/decompressing-banks-into-memory/11718 "2014-11-14T08:20:42Z")

</div>

Hi, Is there a way to make Studio::bank::loadSampleData() decompress the data into memory at load time? (to avoid the performance hit at play time) In low level System::createSound, you can specify FMOD\_CREATESAMPLE, b…

---

## [Transitioning to FMOD Studio where did FMOD\_INIT\_DISTANCE\_FILTERING go?](https://qa.fmod.com/t/transitioning-to-fmod-studio-where-did-fmod-init-distance-filtering-go/11693)

<div class="topic-metadata">

**Author:** [@AshMcConnell](https://qa.fmod.com/u/AshMcConnell)\
**Replies:** 1\
**Last updated:** [November 12, 2014, 6:11am UTC](https://qa.fmod.com/t/transitioning-to-fmod-studio-where-did-fmod-init-distance-filtering-go/11693 "2014-11-12T06:11:43Z")

</div>

Is there an equivalent for FMOD\_INIT\_DISTANCE\_FILTERING? It made quite a bit of difference for my engine sounds in the distance. It would be nice to keep it for FMOD Studio. Thanks! Ash

---

## [Block processing in FMOD 5](https://qa.fmod.com/t/block-processing-in-fmod-5/11712)

<div class="topic-metadata">

**Author:** [@jmora](https://qa.fmod.com/u/jmora)\
**Replies:** 1\
**Last updated:** [November 4, 2014, 11:34pm UTC](https://qa.fmod.com/t/block-processing-in-fmod-5/11712 "2014-11-04T23:34:09Z")

</div>

FMOD\_DSP\_PROCESS\_CALLBACK, takes inputs of: ( FMOD\_DSP\_STATE \*dsp\_state, unsigned int length, const FMOD\_DSP\_BUFFER\_ARRAY \*inbufferarray, FMOD\_DSP\_BUFFER\_ARRAY \*outbufferarray, FMOD…

---

## [Starting sound paused, then unpausing causes strange behavior](https://qa.fmod.com/t/starting-sound-paused-then-unpausing-causes-strange-behavior/11701)

<div class="topic-metadata">

**Author:** [@svern](https://qa.fmod.com/u/svern)\
**Replies:** 2\
**Last updated:** [October 28, 2014, 12:57am UTC](https://qa.fmod.com/t/starting-sound-paused-then-unpausing-causes-strange-behavior/11701 "2014-10-28T00:57:41Z")

</div>

After initializing system/sounds, I have a “play sound” function that is very simple: FMOD\_CHANNEL \*channel = 0; void play\_audio(AudioResID id) { result = FMOD\_System\_PlaySound(fmod\_sys, sounds\[id\], 0, true, &…

---

## [Example load\_banks bug?](https://qa.fmod.com/t/example-load-banks-bug/11700)

<div class="topic-metadata">

**Author:** [@rvangaal](https://qa.fmod.com/u/rvangaal)\
**Replies:** 1\
**Last updated:** [October 28, 2014, 12:04am UTC](https://qa.fmod.com/t/example-load-banks-bug/11700 "2014-10-28T00:04:12Z")

</div>

Hi, In the FMOD 1.05.02 Studio examples, the file load\_banks.cpp contains this: for (int i=0; i\<BANK\_COUNT; ++i) { if (data.banks\[i\] == NULL || !data.banks\[i\]-\>isValid()) { data.banks\[i\]-\>unload(); …

---

## [Error calling set3DAttributes on a 3D sound](https://qa.fmod.com/t/error-calling-set3dattributes-on-a-3d-sound/11695)

<div class="topic-metadata">

**Author:** [@rvangaal](https://qa.fmod.com/u/rvangaal)\
**Replies:** 1\
**Last updated:** [October 24, 2014, 3:31pm UTC](https://qa.fmod.com/t/error-calling-set3dattributes-on-a-3d-sound/11695 "2014-10-24T15:31:10Z")

</div>

Hi, I’m calling set3DAttributes() on a sound (FMOD Studio 1.05.02) and this is giving me the following error in the SystemCallBack: "ChannelControl::set3DAttributes(0CCEF2A8:{418.769,3.56631,-27.6188}, 0CCEF2B4: {0.000…

---

## [Accessing Parameters in FMOD through a Custom Game Engine](https://qa.fmod.com/t/accessing-parameters-in-fmod-through-a-custom-game-engine/11681)

<div class="topic-metadata">

**Author:** [@ssaulls](https://qa.fmod.com/u/ssaulls)\
**Replies:** 1\
**Last updated:** [October 23, 2014, 11:53pm UTC](https://qa.fmod.com/t/accessing-parameters-in-fmod-through-a-custom-game-engine/11681 "2014-10-23T23:53:30Z")

</div>

Hi: One of my students has recently begun working with a small game development team as an audio director. He was asking about accessing FMOD Event parameters in code. From what he’s explained, the function FMOD::Studio…

---

## [Programmer Sounds - how do they work?](https://qa.fmod.com/t/programmer-sounds-how-do-they-work/11688)

<div class="topic-metadata">

**Author:** [@jlangford](https://qa.fmod.com/u/jlangford)\
**Replies:** 1\
**Last updated:** [October 22, 2014, 6:54am UTC](https://qa.fmod.com/t/programmer-sounds-how-do-they-work/11688 "2014-10-22T06:54:14Z")

</div>

The tool documentation has very little to say on the subject; words to the effect of “these are special sounds that can be triggered by a programmer - see API documentation for more info”. The API documentation appears …

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

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