The codebase to run the *spark d-fuser controller www.sparkav.co.uk/dvimixer

Dependencies:   SPK-TVOne DMX DmxArtNet NetServicesMin OSC PinDetect mRotaryEncoder iniparser mbed spk_oled_ssd1305 filter

Committer:
tobyspark
Date:
Wed Jul 09 10:04:20 2014 +0000
Revision:
78:7517f0060611
Parent:
77:20f948d4885e
Commit + Publish to help mbed.org debug compiler issues I have been encountering.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tobyspark 36:8b5c75c8bc23 1 ##########################################################################
tobyspark 36:8b5c75c8bc23 2 # _____ _____ _____ _____ _____ ____ _____ _____ _____ _____ _____ #
tobyspark 36:8b5c75c8bc23 3 # | __| _ | _ | __ | | | | \| __| | | __| __| __ | #
tobyspark 36:8b5c75c8bc23 4 # |__ | __| | -| -| | | | __| | |__ | __| -| #
tobyspark 36:8b5c75c8bc23 5 # |_____|__| |__|__|__|__|__|__| |____/|__| |_____|_____|_____|__|__| #
tobyspark 36:8b5c75c8bc23 6 # #
tobyspark 36:8b5c75c8bc23 7 ######################################### A PROJECT BY TOBY HARRIS #######
tobyspark 36:8b5c75c8bc23 8
tobyspark 68:c26478f42ca4 9 ### NETWORK
tobyspark 68:c26478f42ca4 10 #
tobyspark 68:c26478f42ca4 11 # Parameters for the various network modes
tobyspark 68:c26478f42ca4 12 #
tobyspark 68:c26478f42ca4 13 # OSC: if DHCP is set to Yes, the IP address parameters will be ignored.
tobyspark 77:20f948d4885e 14 # DMX: no universe setting, it's the cable you plug in!
tobyspark 77:20f948d4885e 15 # Artnet: Will use the channel mapping set in the DMX section, along with the universe set here.
tobyspark 68:c26478f42ca4 16
tobyspark 68:c26478f42ca4 17 [OSC]
tobyspark 68:c26478f42ca4 18
tobyspark 68:c26478f42ca4 19 DHCP = No
tobyspark 71:d6d0ff33cf5b 20 ControllerAddress = 10.0.0.02
tobyspark 68:c26478f42ca4 21 ControllerPort = 10000
tobyspark 68:c26478f42ca4 22 ControllerSubnetMask = 255.255.255.0
tobyspark 68:c26478f42ca4 23 ControllerGateway = 10.0.0.1
tobyspark 68:c26478f42ca4 24 ControllerDNS = 10.0.0.1
tobyspark 68:c26478f42ca4 25
tobyspark 68:c26478f42ca4 26 SendAddress = 255.255.255.255
tobyspark 68:c26478f42ca4 27 SendPort = 10000
tobyspark 68:c26478f42ca4 28
tobyspark 68:c26478f42ca4 29 [ArtNet]
tobyspark 68:c26478f42ca4 30
tobyspark 68:c26478f42ca4 31 ControllerAddress = 2.0.0.100
tobyspark 68:c26478f42ca4 32 BroadcastAddress = 2.255.255.255
tobyspark 77:20f948d4885e 33 Universe = 0
tobyspark 68:c26478f42ca4 34
tobyspark 68:c26478f42ca4 35 [DMX]
tobyspark 68:c26478f42ca4 36
tobyspark 68:c26478f42ca4 37 InChannelXFade = 0
tobyspark 68:c26478f42ca4 38 InChannelFadeUp = 1
tobyspark 68:c26478f42ca4 39 OutChannelXFade = 0
tobyspark 68:c26478f42ca4 40 OutChannelFadeUp = 1
tobyspark 68:c26478f42ca4 41
tobyspark 36:8b5c75c8bc23 42 ### KEYS
tobyspark 36:8b5c75c8bc23 43 #
tobyspark 36:8b5c75c8bc23 44 # Name = What is shown in menu
tobyspark 36:8b5c75c8bc23 45 # MinY...MaxV = As per TVOne keyer settings.
tobyspark 59:bb17773d0051 46 # Note these are super sensitive, one laptop will have slightly different
tobyspark 59:bb17773d0051 47 # numbers to another to achieve otherwise the same -- ie. pure blue -- key.
tobyspark 36:8b5c75c8bc23 48 #
tobyspark 59:bb17773d0051 49 # Keying advice from the 1T-C2-750 Manual: The Min/Max parameters are used to
tobyspark 59:bb17773d0051 50 # select what range of Y (luminance/grey-scale) values are made transparent
tobyspark 59:bb17773d0051 51 # within the selected window/lock source. In order to key out part of an image,
tobyspark 59:bb17773d0051 52 # start with the max value and increase it until the required lighter parts
tobyspark 59:bb17773d0051 53 # within the window/lock source disappear. Then adjust the min level to bring
tobyspark 59:bb17773d0051 54 # back any darker parts of the image.
tobyspark 36:8b5c75c8bc23 55
tobyspark 36:8b5c75c8bc23 56 [Key1]
tobyspark 71:d6d0ff33cf5b 57 Name = White In
tobyspark 36:8b5c75c8bc23 58 MinY = 0
tobyspark 71:d6d0ff33cf5b 59 MaxY = 166
tobyspark 36:8b5c75c8bc23 60 MinU = 128
tobyspark 36:8b5c75c8bc23 61 MaxU = 129
tobyspark 36:8b5c75c8bc23 62 MinV = 128
tobyspark 36:8b5c75c8bc23 63 MaxV = 129
tobyspark 36:8b5c75c8bc23 64
tobyspark 36:8b5c75c8bc23 65 [Key2]
tobyspark 71:d6d0ff33cf5b 66 Name = Black Out
tobyspark 71:d6d0ff33cf5b 67 MinY = 0
tobyspark 71:d6d0ff33cf5b 68 MaxY = 50
tobyspark 71:d6d0ff33cf5b 69 MinU = 128
tobyspark 71:d6d0ff33cf5b 70 MaxU = 129
tobyspark 71:d6d0ff33cf5b 71 MinV = 128
tobyspark 71:d6d0ff33cf5b 72 MaxV = 129
tobyspark 71:d6d0ff33cf5b 73
tobyspark 71:d6d0ff33cf5b 74 [Key3]
tobyspark 71:d6d0ff33cf5b 75 Name = Blue Out
tobyspark 36:8b5c75c8bc23 76 MinY = 30
tobyspark 36:8b5c75c8bc23 77 MaxY = 35
tobyspark 36:8b5c75c8bc23 78 MinU = 237
tobyspark 36:8b5c75c8bc23 79 MaxU = 242
tobyspark 36:8b5c75c8bc23 80 MinV = 114
tobyspark 36:8b5c75c8bc23 81 MaxV = 121
tobyspark 36:8b5c75c8bc23 82
tobyspark 71:d6d0ff33cf5b 83 [Key4]
tobyspark 71:d6d0ff33cf5b 84 Name = Green Out
tobyspark 71:d6d0ff33cf5b 85 MinY = 144
tobyspark 71:d6d0ff33cf5b 86 MaxY = 145
tobyspark 71:d6d0ff33cf5b 87 MinU = 53
tobyspark 71:d6d0ff33cf5b 88 MaxU = 135
tobyspark 71:d6d0ff33cf5b 89 MinV = 34
tobyspark 71:d6d0ff33cf5b 90 MaxV = 35
tobyspark 71:d6d0ff33cf5b 91
tobyspark 36:8b5c75c8bc23 92 # Edit the above, or add your own keys here, up to Key99
tobyspark 36:8b5c75c8bc23 93
tobyspark 59:bb17773d0051 94 ### RESOLUTIONS
tobyspark 36:8b5c75c8bc23 95 #
tobyspark 36:8b5c75c8bc23 96 # Name = What is shown in menu
tobyspark 36:8b5c75c8bc23 97 # Number = Resolution number in TVOne. ie. what would be set in Menu > Outputs > Set Resolution
tobyspark 36:8b5c75c8bc23 98 # EDID Number = The EDID to use on the inputs, which what your computer will think its connected to. ie. what would be set in Menu > Windows > Display Emul. EDID
tobyspark 36:8b5c75c8bc23 99 #
tobyspark 36:8b5c75c8bc23 100 # EDID numbers are as follows
tobyspark 36:8b5c75c8bc23 101 # 0 = Mem1, 1 = Mem2, 2 = Mem3,
tobyspark 36:8b5c75c8bc23 102 # 3 = Mem4 which we use for Matrox EDID, its uploaded by the controller as part of 'Conform Processor'
tobyspark 36:8b5c75c8bc23 103 # 4 = 3D, 5 = HDMI, 6 = DVI, 7 = Monitor Passthrough
tobyspark 36:8b5c75c8bc23 104
tobyspark 36:8b5c75c8bc23 105 [Resolution1]
tobyspark 36:8b5c75c8bc23 106 Name = VGA (640x480)
tobyspark 36:8b5c75c8bc23 107 Number = 8
tobyspark 36:8b5c75c8bc23 108 EDIDNumber = 6
tobyspark 36:8b5c75c8bc23 109
tobyspark 36:8b5c75c8bc23 110 [Resolution2]
tobyspark 36:8b5c75c8bc23 111 Name = SVGA (800x600)
tobyspark 36:8b5c75c8bc23 112 Number = 18
tobyspark 36:8b5c75c8bc23 113 EDIDNumber = 6
tobyspark 36:8b5c75c8bc23 114
tobyspark 36:8b5c75c8bc23 115 [Resolution3]
tobyspark 36:8b5c75c8bc23 116 Name = XGA (1024x768)
tobyspark 36:8b5c75c8bc23 117 Number = 28
tobyspark 36:8b5c75c8bc23 118 EDIDNumber = 6
tobyspark 36:8b5c75c8bc23 119
tobyspark 36:8b5c75c8bc23 120 [Resolution4]
tobyspark 36:8b5c75c8bc23 121 Name = WSXGA+ (1650x1050)
tobyspark 36:8b5c75c8bc23 122 Number = 85
tobyspark 36:8b5c75c8bc23 123 EDIDNumber = 6
tobyspark 36:8b5c75c8bc23 124
tobyspark 36:8b5c75c8bc23 125 [Resolution5]
tobyspark 36:8b5c75c8bc23 126 Name = WUXGA (1920x1200)
tobyspark 36:8b5c75c8bc23 127 Number = 115
tobyspark 36:8b5c75c8bc23 128 EDIDNumber = 6
tobyspark 36:8b5c75c8bc23 129
tobyspark 36:8b5c75c8bc23 130 [Resolution6]
tobyspark 59:bb17773d0051 131 Name = HD 720P50 (1280x720)
tobyspark 59:bb17773d0051 132 Number = 44
tobyspark 59:bb17773d0051 133 EDIDNumber = 5
tobyspark 59:bb17773d0051 134
tobyspark 73:c0bed42f478f 135 [Resolution7]
tobyspark 59:bb17773d0051 136 Name = HD 720P60 (1280x720)
tobyspark 59:bb17773d0051 137 Number = 48
tobyspark 59:bb17773d0051 138 EDIDNumber = 5
tobyspark 59:bb17773d0051 139
tobyspark 73:c0bed42f478f 140 [Resolution8]
tobyspark 59:bb17773d0051 141 Name = HD 1080P24 (1920x1080)
tobyspark 59:bb17773d0051 142 Number = 101
tobyspark 59:bb17773d0051 143 EDIDNumber = 5
tobyspark 59:bb17773d0051 144
tobyspark 73:c0bed42f478f 145 [Resolution9]
tobyspark 73:c0bed42f478f 146 Name = HD 1080P30 (1920x1080)
tobyspark 73:c0bed42f478f 147 Number = 105
tobyspark 73:c0bed42f478f 148 EDIDNumber = 5
tobyspark 73:c0bed42f478f 149
tobyspark 59:bb17773d0051 150 [Resolution10]
tobyspark 59:bb17773d0051 151 Name = HD 1080P50 (1920x1080)
tobyspark 59:bb17773d0051 152 Number = 106
tobyspark 59:bb17773d0051 153 EDIDNumber = 5
tobyspark 59:bb17773d0051 154
tobyspark 59:bb17773d0051 155 [Resolution11]
tobyspark 36:8b5c75c8bc23 156 Name = HD 1080P60 (1920x1080)
tobyspark 36:8b5c75c8bc23 157 Number = 109
tobyspark 36:8b5c75c8bc23 158 EDIDNumber = 5
tobyspark 36:8b5c75c8bc23 159
tobyspark 59:bb17773d0051 160 [Resolution12]
tobyspark 76:f56c2b955535 161 Name = Dualhead SVGA (1600x600)
tobyspark 36:8b5c75c8bc23 162 Number = 75
tobyspark 36:8b5c75c8bc23 163 EDIDNumber = 3
tobyspark 36:8b5c75c8bc23 164
tobyspark 59:bb17773d0051 165 [Resolution13]
tobyspark 76:f56c2b955535 166 Name = Dualhead XGA (2048x768)
tobyspark 36:8b5c75c8bc23 167 Number = 123
tobyspark 36:8b5c75c8bc23 168 EDIDNumber = 3
tobyspark 36:8b5c75c8bc23 169
tobyspark 59:bb17773d0051 170 [Resolution14]
tobyspark 76:f56c2b955535 171 Name = Triplehead VGA (1920x480)
tobyspark 36:8b5c75c8bc23 172 Number = 90
tobyspark 36:8b5c75c8bc23 173 EDIDNumber = 3
tobyspark 36:8b5c75c8bc23 174
tobyspark 76:f56c2b955535 175 [Resolution15]
tobyspark 76:f56c2b955535 176 Name = Quadhead XGA (2048x1536)
tobyspark 76:f56c2b955535 177 Number = 128
tobyspark 76:f56c2b955535 178 EDIDNumber = 2
tobyspark 76:f56c2b955535 179
tobyspark 59:bb17773d0051 180 # Edit the above, or add your own keys here, up to Resolution99
tobyspark 59:bb17773d0051 181
tobyspark 59:bb17773d0051 182 # End of SPKDF.ini -- Ensure there is a blank line below this.