Pearl 2010 珍珠2010 调光台的灯库制作(by 星空武哥)

               

      很久没有出教程了,不是没有时间;不是没有教程,而是没有心情。今天我就教大家制作电脑灯库文件。首先,先看看珍珠2010调光台是什么样的 。

 

点击支持一下,谢谢

 


我就以珠江的电脑灯PR2950为例给大家讲讲。


DEVICE PR2950

;DEVICE表示定义设备名称,后面跟着的PR2950就是在配接灯具时在灯具列表中显示的名字。注意名

字没有引号,不能有空格,并且不超过11个字符
TYPE   1   17   M

;说明

;格式  TYPE   1     A    B

;共有三个字段。第一个字段常为1,没有任何意义,设计人员留下这么一个空间给以后的版本使用。
A字段表示灯具使用多少个通道。B字段表示灯具配接时的DMX选址方向。共有三种类型,M 从DMX512至

001(向下),D 从DMX001至512(向上)  K 表示在那些不连续未使用的DMX通道空隙里配接。

MIRROR 1(2) 540 270  270表示转运的最大垂度,540表示转运的最大水平角度


1代表摇头灯,2代表镜片灯


DMX
1   1   H   1   100 1N  H  1  "Dimmer"      255  255  255
3  61   s   2   100 1N  E  1  "Pan"         128   -1   -1
0   0   L   3   100 1N  E  1  "Pan Low"     128   -1   -1
3   1   s   4   100 1N  F  1  "Tilt"        128   -1   -1
0   0   L   5   100 1N  F  1  "Tilt Low"    128   -1   -1
6   1   I   6   100 1N  I  1  "Gobo"          0    0    0
4   1   I   7   100 1N  A  1  "Color Wheel"   0    0   40
2   1   L   8   100 1N  G  1  "Iris"        255  255  255
5  61   L   9   100 1N  0  1  "Edge"          0    0    0
2   61  L   10  100 1N  O  1  "Strobe"        0    0    0
5   1   L   11  100 1N  Q  1  "Zoom"          0    0    0
6   61  L   12  100 1N  J  1  "Rot wheel"     0    0    0
7   1   L   13  100 1N  M  1  "Gobo Index"    0    0    0
8   1   L   14  100 1N  0  1  "Focus Time"  255  255  255
8  61   L   15  100 1N  0  1  "Color Time"  255  255  255
9   1   L   16  100 1N  0  1  "Beam  Time"   255  255  255
11  1   L   17  100 1N  0  1  "Control"     255  255  255

;以上信息才是最关键的,现在说明每一列的意思
;第一列:用数字表示属性按钮,并和控制台一一对应。在控制台的最右边一列有11个属性按钮(去

掉最下面的1个),从上至下分别对应此处的1,2,3……

;第二列:有些按钮代表有两个属性,如pan/tile,此时在第二列加以说明。如果在左边则用1指定,

右边则用61指定。注意,0代表存在于这个属性但并不显示,如pan low和tile low。(附加说明:调

用这两个属性时在pan/tile按钮上连按两次,其上的LED指示此时灯会闪烁)

;第三列:表示通道类型(L=LTP,H=HTP,I=瞬变LTP,S=16位瞬变LTP,s=16位渐变LTP<注意S的大小

写>瞬变和渐变我就不说了)

;第四列:属性所对应的DMX通道,一般偏移量为1。

;第五列:输出电平,通常设置为100,表示该通道所输出的最高电平将和这个数字成比例

;第六列:这一列有两个数字,左边的1目前我还不懂是什么意思,资料上说仅对HTP有效,通常设置

为1,明白的朋友请告诉我。右边的数字表示通道的状态。有两个数值加以说明。I为反向,N为正常

;第七列:通道属性类型(A=颜色转轮1,BCD=颜色混合,E=水平,F=垂直,G=光圈,H=调光,I=图案

1,J=图案2,K=图案1旋转,L=聚焦,M=图案2旋转,N=颜色转轮2,O=频闪,P=棱镜,Q=放大,R=效果

旋转,S=粗糙效果,0=未知类别)
;第八列:通道进行校验和,总是设置为1

;第九列:给属性加以取名,这就是我们在控制台屏幕上看到的pan,color之类的字符。必须强调限制

在12个字符内

;第十列:通道打开时的默认值。范围是从0至255
;第十一列:通道的最高电平,范围是从0至255
;第十二列:通道的最低电平,范围是从0至255


明白了这些东西配置一个灯库就很简单了,下面就是我配置好的PR2950的灯库文件。



; 'Pearl River PR2950', 18 DMX Channels, filename: PR2950.R20
;

;
;----------------------------------------------------------------------------
; The device name, upto 11 characters, no spaces are allowed
DEVICE  PR2950-B                                 18 DMX Channels
NAME "Pearl River" "PR2950-B"
;
;----------------------------------------------------------------------------
; The Type of instrument, 1 & M must required for backward compatibility
; The middle number denotes the number of DMX channels used
TYPE  1  18  M
;
;----------------------------------------------------------------------------
; Mirror/Head resolution
MIRROR  2   540  270
;       |    |    |
;       |    |    |_______ maximum tilt movement (in degrees)
;       |    |____________ maximum pan movement (in degrees)
;       |_________________ 1 means moving mirror, 2 means moving head
;
;----------------------------------------------------------------------------
; Patching Information. (Upto 10 lines allowed)
; Upto 10 lines of 159 chars are allowed including formulae
; Variables used d=dmx number(1..512), h=handle(1..60), n=devicename (11-char)
; Allowed modifiers
;   +,-,*,/,(,) basic arithmatic
;   % means remainder after divide
;   & means logical AND
;   | means logical OR
;   R means reverse the bits of the current result (operates on a byte)
;   ^ means logical Exclusive OR (operates on a byte)
;   > means shift to the right
;   < shift to the left
;   r followed by number means get the value of that parameter
;   d DMX address
;   n Fixture name, a 0 terminated character string
;   h The handle number
DEVICEADDRESS
"Handle  %2d"h
"Fixture %11s"n
"DMX     %03d"d
""
""
"Set to Extended"
""
""
DAEND
;
;----------------------------------------------------------------------------
; Specify DMX limits
;
; minimum allowed dmx number
MINDMX=1
;
; maximum allowed dmx number
MAXDMX=498
;
; DMX number must be divisible by this
DIVBY=1
;
;----------------------------------------------------------------------------
; DMX channel description
;
; Column by column description of each DMX channel
; 1. The channels bank number (1..12)
; 2. The upper faders in the bank (1) or the lower faders in the bank (61)
; 3. Channel type (L=LTP, H=HTP, I=Instant LTP, S=16-bit instant LTP,
;    s=16-bit Fadeable LTP
; 4. DMX offset (1..number of DMX channels)
; 5. The output level is PRoportionally recdced by this level (0..100%)
; 6. The curve number (applicable only to HTP channels), usually set to 1
; 7. Inverted (I) or Normal (N)
; 8. Attribute type (A=Color Wheel1, BCD=Color Mix, E=Pan, F=Tilt,
;         G=Iris, H=Dimmer, I=Fixed Gobo, J=Rot Gobo 1, K=Gobo  Rot 1, L=Focus,
;         M=effects Rot, N=effects, O=Shutter, P=PRism/Frost, Q=Zoom,
;         R=PRism Rotate, S=Bean angle lens, T=Cto, U=ROT Gobo 2, V=Gobo  Rot 2)
; 9. Checksum channel (Always 1)
;10. Attribute name, must be enclosed in quotes and upto 12 charcaters allowed
;11. The ON value of this channel (0..255)
;12. The Highlight level of this channel
;13. The Lowlight level of this channel
;
DMX
2    61   L    1   100   1N   O   1   "Shutter"          11     11    11
1     1   H    2   100   1N   H   1   "Dimmer"          255    255    255
4     1   I    3   100   1N   A   1   "Colour"            0     0      0
2     1   L    4   100   1N   G   1   "Iris"              0    -1     -1
6     1   I    5   100   1N   I   1   "Gobo1"             0     0      0
6    61   I    6   100   1N   J   1   "Gobo2"             0     0      0
7     1   s    7   100   1N   k   1   "Gobo2 Rot"         0     0      0
0     0   L    8   100   1N   J   1   "Rot Gobo fine"     0     0      0
8    61   L    9   100   1N   P   1   "Prism/Frost"       0     0      0
9     1   L   10   100   1N   P   1   "Prism Rot"         0     0      0
5    61   L   11   100   1N   L   1   "Focus"           137    -1     -1
5     1   L   12   100   1N   Q   1   "Zoom"              0    -1     -1
3    61   s   13   100   1N   E   1   "Pan"              84   84   84
0     0   s   14   100   1N   E   1   "Pan fine"         84   84   84
3     1   s   15   100   1N   F   1   "Tilt"            128  128  128
0     0   s   16   100   1N   F   1   "Tilt fine"       128  128  128
8     1   I   17   100   1N   0   1   "P/T Speed"         0     0      0
11    1   I   18   100   1N   0   1   "Control"           0     0      0

END
;
;----------------------------------------------------------------------------
; Text to be displayed when the Instrument is selected for Patching
;TEXT
  Pearl River PR2950
  PRofile (16-bit)
  Bank WheelA WheelB
-----------------------------
 1  Dimmer       --
 2  Iris         Shutter
 3  Tilt         Pan
 4  Colour       --
 5  Focus        Zoom        
 6  Gobo1        Gobo2
 7  Gobo2 Rot    --
 8  P/T Speed    Prism/Frost
 9  Prism Rot    -- 
10  --           --
11  Control

INPUT fixture DMX No.
PRess a Fixture
Select or Swop button
to make the patch.
END

;----------------------------------------------------------------------------
; Macros

MACRO "Reset"         1  18
"data"                0  46
"delay"               1  45
"data"                0  0
MEND

MACRO "Lamp Off"      2  18
"data"                0  75
"delay"               1  70
"data"                0  0
MEND

MACRO "Lamp On"       3  18
"data"                0  ff
"delay"               1  40
"data"                0  0
MEND


点击一下导航网址支持一下:http://www.999.com/?iv=td_33049













           

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

猜你喜欢

转载自blog.csdn.net/qq_43667155/article/details/86553832