mungewell / zoom-zt2

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

FX capabilities - Stereo In/Stereo Out/etc? #38

Open mungewell opened 3 years ago

mungewell commented 3 years ago

The last 4 bytes of 'unknown3' are too 'common' across a larger number off effects not to mean something in particular. Could this be were the effect describes whether it is stereo in, stereo out, etc...?

I saw mention somewhere that someone had documented which if the ZDL effects were stereo/etc, has anyone done this for ZD2 effects?

simon@thevoid:~/zoom_effects/zoom_fx/A1 FOUR/unzipped$ find . -name '*.ZD2' -exec python3 ~/zoom-zt2-sdw-github/decode_effect.py -d {} \; | grep unknown4 | sort | uniq -c
      2     unknown4 = b'@\x00\x00\x00' (total 4)
     13     unknown4 = b'P\x00\x00\x00' (total 4)
      3     unknown4 = b'X\x00\x00\x00' (total 4)
     52     unknown4 = b'\x00\x00\x00\x00' (total 4)
     18     unknown4 = b'\x11\x00\x00\x00' (total 4)
     72     unknown4 = b'\x87\x00\x00\x00' (total 4)
     16     unknown4 = b'\x8e\x00\x00\x00' (total 4)
simon@thevoid:~/zoom_effects/zoom_fx/A1 FOUR/unzipped$ find . -name '*.ZD2' -exec python3 ~/zoom-zt2-sdw-github/decode_effect.py -d {} \; | grep groupname | sort | uniq -c
     28     groupname = u'AG MODEL' (total 8)
      2     groupname = u'AMP' (total 3)
      2     groupname = u'CABINET' (total 7)
     18     groupname = u'DELAY' (total 5)
      3     groupname = u'DRIVE' (total 5)
     16     groupname = u'DYNAMICS' (total 8)
     44     groupname = u'FILTER' (total 6)
     41     groupname = u'MODULATION' (total 10)
     13     groupname = u'REVERB' (total 6)
      9     groupname = u'SFX' (total 3)
mungewell commented 2 years ago

G1Four Effects that are known to be mono (ie will prevent a wide sound from a previous Ping-Pong delay)...

mungewell commented 1 year ago

In looking at another issue, we discovered that the CODE section (ELF binary) contains a symbol effectTypeImageInfo which has the dimensions of the on-device icon. It's possible that this also includes other parameters, such as whether the effect is mono/stereo input/output.

https://github.com/mungewell/zoom-zt2/issues/52#issuecomment-1369340516