Skip to content

Commit

Permalink
initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
privatepublic-de committed Mar 13, 2017
0 parents commit 364786b
Show file tree
Hide file tree
Showing 12 changed files with 1,396 additions and 0 deletions.
92 changes: 92 additions & 0 deletions doc/faderfox sysex data format PC4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
FADERFOX SYSEX DATA FORMAT PC4


data of one setup:

4D pot 1
2x type
1x channel
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
4D pot 1
2x CC# high nibble (max 7 !)
1x CC# low nibble
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00

4D pot 2
2x type
1x channel
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
4D pot 2
2x CC# high nibble (max 7 !)
1x CC# low nibble
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00

4D pot 3
2x type
1x channel
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
4D pot 3
2x CC# high nibble (max 7 !)
1x CC# low nibble
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00

.
.
.
.
.

4D pot 24
2x type
1x channel
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
4D pot 24
2x CC# high nibble (max 7 !)
1x CC# low nibble
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00



next setup memory (all 16 setup memories follow in ascending order)



!!!
30 times value 00 between the commands are important for successful flash process


types:
B control change
C program change
E pitch bend
(all other values will be converted to B)


channels:
0 channel 1
1 channel 2
.
.
.
F channel 16


CC#:
00 to 7F (0 to 127)
not used for types C and E (each value possible)
60 changes: 60 additions & 0 deletions doc/faderfox sysex format general.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
FADERFOX SYSEX FORMAT GENERAL


system commands (sysex start/stop) have 1 byte (high nibble = F).
all other commands have 3 bytes :
1st byte = command byte (high nibble = 4)
2nd byte = data MSB in low nibble (high nibble = 2)
3rd byte = data LSB in low nibble (high nibble = 1)


1st nibble of 1st byte = command/data type
0 empty (no command/data)
F system command (sysex start/stop)
4 command
2 data MSB
1 data LSB

2nd nibble = command/data


commands:

CMD_EMPTY 00
CMD_DOWNLOAD_START 41 // data: device ID (see below)
CMD_DOWNLOAD_TYPE 42 // data: 01 = app; 02 = one setup; 03 = all setups
CMD_APP_ID_H 43 // data: firmware-version
CMD_APP_ID_L 44 // data: firmware-sub-version

CMD_PAGE_CRC_H 4B // checksum high byte
CMD_PAGE_CRC_L 4C // checksum low byte
CMD_PAGE_DATA 4D // data

CMD_DOWNLOAD_STOP 4F // data: device ID (see below)

CMD_SYSEX_START F0
CMD_SYSEX_STOP F7




DEVICE_ID's
01 // ID for DJ44
02 // ID for PC4
03 // ID for SC4
04 // ID for MB1
05 // ID for Versus
06 // ID for UC4
07 // ID for UC44
08 // ID for PC44


CRC calculation:
adds all data bytes in a word register (16bit)
only data from data commands (4D) !
for instance add hex 35 for command 4D 23 15


!!!
each sysex string started with F0 00 00 00 (sysex start, 3 x 00 for inventor ID)
and end with 4B 2x 1x 4C 2x 1x 4F 2x 1x F7 (4B = CRC high, 4C = CRC low, 4F = download stop, F7 = sysex stop)
Binary file added doc/testdump.syx
Binary file not shown.
Binary file added img/wait.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 364786b

Please sign in to comment.