Everything is better after a few Duvels!
Now I got some time to try your demo preset. Very nice! I think I understand the code. But yes, itâs a kind of difficult to get a list of configured devices when nothing is configured. In such case: can Lua handle exceptions?
It would be very cool if there would be a <Device>:create(name, channel, rate)
function⌠@martin
I will go on and try to implement your functions for my Zynthian setup.
Remember - âDeviceâ in this context is related to things defined/installed/created on the Electra One. I can load up multiple presets that talk to synthesizers and effects that I do not own. As long as they have a device name/id/etc, they will show up when you query the devices. This doesnât mean that the preset will actually be useful, just that it is installed in the Electra One.
If youâre looking for some way to go out across the MIDI cables and look for actual devices that are up and running, thatâs a different problem.