Questions tagged [fmod]

FMOD consists of a runtime library and sound design tool used for the creation and playback of interactive audio.

FMOD consists of a runtime library and sound design tool used for the creation and playback of interactive audio. FMOD is widely used in the games industry and has gained a strong reputation for its ease of use, powerful software-mixed architecture and comprehensive cross-platform support.

FMOD Studio is the current generation sound design tool (the successor to FMOD Designer) and is powered by FMOD 5, the fifth generation audio engine and API.

Supported Platforms

  • 3DS
  • Android
  • BlackBerry Playbook
  • Google Native Client (NaCl)
  • iOS
  • Linux
  • Mac
  • PS2
  • PS3
  • PS4
  • PSP
  • PS Vita
  • Wii
  • Wii U
  • Windows
  • Windows Phone
  • Windows Store
  • Xbox360
  • Xbox One

Resources

276 questions
26
votes
3 answers

std::fmod abysmal double precision

fmod(1001.0, 0.0001) is giving 0.00009999999995, which seems like a very low precision (10-5), given the expected result of 0. According to cppreference, fmod() is implementable using remainder(), but remainder(1001.0, 0.0001) gives…
rustyx
  • 80,671
  • 25
  • 200
  • 267
18
votes
2 answers

Callback delegates being collected?

Been messing around with FMOD for C# game development and I've hit a snag early on that I can't seem to get around. I want to do some branching audio stuff and sync some gameplay action to beats and such, so I've tried adding syncpoints to my music…
Matt
  • 183
  • 1
  • 5
18
votes
2 answers

Does "16bit integer PCM data" mean it's signed or unsigned?

I'm using FMOD to develop an application which would immediately start playing the recording of the next/previous sentence exactly from its beginning in a MP3 file which contains speech, without music, when the user clicked the Next/Prev button. I…
xiaokaoy
  • 1,608
  • 3
  • 15
  • 27
15
votes
3 answers

DLL dependency not found when debugging with Visual Studio 11 RC

My project is a standalone C++ application that uses FMOD for playing sound. I've previously developed the same project with Visual Studio 2010 without any problems, but 2012 gives me the classic error: "The program can't start because fmodex.dll is…
hhatinen
  • 153
  • 1
  • 1
  • 5
12
votes
1 answer

Compile and link 3rd party library in Visual Studio

I am fairly new to C programming and I haven't used Visual Studio or a third party library before. I'm trying to do something simple with FMOD and need to link fmodvclib, fmod.h, and of course fmod.dll. I've put fmodex_vc.lib in the additional…
user5840403
  • 121
  • 1
  • 1
  • 4
10
votes
5 answers

C API function callbacks into C++ member function code

So, I'm using the FMOD api and it really is a C api. Not that that's bad or anything. Its just it doesn't interface well with C++ code. For example, using FMOD_Channel_SetCallback( channel, callbackFunc ) ; It wants a C-style function for…
bobobobo
  • 64,917
  • 62
  • 258
  • 363
7
votes
4 answers

Using FMOD for C#?

I'm working with FMOD in C#. I've tried importing the fmodex.dll file by selecting Project->Add Reference and browsing for the fmodex.dll, but I am getting an error: A reference to ... could not be added. Please make sure that the file is…
user488792
  • 1,943
  • 7
  • 31
  • 38
7
votes
4 answers

Padding a vector with 0's if it's not a multiple of 8

How can I pad out a vector with 0's if it is not a multiple of 8 bytes? In the following code I work out the offset and add to the vector to make sure it always has 8 values. I would like to pad this out with 0's and I am wondering what is the most…
Zeus7
  • 128
  • 1
  • 7
7
votes
2 answers

Unable to load movie via WWW

I'm trying to load a video via url, but I keep getting the same error. I'm using Unity 5.3 and the example code from http://docs.unity3d.com/ScriptReference/WWW-movie.html (heavily modified because the current example doesn't compile). using…
Alex
  • 535
  • 6
  • 16
6
votes
1 answer

Loading FMOD purely from native code

I found an example called nativeactivity in FMOD example folder, but unfortunately it use some java code: package org.fmod.nativeactivity; public class Example extends android.app.NativeActivity { static { …
SMGhost
  • 3,867
  • 6
  • 38
  • 68
5
votes
2 answers

FMod Memory Stream Problem

EDIT: Well...that's very interesting. I made settings into a pointer and passed that. Worked beautifully. So, this is solved. I'll leave it open for anyone curious to the answer. I'm having an issue creating a sound in FMod from a memory stream.…
MGZero
  • 5,812
  • 5
  • 29
  • 46
5
votes
1 answer

Unknown GCC Linker error, but builds sucessfully

I'm trying to compile a program that links to the FMOD library in the Eclipse C/C++ IDE. I haven't even included any of the library's headers, I've only added the shared library to the projects dependencies and I get the following linking…
小奥利奥
  • 231
  • 2
  • 9
5
votes
4 answers

Are there any numbers that enable fast modulo calculation on floats?

I know that for unsigned integers, I can replace the modulo operation with a bitmask, if the divisor is a power of two. Do any numbers have a similar property for floats? That is, are there any numbers n for which f mod n can be calculated more…
ego
  • 279
  • 1
  • 6
5
votes
1 answer

output of fmod function c++

Given: #include #include #include using namespace std; int main() { // your code goes here double h = .1; double x = 1; int nSteps = abs(x / h); double rem = fmod(x, h); cout<<"fmod output is…
umbersar
  • 1,821
  • 3
  • 24
  • 34
4
votes
2 answers

AVAssetReader playing MPMediaItem in low quality?

I've managed to get the raw data from a MPMediaItem using an AVAssetReader after combining the answers of a couple of SO questions like this one and this one and a nice blog post. I'm also able to play this raw data using FMOD, but then a problem…
Jeroen Bouma
  • 593
  • 6
  • 16
1
2 3
18 19