Closed mungewell closed 10 months ago
The patch_check()
function attempts to read the bank/patch structure from the pedals, any improvements that should be made here?
https://github.com/mungewell/zoom-zt2/blob/master/zoomzt2.py#L483
Ideally, I guess the value passed to patch_download()
should match the value shown in Zoom's documentation and in Guitar-Lab (even if the count actually starts at zero in midi contents).
...any improvements that should be made here?
It depends on what your target specs are. Which models do you target?
Technically, you may pass whatever patch number to the patch_download()
, yet the code has to translate it into bank+progid address valid for a given model. More so, that address should fit into the number of 7-bit bytes allotted for that in the Sysex command defined for the model.
P.S. Thanks for restructuring the original issue!
@nomadbyte
I've added the 'new' download method, which appears to work OK on my G1Four
$ python3 zoomzt2.py -p 50 test.zptc
00000000: 52 00 6E 46 00 00 04 00 09 00 R.nF......
None
00000000: 52 00 6E 45 00 00 04 00 09 00 78 05 00 50 54 43 R.nE......x..PTC
00000010: 46 78 01 00 00 00 01 00 00 00 05 00 00 00 00 10 Fx..............
00000020: 00 00 00 00 00 00 00 00 00 00 41 47 00 20 44 2D ..........AG. D-
What is the SysEx for the 'new' upload method?
...What is the SysEx for the 'new' upload method?
Same approach as before. The output of the patch download can be sent to upload the patch. That is SysEx:[0x45
]. If sending to different destination patch address, the Bank and Prog fields should be set as needed in the SysEx.
The current Edit Buffer is handled similarly with SysEx:[0x29
] and [0x28
]
Done. Closing.
As noted on #64 it seems that the code in
zoomzt2.py
uses the wrong/old methods. These should be updated.and
@nomadbyte says...