I am working on an addon to make use of X-Plane 11’s new feature to use FMOD with aircraft. What this addon is meant to do is to convert soundpacks designed for Microsoft Flight Simulator X and convert them into an FMOD Project. These soundpacks are a folder containing sound files and a .CFG file. To do that, the addon would have to read the .CFG file and import the audio files into the project.
Is there a way I can learn to create and import an addon that can
1: work within FMOD Studio independent of Unity or any other game engine?
2: import folders and sort its respective audio files?
3: create events and add audio files to that particular event?
I just want to simplify the workflow in converting a series of audio files into a single project.
The differing languages are for different aspects of FMOD.
• FMOD Studio’s Unity integration uses C#
You will need to use the tool scripting API for what you wish to achieve. You will need a blank FMOD Studio project (create a new one and save) in order to copy before you run your addon scripts.
Things to take into consideration would be to use paths to create folders, creating events does not include tracks (only the master track will be included) so you will need to create (and name) tracks for each event created, and how you wish these audio files to be placed in the event (such as single instrument, multi instrument, etc.). Take a look into “studio.project.create()” in our tool scripting API documentation.
It might be a good idea to test your commands through the Console window in FMOD Studio. This can show information that will help you with your script creation, in particular for complex aspects of scripting such as relationships and owners for created entities.
You can also take a look in the “Scripts” folder in your installation folder for some examples to go off.
Thank you for your reply. I now understand the basic principles of scripting for FMOD Studio. While the link you posted discussed the basics of API scripting, is there any kind of documentation listing out all of the possible API scripts for FMOD Studio? For example, Blender 3D has documentation listing out all of the Python scripts for its program right here: https://docs.blender.org/api/2.79/. Is there something similar for FMOD Studio?