WaveWarp 2.0 Component
      

MATLAB:
Functional Description
Real-time streaming of audio signals from WaveWarp to the MATLAB workspace.
The data is sent frame-by-frame (with a user-adjustable frame-size, set via the "Communication" button).
An optional transformation can be invoked whereby each frame of data
is manipulated according to an arbitrary user-defined MATLAB script
evaluated in the workspace using any combination of variables present
in the workspace. The values of both the raw and transformed variables are overwritten by each
successive frame.
NOTE: This component requires MATLAB (v5.3 or later), available separately from The MathWorks, Inc. (www.mathworks.com)
| Parameter | Purpose |
| "Name of raw signal:" dialog |
Enter any valid MATLAB variable name under which the raw signal from WaveWarp is sent to the MATLAB workspace.
|
| "Name of transformed signal:" dialog |
Enter any valid MATLAB variable name under which the transformed signal from WaveWarp is sent to the MATLAB workspace (if the "Enable transform" button is pressed).
|
| "Enable transform" button |
Toggles the activation state of the (optional) data transform function.
| "Enter desired MATLAB code..." dialog |
Enter any valid MATLAB code to define the (optional) transform function acting on the raw signal to yield the transformed signal (if the "Enable transform" button is pressed).
The MATLAB code can make use of any pre-existing workspace variables (in addition to the raw and transformed variables). Likewise, any m-functions, scripts, or mex functions
may be used.
|
| "Signal gain" slider and dialogs | Scales the overall amplitude of the signal coming from WaveWarp.
The gain can be set via the slider or either of the linear or decibel data entry dialogs. Although the slider has pre-defined limiting values,
these can be overwritten by any arbitrary value entered in either of the dialogs. |
| "Mute" button | If selected, sets the amplitude of the signal coming from WaveWarp to zero in MATLAB.
|
| "Bypass" button | If selected, stops the transmission of data from WaveWarp to MATLAB. The MATLAB variables will retain
their values from the point in time at which "Bypass" was selected.
|
|
Algorithm
N/A
Signal Implementations
| Audio signals | Control signals | Description |
| Single mono input no output | n/a | Mono input sent to MATLAB variable (single column vector) |
| Single stereo input no output | n/a | Stereo input sent to MATLAB variable (double column matrix) |
Related components:
Example DrawingBoards illustrating usage:

      
|