Anytime Help Center

BSS BLU presets from Muse Automator

Rating

Question:

How do you trigger presets on a BSS BLU device from Muse Automator?


​Answer:

Since the presets are not built into the exported Audio Architect file they will not show up as an option in the Command Node of Muse Automator. To execute a preset you will need to create a separate connection to the BLU on port 1023 and send the command string that triggers the preset. 

You can find this command string in the third party controller object of Audio Architect but to use the command string in a function node the HEX prefix will need to be modified to 0x. 

Import the code snippet​ below into Muse Automator for an example setup. 



[
    {
        "id": "10ccb97782101b34",
        "type": "tab",
        "label": "BSS Presets",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "ac9a3bbbb07e7ea8",
        "type": "tcp request",
        "z": "10ccb97782101b34",
        "name": "",
        "server": "10.35.88.59",
        "port": "1023",
        "out": "sit",
        "ret": "string",
        "splitc": " ",
        "newline": "",
        "trim": false,
        "tls": "",
        "x": 690,
        "y": 200,
        "wires": [
            []
        ]
    },
    {
        "id": "7869e0daa06e7271",
        "type": "function",
        "z": "10ccb97782101b34",
        "name": "Preset 1",
        "func": "msg.payload = Buffer.from([0x02, 0x8C, 0x00, 0x00, 0x00, 0x00, 0x8C, 0x03]);\nreturn msg",
        "outputs": 1,
        "timeout": "",
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 180,
        "wires": [
            [
                "ac9a3bbbb07e7ea8"
            ]
        ]
    },
    {
        "id": "c69abc16ec48f78d",
        "type": "function",
        "z": "10ccb97782101b34",
        "name": "Preset 2",
        "func": "msg.payload = Buffer.from([0x02, 0x8C, 0x00, 0x00, 0x00, 0x01, 0x8D, 0x03]);\nreturn msg",
        "outputs": 1,
        "timeout": "",
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 440,
        "y": 220,
        "wires": [
            [
                "ac9a3bbbb07e7ea8"
            ]
        ]
    },
    {
        "id": "59c0911ee5ff2c6e",
        "type": "inject",
        "z": "10ccb97782101b34",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 160,
        "y": 220,
        "wires": [
            [
                "c69abc16ec48f78d"
            ]
        ]
    },
    {
        "id": "0ec9de15f6a166ce",
        "type": "inject",
        "z": "10ccb97782101b34",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 160,
        "y": 180,
        "wires": [
            [
                "7869e0daa06e7271"
            ]
        ]
    },
    {
        "id": "98269029c84e8c06",
        "type": "inject",
        "z": "10ccb97782101b34",
        "name": "Open Connection on Start and Keep Alive",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "45",
        "crontab": "",
        "once": true,
        "onceDelay": "5",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 210,
        "y": 120,
        "wires": [
            [
                "5bec19f067909de0"
            ]
        ]
    },
    {
        "id": "5bec19f067909de0",
        "type": "function",
        "z": "10ccb97782101b34",
        "name": "null",
        "func": "msg.payload = Buffer.from(\"\");\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 450,
        "y": 120,
        "wires": [
            [
                "ac9a3bbbb07e7ea8"
            ]
        ]
    },
    {
        "id": "b72fcef1c5ad9972",
        "type": "comment",
        "z": "10ccb97782101b34",
        "name": "Connection to BLU on port 1023",
        "info": "",
        "x": 720,
        "y": 100,
        "wires": []
    },
    {
        "id": "8cf19759614ec1c9",
        "type": "comment",
        "z": "10ccb97782101b34",
        "name": "I opted to keep the connection open but you could close it after sending the Preset command and remove the keep alive if you prefer",
        "info": "",
        "x": 1000,
        "y": 140,
        "wires": []
    }
]

​​



Downloads

Product

 

Topic

Programming

Related Articles

Last modified at 5/28/2025 10:30 AM by PRO Knowledge Base
Top