-
Notifications
You must be signed in to change notification settings - Fork 1
data multiply
senso edited this page Jun 22, 2026
·
2 revisions
#example #data #callback #simple #events
Simple data multiplication module.
| Module Name | data multiply |
| Type | mtSimple |
| Color | clDataModuleColor |
| Source | examples/DataMultiply/ |
Multiplies two data inputs and outputs the result. The simplest example of callback-driven data processing with no audio processing.
| # | Name | Type | I/O | Callback |
|---|---|---|---|---|
| 0 | a |
ptDataField |
Input |
ctNormal (shared ID) |
| 1 | b |
ptDataField |
Input |
ctNormal (shared ID) |
| 2 | result |
ptDataField |
Output (DontSave) | None |
- Both inputs share the same
CallBackIdso any change triggers the computation -
onCallBack: CallssdkMultEvt3(a, b, result)to multiply A * B -
onProcess: Not used (DontProcess = TRUE)
- Shared callback IDs: Multiple parameters triggering the same callback
-
sdkMultEvt3: Event-level multiplication (deprecated — useUsineEventClass::mult()in new code) -
DontSave: Output parameter excluded from saves -
DontProcess = TRUE: No audio processing needed
onGetModuleInfo · onGetParamInfo · onCallBack
- TemplateModuleSimple — Another simple data module
- MidiTranspose — Data processing with MIDI