282 questions
2
votes
0
answers
77
views
FMOD Error in Build: "Cannot create FMOD::Sound instance" - AudioClips Fail to Load (Works perfect in Editor)
I’m currently developing a Full Motion Video (FMV) game which, by its nature, contains a very large number of video and audio clips. I’ve encountered a critical issue that only appears in the built ...
0
votes
0
answers
51
views
How to get the name of IChannelControl from IntPtr?
I have registered a callback to get errors that looks like this and I am trying to get the name of the callbackInfo.instance to debug it but callbackInfo.instancetype is a ERRORCALLBACK_INSTANCETYPE....
1
vote
0
answers
62
views
When i resume FMOD Studio instance from pause, song position shift a little bit
I'm using FMOD Studio with banks in my project, and I've encountered an issue when pausing and resuming audio. I load my audio as a bank event (i.e., an FMOD Studio Event Instance) and use the ...
0
votes
1
answer
49
views
fmod crashes in Android java_object == null
I am using fmod library in my Android app to filter sound. There is a crash in GP console and I can't reproduce it on my device. Here is the backtrace:
JNI DETECTED ERROR IN APPLICATION: java_object ==...
0
votes
0
answers
77
views
Doesn't change the parameter in Unity FMOD
I encountered a problem that when changing the value of a parameter through the code, nothing happens. The parameter stops changing after the player moves to another scene.
Here is the script that ...
0
votes
1
answer
33
views
What Databases Are Used by FMOD and Wwise for 3D Audio?
I'm conducting research comparing 3D audio capabilities between FMOD and Wwise, specifically focusing on sound localization and spatialization accuracy. However, I couldn't find any information in the ...
0
votes
1
answer
67
views
Problems with FMOD in Monogame Android project
Yesterday I decided to export my game (on which I'm currently working) to Android. I'm using Monogame for development and also integrated FMOD API (both Core and Studio) using C# wrapper which comes ...
1
vote
1
answer
98
views
Compiling FMOD with G++ on an x64 architecture
I've been struggling to compile my program using FMOD on VS Code. I'm quite new to compiling using something else than Visual Studio's default compiler, so linking with other file formats has been a ...
0
votes
0
answers
40
views
Is there any limitation allocating FMod class?
I'm trying to make sounds, using FMod. I made a class using FMod, let's say it 'Sound class'. And error occurs when I make a pointer of Sound class. I found that error occurs when I allocate Sound ...
0
votes
0
answers
83
views
Qt application with FMOD audio library crashes on launch on Android
I made an example that works on desktop when I build it to EXE but crashes when I run APK on smartphone. I use 2.02.16 API version, JDK 17, NDK 22, Qt 6.2.4, and Redmi 4x (Android 7)
Settings:
QT ...
0
votes
3
answers
243
views
I'm using FMOD to create car engine sound with Unity but it didn't work, can you point out what went wrong?
I started using FMOD and Mathf.Lerp to create a sound engine for my game in Unity.
I'm using the examples in documents/Fmod VEHICLE and using custom physics for my car. When I run the game the audio ...
2
votes
0
answers
366
views
Audio playback on Android Auto not working
I developed an Android app that plays audio, and I need that sound to be able to be played in Android Auto (AA).
At the moment, my app only plays the sound through the Android device.
Testing with the ...
2
votes
1
answer
497
views
How do I fail gracefully with a corrupted external wav file?
I've got this code within an IEnumerator, and it's working perfectly well if I use a properly formatted wav file. But the files I'm loading are user-submitted, so I want to handle improperly formatted ...
2
votes
0
answers
670
views
Unity throws FMod Error Loading File in Builds
I'm making a Unity game and in the Editor all audio clips play fine. However, when I try to play them from builds I get this error:
Error: Cannot create FMOD::Sound instance for clip "Variation ...
0
votes
1
answer
586
views
FMOD parameter not changing through C# script
I'm currently trying to develop my first mini game (a VR musical experience).
I'm trying to have the value of a slider control an FMOD parameter, but nothing happens. Plus the function does not show ...
0
votes
1
answer
450
views
How can I decompress an OGG sound file using FMOD?
Is there a way to decompress sound files using the FMOD library in c++?
I'm developing a sound editor, using the FMOD Engine library, but I got to the problem with compressed audio files, specifically ...
0
votes
2
answers
39
views
Unity audio perameters when picked up item?
So I'm creating a game in unity and I want the music to change when the player picks up different items eg a coin, bread, etc. But I'm not sure where I would get started with that does anyone have ...
1
vote
3
answers
394
views
Is this a correct way of doing this in C?
Should I change something in written code? Compiler says that everything is right — no errors or warnings.
You are building a new home and you have calculated exactly how much cement you need for the ...
0
votes
1
answer
483
views
FMOD C# Wrapper unable to find fmod.dll (from Monogame 3.8)
I'm attempting to bring FMOD Core 2.02 into my Monogame 3.8 project using the dll's and C# wrappers (which appear to be auto-generated from the C++). I've set the .dll's to Copy to the output ...
0
votes
1
answer
54
views
PHP - Aritmetic operations with floating point
I need to perform operations with very large numbers like: (-8.3802985809867E + 217 x 4.8047258326981E + 215)
I am programming in PHP a system to solve matrices of linear equations, but being very ...
1
vote
0
answers
285
views
How to load an *.mp3 from my asset in unity using FMOD?
I have an application that you can put your own songs and I want it to load them with the FMOD system.
I'm trying this and unity closes me
FMOD.RESULT result;
FMOD.Sound sound1;
FMOD.System system;
...
0
votes
1
answer
33
views
How many CPU operations programming languages use for % and fmod()?
What is the result of C translation for % operator and fmod() function in machine language? What is it's implementation?
For example: Will 61199 % 256 be solved the same way as 61199 % 171?
-2
votes
2
answers
313
views
Fmod does not work as expected(c programming) [closed]
(the problem is caused by me and has been solved ,greetings from the newbie)I apologize to everyone, my function type was integer i just realized it, I opened it because I worked for hours, I have to ...
0
votes
0
answers
66
views
FMOD in PHP results not being seen as equal to their float equivalent
So I understand that FMOD gives some wacky answers sometimes because its sort of approximate.
But even given that I'm struggling to utilize the answers it throws up later-on in the code.
For instance, ...
0
votes
1
answer
216
views
FMOD: Cleaning up duplicate platform warning
FMOD for Unity 2.01.07 (Unity 2019.4.18f1 - running on MacOS Catalina) seems to have broken their FMODStudioSettings class.
I can't save in the editor without getting these errors:
FMOD: Cleaning up ...
0
votes
1
answer
681
views
FMOD Get Parameter OK, Set Parameter ERR_INVALID_PARAM
I have code that gets a parameter and then sets a parameter. The get works fine, but the set returns ERR_INVALID_PARAM:
FMOD.RESULT getResult = FMODManager.GetCurrentMusicInstance()....
1
vote
1
answer
635
views
Loading delay exceeded warning - Programmer Instrument - Unity
I'm getting an warning that says ": Loading delay exceeded, sound may play at incorrect time" whenever I try to use the example code from FMOD for Programmer Instrument
I thought maybe I ...
0
votes
1
answer
499
views
Does unloading a bank destroy/release all instances in that bank
Is it safe to unload a bank as a means to releasing all related instances? I'm VERY new to FMOD and trying to get my bearings.
I play music across scenes in Unity and so I want to know if I should ...
26
votes
3
answers
2k
views
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 ...
4
votes
4
answers
13k
views
Unable to add audio clip in audio source in Unity
I have added audio source component in Unity Scene but I am unable to add audio clip in it. It is throwing the following error:
Errors during import of AudioClip Assets/sound1.ogg:
FSBTool ERROR: The ...
0
votes
1
answer
262
views
Find reminder between 2 floating numbers using fmod()
I was trying to validate if the first floating number could be fully divided by the second floating number and I got something like these:
$first = 10.20; // or 5.10, 7.14, 9.18
$second = 1.02;
...
0
votes
1
answer
300
views
Using fmod() in C always results in zero (0)
I'm trying to split a 16 digits number into digits. Using unsigned long int and % doesn't work because this type of variable only supports numbers smaller than 4.294.967.295. So I adapted the code and ...
0
votes
1
answer
250
views
Setting pitch value when transitioning from FMOD Designer to FMOD Studio
I'm refactoring legacy code to use FMOD Studio EventInstance objects instead of FMOD Designer (FMOD Ex) Event object. The most common case is to have pitch set to 0.0 (i.e. normal pitch) which can be ...
7
votes
1
answer
10k
views
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 ...
0
votes
1
answer
101
views
Wrong modulus result on PHP but right result on Python
I got the problem when operating this number on PHP
ex:
72 ** 79 % 3337
When i use
echo 72 ** 79 % 3337 // Result is int(0)
Then i try to split into this one
$num = number_format(72 ** 79, 0, '',...
1
vote
0
answers
278
views
how get FMOD output progressbar & play & pause in android java activity
i use FMOD library in android and i don't know how get output progressbar or fast play/pause/stop sound with effect's like:
https://play.google.com/store/apps/details?id=com.baviux.voicechanger&hl=...
-2
votes
1
answer
981
views
Setting up FMOD
I am trying to set up FMOD for Android.I have downloaded a working project for Android Studio from here: https://github.com/WillCoder/Fmod-Sample-3d
So whene i run the project those Method cannot be ...
1
vote
2
answers
516
views
How to display current music position using FMOD and C++?
I want to display the time that has elapsed as music plays in real-time.
FMOD's Core API provides Channel::getPosition() function to obtain the current position in milliseconds. I want to update the ...
0
votes
1
answer
400
views
How can I check for - and get a remainder using fmod (floats)?
My goal is to check if there is any remainder left when dividing 2 floats, and if there is, give that remainder back to the user.
Given the following code, I had expected that fmod(2, 0.2) would be 0,...
0
votes
1
answer
109
views
Why is my code not completing the Sound::release() call?
I am creating a simple MP3 player and using the FMOD Core API for managing the audio. I have written a simple program to test the play() function.
I have two functions freeSound() and freeSystem() to ...
1
vote
5
answers
170
views
Compiling terminal mp3player for Android in C and Fmod: Functions gets undefined reference
All functions throws undefined reference error.
Here's my code:
/*
terminal mp3 player android
requirements:
c4droid terminal fmod
requires:
copy fmod api lowlevel lib armeabi-v7a libs to lib dir
...
0
votes
1
answer
350
views
Find the frequency in Hz using FMOD [duplicate]
I am trying to find the frequency in hertz for every bin in the fft spectrum. Below is my code just adding the fft spectrum values inside a float list.
for (int len = 0; len < nyquistLength; ++len)...
-1
votes
1
answer
494
views
Creating Events in FMOD from C#
I am trying learn how to create a FMOD event from C# that is visible from the FMOD studio, so that a Audio Engineer I am working with on a hobby project can manage the sound of my entire game without ...
2
votes
1
answer
187
views
php fmod returning unusable result
fmod(floatval("314.6"), floatval("1.3"))
=> 1.1990408665952E-14
I understand more or less the underlying problem of representing the numbers in binary form and something with IEEE-754. But: How ...
0
votes
1
answer
1k
views
Undefined Reference when linking FMOD library on linux
I am creating a simple game on linux in C++ and using FMOD for the sound. I recently downloaded the latest FMOD API however when I try to use it I get an undefined reference error. From what I can see ...
0
votes
0
answers
59
views
I'm trying to use fmod library. When I pass the path value that contains Korean, 'file not found' error message is output
When I pass the path value that contains Korean, 'file not found' error message is output.
char songPath[500];
strcpy_s(songPath, sizeof(songPath), MusicBox::getInstance()->container()->...
2
votes
1
answer
414
views
Broken spatialization when using Resonance Audio from FMOD Low Level API
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' ...
1
vote
1
answer
373
views
Transition between room effects in Resonance Audio?
I'm using GoogleVR Resonance Audio with FMOD Studio and Unity and trying out room effects.
The effects of room volumes seem to work fine, but the transition when going in or out of a volume is ...
0
votes
0
answers
133
views
Need help on basic programming for resonance audio / GVR plugins with Fmod and Unity
I'm a sound designer working on VR for mobile phone; prototyping on Galaxy S8.
We use Unity and Fmod, thus GVR plugins ( formerly resonance-audio ).
It is known that GVR bypass group busses in Fmod ...
0
votes
0
answers
356
views
how to save file quickly with dsp effect on fmod?
I am use v1.10 low level api on android. I have a question that is save file too slow.
It cost 20s+ when I save a mp3/wav file which duration is 20s.
Here is my code,please help me find the problem:
...