Integration with Bandhelper app -> MIDI remote control for Zynthian UI

When there is no name, it fails like this:

Regards,

just generate a default name or number.

Also fails when a bank has no name:

Hi @mheidt!

ā€œMaster MIDI Bank & Program change for snapshot loadingā€ is almost ready. As soon as we solve the problems with the webconf tool , i will upload the changes :wink:

Also, iā€™ve added a new config variable and would be nice to have it in the webconf tool. Itā€™s for selecting the Bank change ā€œmodeā€. Itā€™s name is:

ZYNTHIAN_MASTER_MIDI_BANK_CHANGE_CCNUM

And 2 values are possible:

  • LSB => 0x20
  • MSB => 0x00

Perhaps a 3rd option should be added for allowing using both and have 128x128 banks.

Regards,

A selection box with those two values?

how did you create those snapshots? ssh?
Because a dash (-) is mandatory between number and name.
Nevertheless I will change something, so that the dash is not mandatory.

Exactly!!! :+1:

ā€œLSBā€ and ā€œMSBā€

No, i used the Zynthian UI :wink:

If the name is optional, the dash too :wink:

I canā€™t reproduce it locally on my pcā€¦no zynthian available right now.
Could you show me your
find .
from /snapshots?

root@zynthian:/zynthian/zynthian-my-data/snapshots# find .
.
./00001-Mampon
./00001-Mampon/002.zss
./00008
./00008/001.zss
./00002-Bank2
./00007-Bank7
./00007-Bank7/001-pitos.zss
./00007-Bank7/002.zss

checkout branch snapshotWebConfFix

Only the fix, not the new LSB/MSB feature

Thanks @mheidt! It works like a charm now!

Iā€™ve uploaded the changes for the Master MIDI remote control commands, implemented according to the specification discussed in this thread. You can ā€œupdate softwareā€ from the ā€œadmin menuā€ :wink:

Currently ā€œBank Change Modeā€ is configured by default to LSB. Itā€™s possible to change it to MSB by editing the config file:

/zynthian/zynthian-sys/scripts/zynthian_envars.sh

Yes, iā€™ve to move this config file to a better place :wink:

If you have any doubt, please, ask me. I hope to make a little ā€œstopā€ in development and spend some time improving the user guide, etc.

Next step: Master Volume :+1:

Enjoy!

checkout branch ZYNTHIAN_MASTER_MIDI_BANK_CHANGE_CCNUM.
I had to make changes to config_block as well.
I am storing the values as string like ā€œ32ā€ā€¦int values not supportedā€¦

[FORGET THIS COMMENT! I was using an older version :wink:]

There is a little error in webconf->snapshot. When deleting the name of a snapshot, a slash is left before the ā€œ.zssā€, and the the string ā€œ.zssā€ appears as name:

BTW, could you give a try to the new feature?

Regards,

OK! Tested and merged!

Thanks a lot, Markus!

I canā€™t reproduce the error. Actually this is the bug I had when I fixed your bug. It was never empty for me, but I always saw the extension.

Forget the error. I was using an older version. Sorry :wink: