Skip to content

Commit

Permalink
Merge branch 'dev' of gitlab.com:dhuck/libdigitone into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
d-huck committed Jan 13, 2020
2 parents 3d62a85 + 8a82cc4 commit 42cb79f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions libdigitone/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@

)

# NOTE: This dictionary lists the relative location of the bytes used rather than the absolute position of the bytes used for each parameter.
# The reason for this is the Sound class breaks each sysex message into it's relative parts. The data portion of each patch is from
# byte 0x29 to byte 0x14e. If translating this library to another language, please take note.

PARAM_LOOK = {
'algorithm': ['0x28'],
'c': ['0x2b'],
Expand Down Expand Up @@ -377,7 +381,9 @@

SYSEX_BEGIN = b'f0'+b'00'+b'20'+b'3c'+b'0d'+b'00'+b'53'+b'01'+b'01'

# Tables for output
# Reference table for human readable output of a few of the parameters. This is mostly for testing purposes though the reference
# may come in handy.

# TODO: tables for multi-switches, LFO Mult, LFO_Mode

PARAM_C = [
Expand Down Expand Up @@ -880,4 +886,4 @@
b'43': "reverb_send",
b'44': "delay_send",
b'45': "chorus_send",
}
}

0 comments on commit 42cb79f

Please sign in to comment.