Manuals

Custom & Macro OSC

Send an arbitrary OSC message to any device on the network straight from KLANG:app — and
save it into one of eight reusable Macro OSC slots. It’s the in-app equivalent of our
KLANGosc command-line tool: build a message field by field, watch the exact command
preview update live, then fire it with one click.

Configuration

There are three ways to reach the CUSTOM & MACRO OSC dialog

PathWhere
CONFIG ▸ APP ▸ Custom & Macro OSC ▸ Edit & SendMain settings
CONFIG ▸ INFO ▸ Set Menu ▸ Send Custom OSC MessageInfo / Set menu
Keyboard shortcutMac: CMD + Shift + O
Windows: Ctrl + Shift + O

The dialog reopens on the slot you last used, so your most recent macro is one shortcut away.

Macro OSC Slot

A dropdown listing all 8 macro slots. Each entry shows its number and name, e.g.
8 | TEST, or <EMPTY> for an unused slot. Selecting a saved slot loads its stored
message into all the fields below. Selecting the blank top entry () leaves the current
fields untouched so you can compose a one-off message without overwriting a slot.

Macro OSC Name

A friendly label for the macro (e.g. TEST). This is what’s shown in the slot dropdown and
makes a saved macro easy to recognise later. It is not part of the OSC message itself.

Target IP Address

The destination device. Enter an IPv4 address (e.g. 10.10.10.10) or one of the
built-in aliases. An alias resolves to the right address automatically and, in most cases,
overwrites the Receive Port for you:

AliasResolves toForces portOSC address rewrite
processorThe connected processor’s IP9110
kontrollerThe connected KLANG:kontroller’s IP9111
appThe connected KLANG:app’s IP9111
thisapp127.0.0.1 (this computer)This app’s own receive port
localhost127.0.0.1Keeps the port you typed
consoleThe remote console’s IPThe remote console’s port
broadcast<broadcast IPs>Only active when port = 9111Prefixes /Ka/ToBroadcast/ (e.g. /test/Ka/ToBroadcast/test)
othersThe connected processor’s IPKeeps the port you typedPrefixes /Ka/ToOthers/ (e.g. /test/Ka/ToOthers/test)

If you leave Target IP Address empty, it defaults to the connected processor’s IP. The
default value when you open a fresh dialog is processor.

Receive Port

The UDP port the target is listening on (e.g. 9110). Heads-up: if you used an IP
alias above, that alias overwrites this field on send — so for processor/kontroller/app
you don’t need to set the port yourself. Use a literal IP if you want full manual control of
the port.

OSC Address

The OSC address pattern of your message, e.g. /test. Must start with /. See
klang.com/osc for the full address reference.

Argument Type

Choose what kind of value (if any) the message carries:

OptionSends
no ArgumentAddress only, no value
i = IntA single integer
f = FloatA single float
s = StringA single string
T = bool trueOSC boolean true (no value needed)
F = bool falseOSC boolean false (no value needed)

For no Argument, T and F, the Argument field is ignored.

Argument

The value itself — an integer, float, or string depending on the type above (e.g. 10).
Strings don’t need quotes here.

Command preview

Just above the buttons, the dialog prints the exact KLANGosc command your settings produce, with all aliases already resolved, e.g.:

KLANGosc 10.10.10.10 9110 /test i 11

This is the same syntax our command-line tool uses, so you can copy a working message
straight out of the app into a script or terminal.

Buttons

ButtonWhat it does
CancelCloses the dialog without sending or saving.
OSC HelpOpens the OSC documentation at klang.com/osc.
Save MacroStores the current name + message into the selected slot, then reopens the dialog. Does not send.
Delete MacroClears the selected slot and reopens the dialog.
Save & SENDSaves the current settings to the slot and sends the OSC message immediately. Also bound to the Return key.

Saved macros persist between sessions, so your eight slots stay populated until you change or delete them.
Saved macro OSC slots can be assigned to Action Buttons.

Example

Mute-style integer to the processor

FieldValue
Target IP Addressprocessor
Receive Port(auto → 9110)
OSC Address/test
Argument Typei = Int
Argument1

Preview: KLANGosc <processor-ip> 9110 /test i 1

Still Have Questions?

Contact us here