Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

About This Guide

The interpreted modules guide contains instructions for enabling a custom module to be imported into Standard and Pro versions of Audio Weaver and found in the 3rd party tab of the module browser.

Steps for enabling custom module as “interpreted”

MATLAB

Complete the following edits to the MATLAB files of the module:

  1. Add the line  "isinterpreted = 1;" to the

<modulename>_module.m file (found in the “matlab” folder of your custom module) anywhere after the “M = awe_module(…” assignment in the “matlab/” directory of your custom module.

  1. Add spaces around equals signs for assignment functions (see lines 34-37 in Figure 1)

  1. Separate out functions contained in the

<modulename>_module.m file to individual .m files.

NOTE: Confirm there is a corresponding .m file for any function being defined, otherwise comment out the definition. For example, this module was failing because there was no corresponding “chorus_process.m” file. Commenting out line 35 fixed the issue.

 

  1. Move any module function up to the same folder as the <modulename>_module.m

  2. Run “make_<modulename>_pack(1)” to create the updated .c and .h files.

Building the module

Build the module, and before launching Designer, move or copy the created .dll file into the same directory containing AWE_Server.exe (typically located in <install directory>/Bin/win32-vc142-rel/)

Set Module Path in Designer

In Designer Standard, go File-> Set Module Path, then click Add Folder, select your custom module folder, and click Select Folder. Your module should now show in the modules tab and load into Designer.

Your module should now show in the modules tab and load into Designer.

Sharing the module securely

Not all files used to create a custom module are necessary to have present when running the compiled module. The Mod<XYZ>.c and inner<XYZ>.c files may contain sensitive source code, but can be removed from the file path before sending and the custom module will still work.

 

  • No labels