Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
d-huck committed Feb 14, 2019
1 parent dbd952a commit 8a82cc4
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 @@ -362,7 +366,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 @@ -865,4 +871,4 @@
b'43': "reverb_send",
b'44': "delay_send",
b'45': "chorus_send",
}
}

0 comments on commit 8a82cc4

Please sign in to comment.