nexgentec technical documentation

presets_config.toml

Presets can be recalled on start up and using the Control API

Use UNIX file fomatting when editing the file

Generate yourself an example

See the fully commented definition below

  • The file must be in TOML format
  • Check the correct syntax online toml-lint
  • Mandatory means that it will not work without.
[[preset]]

  # ID (s) of the preset object, mandatory

  preset_id = [56, 59, 33, 38]

  # Name of the preset object, can be omitted

  preset_name = "MyPreset_1"

  # Destination object

  [preset.destination]

    [[preset.destination.channel]]

      # Dante channel name, mandatory for Dante devices

      channel_name = "SDMS0000011"

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 1

      # Dante device name, can be omitted but should not.

      node_name = "MyDanteDevice_1"

    [[preset.destination.channel]]

      # Dante channel name, mandatory for Dante devices

      channel_name = "SDMS0000012"

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 2

      # Dante device name, can be omitted but should not.

      node_name = "MyDanteDevice_1"

    [[preset.destination.channel]]

      # Dante channel name, mandatory for Dante devices

      channel_name = "SDMS0000013"

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 3

      # Dante device name, can be omitted but should not.

      node_name = "MyDanteDevice_1"

    [[preset.destination.channel]]

      # Dante channel name, mandatory for Dante devices

      channel_name = "SDMS0000014"

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 4

      # Dante device name, can be omitted but should not.

      node_name = "MyDanteDevice_1"

  # Source object

  [preset.source]

    [[preset.source.channel]]

      # Dante channel name, mandatory for Dante devices

      channel_name = "SDMS0000011"

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 1

      # Dante device name, can be omitted but should not.

      node_name = "MyDanteDevice_1"

    [[preset.source.channel]]

      # Dante channel name, mandatory for Dante devices

      channel_name = "SDMS0000012"

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 2

      # Dante device name, can be omitted but should not.

      node_name = "MyDanteDevice_1"

    [[preset.source.channel]]

      # AES Flow name, mandatory for AES devices

      aes_flow_name = "239.69.x.x@MyAesDevice_1"

      # AES flow slot ID for this channel (1-x), mandatory for AES devices

      aes_flow_slot_id = 1

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 3

    [[preset.source.channel]]

      # AES Flow name, mandatory for AES devices

      aes_flow_name = "239.69.x.x@MyAesDevice_1"

      # AES flow slot ID for this channel (1-x), mandatory for AES devices

      aes_flow_slot_id = 2

      # Channel index, if omitted the order of the channels below the object determines the index

      index = 4

[[preset]]

  preset_id = [26, 9, 3, 63]
  preset_name = "MyPreset_2"

  [preset.destination]

    [[preset.destination.channel]]
      channel_name = "SDMS0000021"
      index = 1
      node_name = "MyDanteDevice_2"

    [[preset.destination.channel]]
      channel_name = "SDMS0000022"
      index = 2
      node_name = "MyDanteDevice_2"

    [[preset.destination.channel]]
      channel_name = "SDMS0000023"
      index = 3
      node_name = "MyDanteDevice_2"

    [[preset.destination.channel]]
      channel_name = "SDMS0000024"
      index = 4
      node_name = "MyDanteDevice_2"

  [preset.source]

    [[preset.source.channel]] 
      channel_name = "SDMS0000021"  
      index = 1  
      node_name = "MyDanteDevice_2"

    [[preset.source.channel]]
      channel_name = "SDMS0000022"
      index = 2   
      node_name = "MyDanteDevice_2"

    [[preset.source.channel]]
      aes_flow_name = "239.69.x.x@MyAesDevice_2"
      aes_flow_slot_id = 1
      index = 3

    [[preset.source.channel]] 
      aes_flow_name = "239.69.x.x@MyAesDevice_2"  
      aes_flow_slot_id = 2   
      index = 4
Last updated on 20 Mar 2021
Published on 20 Mar 2021