mungewell / zoom-zt2

Python script to install/remove effects from the Zoom G1Four pedal
MIT License
50 stars 10 forks source link

Pattern numbering is not consistant #44

Open mungewell opened 2 years ago

mungewell commented 2 years ago
$ python3 zoomzt2.py -c current.bin
$ python3 decode_preset.py -s current.bin | head
Name: Rhythm199 
Patch Volume: 100
Effect 1: 0x1E000010
   Enabled: True
   Param 1: 54
   Param 2: 0
   Param 3: 0
   Param 4: 80
   Param 5: 0
   Param 6: 0

Pattern numbering is off. My script uses magic numbers I discovered by looking at the FW... it seems that there are a couple of unused patterns in there. PLUS, the value reported by decode_preset seems to start from 0.

Manuals start from 1: page 56 - https://zoomcorp.com/media/documents/E_G5n-V2.0.pdf page 46 - https://zoomcorp.com/media/documents/E_G1FOUR.pdf

$ amidi -p hw:1,0,0 -S 'F0 52 00 6e 64 02 00 05 00 F7' -r temp.bin -t 2

1015 bytes read

$ python3 decode_screens.py temp.bin | head
---
Effect: Rhythm (Off)
PATTERN : Breaks1
BPM : 0
VOL : 80
---