MOA(5)

2024-04-15

NAME

Moa - configuration file format for mapping keys to OSC messages

DESCRIPTION

The configuration file is written using scfg. A directive's name is a single character string representing the key triggering one (or more) messages. Its children contain directives that represent the messages/events to be sent.

An event's name is the OSC address of the outgoing message. The first parameter is the value to be sent. The second parameter is optional. It represents the type of the value to be sent. This can either be "int32", "float32" or "string". If this is unspecified, the type of the value will be guessed.

EXAMPLES

The following are two possible mappings. Their effect should be trivial.


0 {
    /random/address "a string value"
    /random/address2 "the second value"
}

T {
    /some/other/address 127
}

A {
    /addr 0.4 string
    /addr 0.4 float32
}

SEE ALSO

moa(1)

AUTHORS

Created and maintained by Hannes Braun <hannes@hannesbraun.net>. Up-to-date sources can be found at https://git.sr.ht/~hannes/moa. Bugs and patches can be submitted by email to ~hannes/public-inbox@lists.sr.ht.