Pre-import audio
Importing audio files into the editor using this plugin is simple and follows a similar process as regular sound waves. The only difference is that the audio file will be presented as an asset of the Imported Sound Wave in the context of this plugin.
To import an audio file, first select it and rename the file extension to .imp. The audio file must be in a supported format.
Next, drag and drop the file into the editor, and it will be presented as an asset of the Imported Sound Wave.
To import a pre-imported sound, use the following function. Once imported, follow the same steps outlined in the Import Audio (particularly bind to OnResult delegate) and Play Audio).
Alternatively, you can convert a regular sound wave that has been directly imported into the editor to the RuntimeAudioImporter-specific wave by using the corresponding node. This allows you to use the features provided by the plugin with that wave. However, it's important to note that this method is less reliable compared to using the pre-imported RuntimeAudioImporter-specific sound assets described earlier (EXPERIMENTAL).