fmod

After implementing fmod Visual C++ test strange behavior - All tests fail - Unable to get type.... Error: System.IO.FileNotFoundException - if certain line of code in one test

Ok, I've figured out what caused the problem but I still don't know why - it happened when I started using fmod, and it must have something to do with how the linker decides to bring in and execute static libraries and dll's. My code under test is a static lib; it refers to fmodex_vc, another static lib, which at some point (though I k...

How can I delay sound in each single speaker with FMOD?

Hi, I setted up a sound with multichannelsupport so now I need to delay the sound in each single speaker. How can I do this with FMODex? Is it possible to do that? Thanks for helping me! :) ...

fmod VS2008 unresolved externals in dependent project

I'm currently trying to use the latest stable fmod ex in my project. I have a main executable in a project called engine4, and a project named DX9Platform in the solution as well which ti depends on. All the fmod code is in this DX9Platform project, which generates a lib file. DX9Platform includes fmodex_vc.lib and builds fine. However...

FMOD sound library - syncpoints driving me nuts!

Can someone with FMOD experience please stop me from losing it. I cannot get these syncpoints to behave. I have some game music that consists of two pieces, an intro and a loop. They are separate sounds, and after the intro finishes, it begins the loop section which repeats forever. I set a syncpoint at the end of the intro to fire off t...

Lib to play audio media in .NET?

I tried fmod.net but got a 'System.BadImageFormatException' error. I then tried WindowsMediaPlayer and have sounds playing. However i am having issues playing a sound when the current one ends (callback code below. It doesnt seem to like me playing a new song during a state change however i cant find another way to inform me when the son...

Naudio or FMOD libraries in Silverlight applications

Hello guys! I have to grab audio from a microphone and write it to stream 'on fly'. The destination machine will read this data and play it. It's all will be Silverlight applications. So can i use Naudio library or FMOD for my purpose? Thx in advance! ...

playing only part of a sound using FMOD

I'm trying to play only part of a sound using FMOD, say frames 50000-100000 of a 200000 frame file. I have found a couple of ways to seek forward (i.e. to start playback at frame 50000) but I have not found a way to make sure the sound stops playing at 100000. Is there any way FMOD can natively do this without having to add lbsndfile or ...

FMOD on non-playing audio

Hey, is there any way to get the audio spectrum of a section of a song using FMOD if it is not playing? Can I render a full song waveform using FMOD (+opengl/openframeworks/etc.) before the song is playing? ...

FMOD play overlapping sounds

This may be a build in feature of FMOD, but I'd like to see if i can override it. When playing a SOUND with FMOD_System_PlaySound, FMOD_System_PlaySound( system, FMOD_CHANNEL_FREE, SOUND, false, &channel ) ; (YES I use the C api ;) ) If you've ALREADY started playing SOUND, then what happens is the original one is STOPPED and SOUND ...

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 callbackFunc, but I want to pass it a member function of a class. I ended up using the Win32...

Linking error while trying to integrate FOMD application with mine.

Hi. i am trying to use FMOD example application "dsp_effectperspeaker" in my application. But i m getting error dyld: Library not loaded: @loader_path/../Frameworks/libfmodex.dylib Referenced from: /Users/asimahmed/Library/Application Support/iPhone Simulator/User/Applications/AF942B1F-A2CB-42D7-B878-47F3F7D51CAF/ChannelSound.app/...

fmodex returning ERR_FILE_BAD playing an MP3 file under Mono/Ubuntu

I'm trying to use fmodex 4.30.03 to play an MP3 file under Mono/Ubuntu. My call to createSound() looks as follows: result = system.createSound(path, (FMOD.MODE._2D | FMOD.MODE.HARDWARE | FMOD.MODE.CREATESTREAM), ref sound); as per the C# examples that come with the SDK. result is being set to 19, ERR_FILE_BAD. The same th...

How to send Sound Stream of a file from disk over network using FMOD?

Hey everyone, i'm currently working on a project in college. my application should do some things with audio files from my computer. i'm using FMOD as sound library. the problem i have is, that i dont know how to access the data of a soundfile (wich was opened and startet using the FMOD methods) to stream it over network for playback o...

Why doesn't playSound actually output any sound using FMOD on windows?

FMOD_RESULT result; FMOD::System *system; result = FMOD::System_Create(&system); if (result != FMOD_OK) { printf("FMOD error! (%d) %s\n", result, FMOD_ErrorString(result)); } result = system->init(100, FMOD_INIT_NORMAL, 0); if (result != FMOD_OK) { printf("FMOD error! (%d) %s\n", result, FMOD_ErrorString(result)); } ...

C# FMOD playing from stream.

Can anyone help me on playing a file from a memorystream using FMOD or any other way? So far i have this: Variables private FMOD.System _fmod = null; private FMOD.Sound _sound = null; private FMOD.Channel _channel = null; Code var file = File.ReadAllBytes("test.ogg"); //MessageBox.Show("Bytes from file: "...

C# FMOD Playing stream in realtime

Hi, i am trying to play a stream in real time ( I keep appedning data to it as it comes in from a nexternal source) but no matter what FMOD doesn't want to carry on playing after the first chunk that got loaded, it seems as it is copying the memory stream/decoding it before playing, then as it is playing it doesn't use my stream anymore....

Difference in FMOD between Sound.readData and Sound.lock?

I'm trying to sort the difference between Sound.readData and Sound.lock in the FMOD library (I'm programming in C#/C++ but I'll take the answer in any language!). The end goal is to create a view of the waveform, which I understand cannot be done (easily) with Channel.getWaveData. I have been able to get both the Sound.readData and S...

'An invalid object handle was used' in FMOD 3D sound listener

Hi all, I'm trying to set up 3D sounds with FMOD in a game which uses Ogre. The sound listener is attached to the camera which runs on a spline. I have footstep sounds attached to the player, and the volume should be determined by how far the player is from the camera. The foot step sounds are acting as though the sound listener is no...

Get sound level from device while recording in C++

I want to get sound level, so I can display it in my SDL application (the platform is Linux) when recording sound. How can I do that? I use FMOD API in my app, but for recording, I'm using SoX (forking and using exec() to set it up - probably this could be done better but I don't know how :( ). Should I use some function of SoX, FMOD API...