Hi there,
i checked the zynthian_controller.py file on github and discovered that the yml config file seems to have lots more options. I discovered this method for loading the config options:
def set_options(self, options):
if 'symbol' in options:
self.symbol=options['symbol']
if 'name' in options:
self.name=options['name']
if 'short_name' in options:
self.short_name=options['short_name']
if 'value' in options:
self.value=options['value']
if 'value_default' in options:
self.value_default=options['value_default']
if 'value_min' in options:
self.value_min=options['value_min']
if 'value_max' in options:
self.value_max=options['value_max']
if 'labels' in options:
self.labels=options['labels']
if 'ticks' in options:
self.ticks=options['ticks']
if 'is_toggle' in options:
self.is_toggle=options['is_toggle']
if 'is_integer' in options:
self.is_integer=options['is_integer']
if 'midi_chan' in options:
self.midi_chan=options['midi_chan']
if 'midi_cc' in options:
self.midi_cc=options['midi_cc']
if 'osc_port' in options:
self.osc_port=options['osc_port']
if 'osc_path' in options:
self.osc_path=options['osc_path']
if 'graph_path' in options:
self.graph_path=options['graph_path']
self._configure()
Are those all working and usable? Is there somewhere a documentation on this? The examples I found are only use a small subset of those.I also have some problems that my yml files dont get parsed correctly and Zynthian is loading the default mapping. Is there a description which chars and syntax is allowed?