What is New |
Print Previous Next |
The latest MADRIX Script version is 1.43 (MADRIX 2.14h).
News For Script Engine Version 1.43 (MADRIX V2.14h) New functions for Main Output Macro:
News For 1.40 (MADRIX V2.14b) New global functions: int GetMidiInNoteValue(int note, int midichannel, int device) int GetMidiInControlValue(int control, int midichannel, int device) void GetMidiInNote(int midivalues[], int startnote, int notecount, int midichannel, int device) void DimPixel(float value, int x, int y) void DimPixelArea(float value, int x, int y, int width, int height)
New functions for Main Output Macro:
Updated Information: void GetDmxIn(int DmxValues[], int startchannel, int channels, int universe) int GetDmxInChannel(int channel, int universe) void GetPixelArea(matrix[][], int xSrc, int ySrc, int w, int h, int xDst, int yDst) void DrawPixelArea(matrix[][], int xDst, int yDst, int w, int h, int xSrc, int ySrc, color filter)
News For 1.39 (MADRIX V2.14a) New functions for SCE Ticker: void SetContinuous(int enable) void SetReverseWords(int enable)
Deprecated functions for SCE Ticker: void SetReverseWord(int enable)
New functions (Macro) for the SCE Graph: void SetContinuous(int enable)
New functions for SCE Color Ramp: void AddColor(color c, float position, int fade) int SetColorPosition(int index, float position) float GetColorPosition(int index) void SetColorFade(int index, fade)
Deprecated functions for SCE Color Ramp: int SetPosition(int index, float pos)
New Functions for SCE Plasma: void SetColor(int idx, color c) void AddColor(color c, float position, int fade) int SetColorPosition(int index, float position) float GetColorPosition(int index)
New functions for S2L Waveform: void SetColor(int idx, color c) void AddColor(color c, float position, int fade) int SetColorPosition(int index, float position) float GetColorPosition(int index)
New global functions:
New global defines:
News For 1.38 (MADRIX V2.14) New functions (Macro) and defines for the SCE Graph effect: void SetDirection(int direction) void SetFrequency(int index, float value) void SetFrequencyMax(float value) void SetPeak(int index, int value) void SetModeFrequency(int mode) void SetFontUnderline(int value) void SetFontStrikeOut(int value) void SetFontFaceName(string name) void SetGraphMode(int index, int mode)
New functions for Macros for Effects: void SetSolo(int)
New functions for the Main Output Macro: void ImportStoragePlace(int storage, int place, string name) void ImportStorage(int storage, string name)
News For 1.35 (MADRIX V2.13b) New global functions: void SetVectorPixel(color, float x, float y) color GetVectorPixel(float x, float y)
Updated functions: void GetDmxIn(int DmxValues[], int startchannel, int channels, int universe) int GetDmxInChannel(int channel, int universe) int ReadAsync(string file, string txt) (FILE_OK)
News For 1.33 (MADRIX V2.13) New global functions and defines: void TRACE(variable) New functions for the Main Output Macro: void SetStorageFilter(int storage, int filter)
New defines for the Main Output Macro: New functions for the Storage Place Macro: void SetLayerFilter(int number, int filter) int GetLayerFilter(int number) New functions for Macros for Effects:
New or improved functions for the SCE Color Fill effect:
News For Script Engine Version 1.30 (MADRIX V2.12a) New functions for MADRIX Script: void DrawPixelDiamond(color col, int x, int y, int w, int h) void DrawVectorDiamond(color col, float x, float y, float w, float h) void FillPixelDiamond(color col, int x, int y, int w, int h) void FillVectorDiamond(color col, float x, float y, float w, float h)
New functions and defines for the SCE Color Fill effect: MODE_RANDOM, MODE_DROPS, MODE_SNAKE, MODE_FLAT, MODE_COLLAPSE, MODE_TETRIS
News For Script Engine Version 1.29 (MADRIX V2.12) New functions for MADRIX Script: void DrawPixelText(color c, font f, string t, int x, int y, int rotation) void DrawVectorText(color c, font f, string t, float x, float y, int rotation)
New structure:
News For Script Engine Version 1.28 (MADRIX V2.11) New functions (Macro) and defines for the SCE Explosions effect: void SetExplosionSize(int size) void SetGravity(float gravity) void SetRocketCount(int count) void SetExplosionMode(int mode) void SetExplosionShape(int shape) void SetColor(int idx, color c) void AddColor(int idx, color c) void SetSparkleColorMode(int mode) int GetSparkleColorCount(void) void SetSparkleColor(int idx, color c) color GetSparkleColor(int idx) void AddSparkleColor(int idx, color c)
MODE_EXPLOSIONS, MODE_FIREWORKS, EXPLOSION_SHAPE_SPHERE, EXPLOSION_SHAPE_SPHERE_GLOW, EXPLOSION_SHAPE_SPIRAL, EXPLOSION_SHAPE_RADIAL, EXPLOSION_SHAPE_DIAMOND, EXPLOSION_SHAPE_STAR, EXPLOSION_SHAPE_RANDOM, DRAW_RECT, FILL_RECT, DRAW_CIRCLE, FILL_CIRCLE, DRAW_CROSS, DRAW_STAR, DRAW_LINE, DRAW_DIAMOND, FILL_DIAMOND, DRAW_RANDOM, CM_LOOP, CM_SHUFFLE, CM_RANDOM
New functions (Macro) and defines for the SCE Starfield effect: void SetRotation(int rotation)
DRAW_RECT, FILL_RECT, DRAW_CIRCLE, FILL_CIRCLE, DRAW_CROSS, DRAW_STAR, DRAW_LINE, DRAW_DIAMOND, FILL_DIAMOND, DRAW_RANDOM, DIR_OUTWARDS, DIR_INWARDS, CM_LOOP, CM_SHUFFLE, CM_RANDOM
New functions (Macro) and defines for the SCE Metaballs effect: void SetColor(int idx, color c) void AddColor(int idx, color c) void SetColorMixLink(int value)
CM_LOOP, CM_SHUFFLE, CM_RANDOM, MODE_CIRCLE, MODE_RECTANGLE, MODE_DIAMOND, MODE_VERY_BLURRY, MODE_BLURRY, MODE_SLIGHTLY_BLURRY, MODE_MEDIUM, MODE_SLIGHTLY_CLEAR, MODE_CLEAR, MODE_VERY_CLEAR
News For Script Engine Version 1.27 (MADRIX V2.10) New universal functions:
New functions and defines for the Main Output Macro:
New functions for the SCE Ticker / Scrolling Text effect: void SetFontHeight(int height) void SetFontUnderline(int val) void SetFontStrikeOut(int val)
New Defines for SCE Shapes, S2L EQ Shapes, M2L Single Tone Shapes: DRAW_DIAMOND, DRAW_DIAMOND_EXPLODE, DRAW_DIAMOND_IMPLODE, FILL_DIAMOND, FILL_DIAMOND_EXPLODE, FILL_DIAMOND_IMPLODE
News For Script Engine Version 1.26 (MADRIX V2.9) New functions for the SCE Wave effect:
New functions and defines for the SCE Fire effect: void SetIntensity(int intensity)
New functions for effects that use the Color Ramp dialog: void SetColor(int idx, color c) int SetColorPosition(int idx, float position) float GetColorPosition(int idx) void SetColorFade(int idx, int mode) void AddColor(color c, float position, int idx)
New function for the Main Output Macro:
News For Script Engine Version 1.25 (MADRIX V2.8a) New universal function: string GetApplicationPath() New function for the Main Output Macro:
News For Script Engine Version 1.24 (MADRIX V2.8) New universal function:
New functions and defines for the SCE Metaballs effect: MODE_UNIFORM, MODE_LINEAR, MODE_QUADRATIC, MODE_SQRT, MODE_CUBIC, MODE_RANDOM
News For Script Engine Version 1.23 (MADRIX V2.8 BETA) New universal functions: int GetDmxIn(int map[], int startchannel, int channels) int GetDmxInChannel(int channel) New functions for the Main Output Macro: int GetStorageFullState(int storage, int place) New effects with new functions:
New functions/defines for the S2L Equalizer effect: MODE_BAR, MODE_RADIAL, MODE_RADIAL_LINE, MODE_RADIAL_OUTLINE, MODE_RADIAL_DOT
A new function for the SCE Ticker effect: Deprecated functions: void SetSubmasterValue(int value)
New functionality of MADRIX Script, the Storage Place Macro: void SetSpeedMaster(float value) void SetDescription(string text) void SetLayerSolo(int number, int state) void SetLayerBlind(int number, int state) int GetLayerSubMaster(int number) void SetLayerSubMaster(int number, int value) void EnableLayerFrameFade(int number, int enable) int IsLayerFrameFadeEnabled(int number) int GetLayerMixMode(int number) void SetLayerMixMode(int number, int mix mode) void SetLayerLink(int number, int state) void MapLayerEffectVector(int number, float x, float y, float w, float h) void MapLayerEffectPixel(int number, int x, int y, int w, int h) void GetLayerMapPixel(int number, int map[]) void GetLayerMapVector(int number, float map[]) void MapLayerTileEffectVector(int number, float x, float y, float w, float h) void MapLayerTileEffectPixel(int number, int x, int y, int w, int h) void SetLayerMapModeMirror(int number, int state) void SetLayerMapModeTile(int number, int state) void GetLayerMapTileEffectVector(int number, float map[]) void GetLayerMapTileEffectPixel(int number, int map[]) int GetLayerMapModeMirror(int number) int GetLayerMapModeTile(int number) void SetLayerVectorTileOffset(int number, float x, float y) void SetLayerPixelTileOffset(int number, int x, int y) void GetLayerVectorTileOffset(int number, float map[]) void GetLayerPixelTileOffset(int number, int map[]) void SetLayerVectorMapRotation(int number, float value, int anim) void SetLayerDegreeMapRotation(int number, int value, int anim) float GetLayerVectorMapRotation(int number) int GetLayerDegreeMapRotation(int number) int IsLayerMapRotation(int number) float GetLayerFrameId(int number) void SetLayerFrameId(int number, float value) float GetLayerFrameSteps(int number) float GetLayerFrameCount(int number) int GetLayerOpacity(int number) void SetLayerOpacity(int number, int value)
News For Script Engine Version 1.22 (MADRIX V2.7a) New functions for the MAS Script effect, Macro, and Main Output Macro: void SetPixelGreyscale(int x, int y)
New functions for Main Output Macro: void SetFadeType(int fadetype) void SetFadeTime(float fadetime) void SetFadeValue(int fadervalue) void SetFreeze(int freeze/unfreeze) void SetMasterFader(int masterfadervalue) void SetAudioFader(int audiofadervalue) void CuelistGoto(int cuelistentry) int GetStorageSpeedMaster(int storage) void SetStorageSpeedMaster(int storage, float speed) int GetStoragePause(int storage) void SetStoragePause(int storage, int pause/nopause) void GetStoragePlace(int storage) void SetStoragePlace(int storage, int place, int autofade/noautofade ) int GetStorageSubMaster(int storage) void SetStorageSubMaster(int storage, int submastervalue)
News For Script Engine Version 1.21 (MADRIX V2.7 BETA) New functions for Macro:
New Macro functions for SCE Ticker effect:
New Macro functions for SCE Color Ramp effect: void SetColor(int index, color col) int SetPosition(int index, float pos) void SetFade(int index, int enable)
News For Script Engine Version 1.20 (MADRIX V2.6e) New functions for the MAS Script effect, Macro, and Main Output Macro: void CreatePixelTransposeTable(int size, int growsize) void SetPixelTransposeEntry(int idx, int srcX, int srcY, destX, destY) void AddPixelTransposeEntry(int srcX, int srcY, destX, destY) void ExecutePixelTranspose(int clear)
News For Script Engine Version 1.19 (MADRIX V2.6d) New functions (Macro) for SCE Radial effect: void SetAmplitude(int amplitude)
News For Script Engine Version 1.18 (MADRIX V2.6c) With reference to the new functionality of the SCE Video effect, there are three valid values for the mode 'function'. NO_LOOP for no looping, F_LOOP for only forward looping and FB_LOOP for forward and backward. void SetVideoStartTime(time t) void SetVideoPlaySpeed(float speed) void SetVideoAspectRatio(int mode)
News For Script Engine Version 1.17 (MADRIX V2.6a) New functions for reading and modifying the opacity values for all effects.
News For Script Engine Version 1.16 (MADRIX V2.6) New functions (Macro) for the SCE Bounce effect.
News For Script Engine Version 1.15 (MADRIX V2.6 BETA) New function fmod(float denominator, float divisor), which is the modulo function for float values. New direction parameters SHIFT_C_IN_OUT and SHIFT_C_OUT_IN for the ShiftMatrix function. New functions for the new Map dialog of MADRIX void SetVectorMapRotation(float value, int anim) void SetDegreeMapRotation(int value, int anim)
News For Script Engine Version 1.14 (MADRIX V2.5a) There is a new script information called name to give a script a name. For the SCE Color Ramp effect there is a new direction DIR_RADIAL, which could be used in a Macro, and two new functions SetAngle(int angle) and GetAngle() for Macro. New functions SetCurrentImage, GetCurrentImage und GetImageCount for SCE Bitmap available to control the image list. For effects with a color table (not the M2L color table) there are several new functions available to access the color table via Macro. This includes the following effects: SCE ColorChange, SCE ColorFill, SCE ColorScroll, SCE Shapes, S2L Equalizer, S2L EQ Shapes, S2L LevelMeter, S2L LevelRing and M2L SingleTones. New button (GUI element) available for the MAS Script effect. Furthermore, a new ctrledit3-element is available. In addition to the GUI elements ctrlslider, ctrledit and ctrlcolortable, a tooltip has been added. New mathematical functions round, ceil, and trunc have been added. New functions DrawPixelArea and GetPixelArea to retrieve the content of the matrix into a script-accessible field of colors. New functions ColorReplace, PixelColorFill and VectorColorFill.
News For Script Engine Version 1.13 GUI elements available for MAS Script effect. It is possible to create some GUI-Elements, so that the user can give some input to the script, like colors for use or other values. There are several new functions for strings available. Furthermore, there are different new operations on strings available. For case labels variables declared as constants may be used now. Moreover, it is possible to use strings. Access to the frame id and frame count is now available via Macro for every effect.
News For Script Engine Version 1.11 The effects SCE Bitmap, SCE Ticker, and SCE Video have the new functions GetRotation and SetRotation. There are new global values RED, GREEN, BLUE, AQUA, FUCHSIA, YELLOW, GRAY, SILVER, OLIVE, TEAL, PURPLE, NAVY, MAROON for usage as color parameter for several functions. For the effect SCE ColorScroll two new functions SetFade and GetFade are available. For the effect SCE Ticker there are the new functions SetContinous and GetContinous. For the effect S2L EQ there are the new functions GetMonochrome and SetMonochrome. For the effects S2L EQTubes and S2L EQDrops there are the new functions SetAmplify and GetAmplify. In Addition, the meaning of the SetSens and GetSens functions have changed. For the effect S2L EQ LevelMeter there are the new functions SetMonochrome and GetMonochrome. For the effect M2L ColorScroll there are several new functions and new values for the direction. There is a new mix mode MIXMODE_MASK. The function SetFrameId has been added in order to control the frame ID.
News For Script Engine Version 1.10 Due to a philosophy change for setting the effects speed from frames per second (FPS) to beats per minute (BPM), for a lot of effects there is an new SetBpm function available for the Macro. The old SetSpeed functions are available, but declared as deprecated and my be removed during one of the next releases of MADRIX. For further details, please have a look at the descriptions of the single effects or of the Macro in general. The following effects are affected:
During this change the meaning of the fade slider for the following effects has changed too. While the value for fade was mostly given in frames, now it is given in BPM. The new range of possible values for the function SetFade is now from 1 to 3000. This has been changed for the following effects:
For the M2L SingleTones effect there are new constants available to set the new drawing shapes. Furthermore, there are new functions to set the border, pitch, and the width in percent or in pixel in order to get more scalable effects. A new function SetColorMode exists, too. The old function SetColor has been removed since its functionality has been removed within MADRIX, too. There is a new effect called SCE Shapes within MADRIX, which also has its own Macro functions. The MAS Script effect has new functions in order to have more control over a running effect, especially when the Speed Master is used to increase or decrease speed or to run it backwards. Hence, it is possible to build scripts which can use the frame ID. It is described here. There are several new string functions allowing to search for substrings within strings and getting a substring from a string. They are described in the chapter String operations.
News For Script Engine Version 1.8 According to new functionality of the effect SCE ColorRamp, there are two new values for the SetDirection function. According to new functionality of SCE ColorScroll, there are several new values for its SetDirection function. According to new functionality of the M2L SingleTone, there are different new values for its SetDrawMode function as well as new functions available. There is new functionality to read from external files or URLs using HTTP.
News For Script Engine Version 1.6 Macro Vs. MAS Script Effect A very powerful new feature in MADRIX is the usage of macros on effects. So the result of each effect can be manipulated by a script written in MADRIX Script. The set of available functions within a macro is almost the same as in the scripting effect except that it has different interface compared to MADRIX. Furthermore, there are special commands available for each effect. They are described in the chapter Macros for Effects. New Functions GetValue() and GetAllValues() have been declared as deprecated functions and should not be used anymore. Please use GetNoteValue and GetAllNoteValues instead. For the ShiftMatrix function new shifting directions are available. Furthermore, a new function called ShiftVectorMatrix is now available. According to the new matrix mapping features in MADRIX, there are new functions available to setup mirror and tile modes as well as the tile-settings itself.
|