Hello, I’m new to Panda, and so far I love it. I’m a sound designer, so the fact that you can use FMOD with Panda was a huge selling point. I’ve looked over the documentation, and done some searches (desperately trying to not post stupid questions, I promise), and the only thing I found was modifying the Config.prc file (which I did). So, first question: do I need to rebuild Panda with this config, or does it just set it and you’re good to go?
Second question: After setting this, how do you actually use it? Do all of your audio functions automatically look for FMOD, or are there functions you need to use specifically for it? If you could just point me to any kind of documentation for it, I would reeeeally appreciate it.
I’ve also seen that there are things like PyFmod and PyOpenal, which I’m not completely against, but it seems like it defeats the purpose of using FMOD… or maybe not, I don’t know.
I should just note that my biggest reason for wanting to use FMOD is reverb; I’d really like to have changing audio for different environments.
Thanks, that’s good to know. The problem with DSP is that that page of the manual is blank. The configurefilters function is undocumented, and the threads dealing with these things are so old that FMOD filters were not yet implemented, and audiosound didn’t work at all, and it doesn’t seem like there are any working examples of these features anywhere. I was hoping to find out if these features were implemented at some point, and if so, if there was a working example of them. Thanks.
It’s in the API ref so it should be doable in python. You may be having a common misunderstanding of the C++ and python interfaces. Generally the C++ function names have an underscore and can be used in python by removing the underscore and camel casing it.
I may be new to Python, but in every reference I could find, I never saw Python use the “void” keyword for a function, use a double colon to declare a class, or require semicolon to define the end of the statement.
And so my only guess as to translating this would be:
No, this is just the C++ function definition, since also the python wrappers are in C++ written.
You’d just have to translate the function prototype to Python and just use it – the python wrappers make sure the actual C++ function gets called.
It’s confusing, I know, but I see no other way.
After you add the filter, how do you assign it to a sound? Just adding the filter and reverb doesn’t do it, and I couldn’t find any sound playing function that uses a filter argument. It seems like there’s one last tiny missing piece to the puzzle, and one command will let me start really doing some fun things!