ArrayArrayArray BrainModular BrainModular Users Forum 2024-02-01T10:56:13+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/7097 2024-02-01T10:56:13+02:00 2024-02-01T10:56:13+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7097&p=45234#p45234 <![CDATA[Re: Usine Objects in SDK]]> Statistics: Posted by sm_jamieson — 01 Feb 2024, 09:56


]]>
2024-01-15T11:40:58+02:00 2024-01-15T11:40:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7097&p=45194#p45194 <![CDATA[Re: Usine Objects in SDK]]>

CODE:

//----------------------------------------------------------------------------/// @name Usine Objects functions /// @{/// Set the float value of an Usine-Objectinline void sdkUsineObjectSetFloat(AnsiCharPtr name, TPrecision floatValue) { m_masterInfo->UsineObjectSetFloat(m_moduleInfo, name, floatValue); };/// Set the integer value of an Usine-Objectinline void sdkUsineObjectSetInteger (AnsiCharPtr name, int integerValue) { m_masterInfo->UsineObjectSetInteger(m_moduleInfo, name, integerValue); };/// Set the float value of an Usine-Object array at the index positioninline void sdkUsineObjectSetArray(AnsiCharPtr name, int index, TPrecision floatValue) { m_masterInfo->UsineObjectSetArray(m_moduleInfo, name, index, floatValue); };/// Set the Midi value of an Usine-Object array at the index positioninline void sdkUsineObjectSetMIDI (AnsiCharPtr name, int index, TUsineMidiCode midiValue) { m_masterInfo->UsineObjectSetMIDI(m_moduleInfo, name, index, midiValue); };/// Set the color value of an Usine-Object inline void sdkUsineObjectSetColor (AnsiCharPtr name, TUsineColor colorValue) {m_masterInfo->UsineObjectSetColor(m_moduleInfo, name, colorValue); };/// Set the color value of an Usine-Object array at the index positioninline void sdkUsineObjectSetArrayColor (AnsiCharPtr name, int index, TUsineColor colorValue) {m_masterInfo->UsineObjectSetArrayColor(m_moduleInfo, name, index, colorValue); };/// Set a trigger value of an Usine-Objectinline void sdkUsineObjectSetTrigger (AnsiCharPtr name) { m_masterInfo->UsineObjectSetTrigger(m_moduleInfo, name); };/// Set the text value of an Usine-Objectinline void sdkUsineObjectSetAnsiChar(AnsiCharPtr name, AnsiCharPtr v) {m_masterInfo->UsineObjectSetAnsiChar(m_moduleInfo, name, v); };/// Get the float value of an Usine-Objectinline TPrecision sdkUsineObjectGetFloat (AnsiCharPtr name) { return m_masterInfo->UsineObjectGetFloat(m_moduleInfo, name);};/// Get the integer value of an Usine-Object inline int  sdkUsineObjectGetInteger(AnsiCharPtr name) { return m_masterInfo->UsineObjectGetInteger(m_moduleInfo, name); };/// Get the float value of an Usine-Object array at the index positioninline TPrecision sdkUsineObjectGetArray(AnsiCharPtr name, int index) {return m_masterInfo->UsineObjectGetArray(m_moduleInfo, name, index); };/// Get the Midi value of an Usine-Object array at the index positioninline TUsineMidiCode sdkUsineObjectGetMIDI(AnsiCharPtr name, int index) { return m_masterInfo->UsineObjectGetMIDI(m_moduleInfo, name, index); };/// Get the color value of an Usine-Objectinline TUsineColor sdkUsineObjectGetColor(AnsiCharPtr name) {return m_masterInfo->UsineObjectGetColor(m_moduleInfo, name); };/// Get the array value of an Usine-Object array at the index positioninline TUsineColor sdkUsineObjectGetArrayColor(AnsiCharPtr name, int index) {return m_masterInfo->UsineObjectGetArrayColor(m_moduleInfo, name, index);};/// Get the text value of an Usine-Objectinline AnsiCharPtr sdkUsineObjectGetAnsiChar(AnsiCharPtr name) {return m_masterInfo->UsineObjectGetAnsiChar(m_moduleInfo, name); };/// Get the size of the Event associated to an Usine-Objectinline int sdkUsineObjectGetLength(AnsiCharPtr name) {return m_masterInfo->UsineObjectGetLength(m_moduleInfo, name); };/// Set the size of the Event associated to an Usine-Objectinline void        sdkUsineObjectSetLength(AnsiCharPtr name, int l) { m_masterInfo->UsineObjectSetLength(m_moduleInfo, name, l); };/// Returns the list (as a comma-text) of all Usine-Objects that match with the name parameterinline AnsiCharPtr sdkUsineObjectFind(AnsiCharPtr name) {return m_masterInfo->UsineObjectFind(m_moduleInfo, name); };/// Returns TRUE if the Usine-Objects existsinline LongBool sdkUsineObjectExists   (AnsiCharPtr name) { return m_masterInfo->UsineObjectExists(m_moduleInfo, name); };/// Returns the Hash of allUsine-Objects. This allows to determines if the list of all the Usine-Objects has changed.inline AnsiCharPtr sdkUsineObjectListHash() {return m_masterInfo->UsineObjectListHash(m_moduleInfo);};/// @}

Statistics: Posted by senso — 15 Jan 2024, 10:40


]]>
2022-12-28T16:46:08+02:00 2022-12-28T16:46:08+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7097&p=44619#p44619 <![CDATA[Usine Objects in SDK]]> I notice no changes have been made to the SDK for a number of years.
One thing that would be very useful.
If Usine Objects (GetObject, SetObject, etc) was added to the SDK.
Currently it is only available in a script.

Thanks,
Simon.

Statistics: Posted by sm_jamieson — 28 Dec 2022, 15:46


]]>
BrainModular BrainModular Users Forum 2024-02-01T10:56:13+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/7097 2024-02-01T10:56:13+02:00 2024-02-01T10:56:13+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7097&p=45234#p45234 <![CDATA[Re: Usine Objects in SDK]]> Statistics: Posted by sm_jamieson — 01 Feb 2024, 09:56


]]>
2024-01-15T11:40:58+02:00 2024-01-15T11:40:58+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7097&p=45194#p45194 <![CDATA[Re: Usine Objects in SDK]]>

CODE:

//----------------------------------------------------------------------------/// @name Usine Objects functions /// @{/// Set the float value of an Usine-Objectinline void sdkUsineObjectSetFloat(AnsiCharPtr name, TPrecision floatValue) { m_masterInfo->UsineObjectSetFloat(m_moduleInfo, name, floatValue); };/// Set the integer value of an Usine-Objectinline void sdkUsineObjectSetInteger (AnsiCharPtr name, int integerValue) { m_masterInfo->UsineObjectSetInteger(m_moduleInfo, name, integerValue); };/// Set the float value of an Usine-Object array at the index positioninline void sdkUsineObjectSetArray(AnsiCharPtr name, int index, TPrecision floatValue) { m_masterInfo->UsineObjectSetArray(m_moduleInfo, name, index, floatValue); };/// Set the Midi value of an Usine-Object array at the index positioninline void sdkUsineObjectSetMIDI (AnsiCharPtr name, int index, TUsineMidiCode midiValue) { m_masterInfo->UsineObjectSetMIDI(m_moduleInfo, name, index, midiValue); };/// Set the color value of an Usine-Object inline void sdkUsineObjectSetColor (AnsiCharPtr name, TUsineColor colorValue) {m_masterInfo->UsineObjectSetColor(m_moduleInfo, name, colorValue); };/// Set the color value of an Usine-Object array at the index positioninline void sdkUsineObjectSetArrayColor (AnsiCharPtr name, int index, TUsineColor colorValue) {m_masterInfo->UsineObjectSetArrayColor(m_moduleInfo, name, index, colorValue); };/// Set a trigger value of an Usine-Objectinline void sdkUsineObjectSetTrigger (AnsiCharPtr name) { m_masterInfo->UsineObjectSetTrigger(m_moduleInfo, name); };/// Set the text value of an Usine-Objectinline void sdkUsineObjectSetAnsiChar(AnsiCharPtr name, AnsiCharPtr v) {m_masterInfo->UsineObjectSetAnsiChar(m_moduleInfo, name, v); };/// Get the float value of an Usine-Objectinline TPrecision sdkUsineObjectGetFloat (AnsiCharPtr name) { return m_masterInfo->UsineObjectGetFloat(m_moduleInfo, name);};/// Get the integer value of an Usine-Object inline int  sdkUsineObjectGetInteger(AnsiCharPtr name) { return m_masterInfo->UsineObjectGetInteger(m_moduleInfo, name); };/// Get the float value of an Usine-Object array at the index positioninline TPrecision sdkUsineObjectGetArray(AnsiCharPtr name, int index) {return m_masterInfo->UsineObjectGetArray(m_moduleInfo, name, index); };/// Get the Midi value of an Usine-Object array at the index positioninline TUsineMidiCode sdkUsineObjectGetMIDI(AnsiCharPtr name, int index) { return m_masterInfo->UsineObjectGetMIDI(m_moduleInfo, name, index); };/// Get the color value of an Usine-Objectinline TUsineColor sdkUsineObjectGetColor(AnsiCharPtr name) {return m_masterInfo->UsineObjectGetColor(m_moduleInfo, name); };/// Get the array value of an Usine-Object array at the index positioninline TUsineColor sdkUsineObjectGetArrayColor(AnsiCharPtr name, int index) {return m_masterInfo->UsineObjectGetArrayColor(m_moduleInfo, name, index);};/// Get the text value of an Usine-Objectinline AnsiCharPtr sdkUsineObjectGetAnsiChar(AnsiCharPtr name) {return m_masterInfo->UsineObjectGetAnsiChar(m_moduleInfo, name); };/// Get the size of the Event associated to an Usine-Objectinline int sdkUsineObjectGetLength(AnsiCharPtr name) {return m_masterInfo->UsineObjectGetLength(m_moduleInfo, name); };/// Set the size of the Event associated to an Usine-Objectinline void        sdkUsineObjectSetLength(AnsiCharPtr name, int l) { m_masterInfo->UsineObjectSetLength(m_moduleInfo, name, l); };/// Returns the list (as a comma-text) of all Usine-Objects that match with the name parameterinline AnsiCharPtr sdkUsineObjectFind(AnsiCharPtr name) {return m_masterInfo->UsineObjectFind(m_moduleInfo, name); };/// Returns TRUE if the Usine-Objects existsinline LongBool sdkUsineObjectExists   (AnsiCharPtr name) { return m_masterInfo->UsineObjectExists(m_moduleInfo, name); };/// Returns the Hash of allUsine-Objects. This allows to determines if the list of all the Usine-Objects has changed.inline AnsiCharPtr sdkUsineObjectListHash() {return m_masterInfo->UsineObjectListHash(m_moduleInfo);};/// @}

Statistics: Posted by senso — 15 Jan 2024, 10:40


]]>
2022-12-28T16:46:08+02:00 2022-12-28T16:46:08+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=7097&p=44619#p44619 <![CDATA[Usine Objects in SDK]]> I notice no changes have been made to the SDK for a number of years.
One thing that would be very useful.
If Usine Objects (GetObject, SetObject, etc) was added to the SDK.
Currently it is only available in a script.

Thanks,
Simon.

Statistics: Posted by sm_jamieson — 28 Dec 2022, 15:46


]]>