SoundSlot object - jhhl/AUMI-Together GitHub Wiki
Sound Item (Slot)
Possible Structure
{
"midi_note": 60,
"uiname":"C4",
"sources":
[
13,
14,
],
"round_robin":1,
"volume": 1.0,
"pan": 0,
"color_even":"EECC44",
"color_odd":"DDAA44",
"edge_even":2,
"edge_odd": 2,
"image":"C60.png",
"image_type":"rgba",
"quad":[0.23,0.1, 0.86,0.15, 0.86,0.63, 0.13,0.71]
}
If missing, default value is used, or in case of midi_note, it's just the slot #
- midi_note: also used for octave determination should be unique. might be ignored
- uiname: display name if using names.
- sources: [ list of sound pool indices to round robin]. Might be [] for MIDI interp
- round_robin:
-
- 0: just use the first one default
-
- 1: serial round robin (0 1 0 1 ...)
-
- 2: scramble round robin (1 0 0 1 0 1) random choice among the so far unchosen
-
- 3: random, anything can follow anything
- volume: 0.0:1.0 can be a quieter version all the time default: 1.0
- pan: -1.0:1.0 left:right default: 0.0
- image: name of an image as an icon optional
- image_type: a set of space delimited values" default: rgba
-
- "rgba": rgba (png, gif) full color image
-
- "rgb": rgb image, no transparency
-
- "rgbea": rgb image, a is color of the corners if they match
-
- "template": use slot colors with alpha
- color and edge data : even required, but missing odd uses even
-
- "color_even", "color_odd": main colors
-
- "edge_even", "edge_odd": edge widths
-
- "padding": 0.0:1.0 padding ratio default: 0.0.
- geometry:
-
- "quad": [ZO,ZO, ZO,ZO, ZO,ZO, ZO,ZO]
-
- drawn in that order. Internally, outer and inner bound boxes are computed.