ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray
Statistics: Posted by oli_lab — 04 Nov 2026, 19:33 CODE: Statistics: Posted by senso — 04 Nov 2026, 10:04 CODE: Statistics: Posted by oli_lab — 18 Jan 2026, 22:11 Statistics: Posted by oli_lab — 17 Jun 2025, 14:28 Statistics: Posted by sm_jamieson — 11 Jun 2025, 22:12 Statistics: Posted by sm_jamieson — 07 Jun 2025, 19:21 Statistics: Posted by sm_jamieson — 02 Jun 2025, 22:17 Statistics: Posted by oli_lab — 20 May 2025, 14:55 Statistics: Posted by oli_lab — 12 May 2025, 00:52 Statistics: Posted by oli_lab — 05 May 2025, 19:33
Thanx !
]]>### Latest changesSDK 703003 changes the way a module describes itself and creates its parameters.A module written for the previous version (702002) builds again after the steps 1 to 3.The steps 4 to 6 move it to the new way of writing a module, followed by every example.The [release notes](RELEASENOTES.md) list all the changes.**1. Compile in C++20.** The SDK now uses designated initializers.Set *C++ Language Standard* to *ISO C++20 Standard (/std:c++20)* in Visual Studio,*C++ Language Dialect* to *C++20* in Xcode.**2. Remove your `GetBrowserInfo`.** The SDK implements it in `UserModule.cpp` from your`MODULE_NAME`, `MODULE_DESC` and `MODULE_VERSION` constants: if your module still defines it,the link fails. The SDK also sets `Name`, `Description` and `Version` before calling`onGetModuleInfo`, remove these lines from your `onGetModuleInfo` too.**3. Check the new global names.** `UserDefinitions.h` now includes `UserError.h`, which declares`Level`, `Verbosity`, `Error`, `errorList`, `RegisterError`, `traceType`, `sdkRaiseError`,`setVerbosityLevel` and `current_verbosity_level` in the global namespace.Rename what clashes in your module.**4. Describe the module in `ModuleDefinition.h`, and create the parameters in `onCreateParameters`.**Each parameter is an `inline constexpr TParamInfo`, created and bound to its event by `sdkCreateParam`.Before, with SDK 702002:```cpp// MyModule.cppconstexpr AnsiCharPtr UserModuleBase::MODULE_NAME = "my module";constexpr AnsiCharPtr UserModuleBase::MODULE_DESC = "what my module does";constexpr AnsiCharPtr UserModuleBase::MODULE_VERSION = "1.0";constexpr NativeInt GAIN_CBID = 0x00100000;void GetBrowserInfo(TModuleInfo* pModuleInfo){ pModuleInfo->Name = UserModuleBase::MODULE_NAME; pModuleInfo->Description = UserModuleBase::MODULE_DESC; pModuleInfo->Version = UserModuleBase::MODULE_VERSION;}void MyModule::onGetModuleInfo(TMasterInfo* pMasterInfo, TModuleInfo* pModuleInfo){ pModuleInfo->Name = MODULE_NAME; pModuleInfo->Description = MODULE_DESC; pModuleInfo->Version = MODULE_VERSION; pModuleInfo->ModuleType = mtSimple; pModuleInfo->NumberOfParams = 1;}void MyModule::onGetParamInfo(int ParamIndex, TParamInfo* pParamInfo){ if (ParamIndex == 0) { pParamInfo->ParamType = ptGainFader; pParamInfo->Caption = "gain"; pParamInfo->IsInput = TRUE; pParamInfo->IsOutput = FALSE; pParamInfo->CallBackType = ctImmediate; pParamInfo->CallBackId = GAIN_CBID; pParamInfo->setEventClass(fdrGain); }}```Now, with SDK 703003:```cpp// ModuleDefinition.h, included by MyModule.cpp only: it defines the MODULE_* constants#pragma once#include "../../sdk/UserDefinitions.h"constexpr AnsiCharPtr UserModuleBase::MODULE_NAME = "my module";constexpr AnsiCharPtr UserModuleBase::MODULE_DESC = "what my module does";constexpr AnsiCharPtr UserModuleBase::MODULE_VERSION = "1.0";constexpr NativeInt GAIN_FDR_CBID = 0x00100000;inline constexpr TParamInfo gainFdrInParamInfo { .ParamType = ptGainFader, .Caption = "gain", .IsInput = TRUE, .IsOutput = FALSE, .CallBackType = ctImmediate, .CallBackId = GAIN_FDR_CBID};// MyModule.cpp#include "MyModule.h"#include "ModuleDefinition.h"void MyModule::onGetModuleInfo(TMasterInfo* pMasterInfo, TModuleInfo* pModuleInfo){ pModuleInfo->ModuleType = mtSimple;}void MyModule::onCreateParameters(TMasterInfo* pMasterInfo, TModuleInfo* pModuleInfo){ sdkCreateParam(gainFdrInParamInfo, gainFdrIn);}```- Write the `TParamInfo` fields in their declaration order. The others keep their default value: `MaxValue` 1, `CallBackType` `ctNormal`, `CallBackId` -1, the rest 0, `FALSE` or `nullptr`. A parameter without callback sets `.CallBackType = ctNone`.- The parameters appear in the order of the `sdkCreateParam` calls. `NumberOfParams` and `onGetNumberOfParams` are no longer needed: keep the query results in `onAfterQuery`, called before `onCreateParameters`.- When a parameter depends on the query (one audio input per channel), copy its `TParamInfo`, change the copy (`Caption`...) and create it in a loop: see the AudioVolume example.- `onGetParamInfo` still works as the legacy system. Use one system or the other in a module.**5. Report errors with `sdkRaiseError`.** Register each message once in `ModuleDefinition.h`,then raise it where the problem happens. The user filters the messages with a verbosity level.```cpp// ModuleDefinition.hinline const int ERROR_INVALID_CHUNK = RegisterError(Level::Error, "invalid saved data, it was not restored");// MyModule.cppsdkRaiseError(ERROR_INVALID_CHUNK);```**6. Follow the naming of the examples.** A parameter is named `<name><Type><In|Out>`(`gainFdrIn`, `muteSwIn`, `resultFdrOut`), its `TParamInfo` adds `ParamInfo` (`gainFdrInParamInfo`)and its callback id is `<NAME>_<TYPE>_CBID` (`GAIN_FDR_CBID`).Also new in SDK 703003: * `mtBackgroundJob`: the SDK adds the `processing` and `processing time` outputs of the job * drag and drop of files on the panel: `onAcceptDragOver` and `onDragDrop` * chunks: a float buffer written or read in one call (`sdkSetChunkFromFloatPointer`, `sdkGetChunkToFloatPointer`), and the `UsineChunk` reader of `sdk/UsineChunks.h` * `sdkGetBlockDuration()`; `TMasterInfo::BlocSize` is deprecated, use `sdkGetBlocSize()`A module built with SDK 703003 needs an up-to-date Usine Hollyhock 7. The modules built with anolder SDK keep working.To start a new module, copy the TemplateModule example or follow the[Getting Started](wiki/getting-started.md) of the wiki, and read the[Module Conventions](wiki/sdk/module-conventions.md).
]]>
I managed to load wav files, but can't save any
here is the part of the code that's not working : (it's included in a function that is called at callback)for (int i = 0; i < m_size; ++i) {sdkSetSampleAudioFile(audioFile, 1,i, m_buffer[i]);}sdkSetChannelsAudioFile(audioFile, 1);sdkSetSizeAudioFile(audioFile, m_size);sdkSaveToDiskAudioFile(audioFile, tempChar, 1);}
if I run it, it will return errors :
[2] Error :
[HydroGen OP V5] CallBack, paramIndex=19
///////////////////////////////////////
tried with
sdkSetChannelsAudioFile(audioFile, 1);
sdkSetSizeAudioFile(audioFile, m_size);
before
for (int i = 0; i < m_size; ++i) {
sdkSetSampleAudioFile(audioFile, 1,i, m_buffer);
same thing
/////////////////////////////////////////
if I comment it and run only SetChannelsAudioFile and SetSizeAudioFile :
[6] Error :
bad pointer in SetChannelsAudioFile
[8] Error :
bad pointer in SetSizeAudioFile
//////////////////
with only: sdkSetSampleAudioFile(audioFile, 1,i, m_buffer);
[2] Error :
[HydroGen OP V5] CallBack, paramIndex=19
/////////////////////////////////////
with only: sdkSaveToDiskAudioFile(audioFile, tempChar, 1);
SDK_SaveToDiskAudioFile :
[0] Error :
PROC:SaveToDiskAudioFile
ERROR:Access violation at address 000000000136CDDE in module 'Usine.exe'. Read of address
0000000000001190
if anyone has a working example using sdkSaveToDiskAudioFile, could you please show it to me !
thanx
Olivar
]]>
thanx
Olivar
]]>
List supplied by Senso. Note these are Delphi values not Windows values.
/// Possible value for a TShiftState variable.
/// @see onMouseMove, onMouseDown, onMouseUp, onMouseMoveMulti, onMouseDownMulti, onMouseUpMulti
static constexpr UINT32 ssShift = 0x1; ///< Shift keyboard state
static constexpr UINT32 ssAlt = 0x2; ///< Alt keyboard state
static constexpr UINT32 ssCtrl = 0x4; ///< Ctrl keyboard state
static constexpr UINT32 ssLeft = 0x8; ///< Left mouse button state
static constexpr UINT32 ssRight = 0x10; ///< Right mouse button state
static constexpr UINT32 ssMiddle = 0x20; ///< Middle mouse button state
static constexpr UINT32 ssDouble = 0x40; ///< Mouse Double click state
static constexpr UINT32 ssTouch = 0x80; ///< Mouse touch screen click state
static constexpr UINT32 ssPen = 0x100; ///< Mouse pen click state
static constexpr UINT32 ssCommand = 0x200; ///< Mouse Command state
static constexpr UINT32 ssHorizontal = 0x400; ///< Mouse Horizontal state
]]>
The extra mousedown is from the Windows right click generated on a long touch action.
The shiftstate and mousebutton show that. I think that the long touch right click is generated by Windows when the touch is removed, which is why it always comes at the end.
Simon.
]]>
When a touchpoint is removed an extra mouse down is being sent.
The following is trace from touching and lifting a single finger.
[34] simonj DOWN multi 0: x=0.344595, y=0.734637, pressed=1.000000, mask=91
[36] simonj ++++ MOUSE UP on touchpoint 0
[38] simonj UP multi 0: x=1.000000, y=1.000000, pressed=0.000000, mask=90
[40] simonj DOWN multi 0: x=0.344595, y=0.740223, pressed=1.000000, mask=91
The mask is my own indication of mouse down or up for a number of touchpoints - here only 1 touchpoint exists.
It might be usual have a mouse UP multi with x and y = 1 - I'm not sure but in practice the position of an UP event does not matter.
However, an extra DOWN event is being produced.
This does not happen with the mouse - only with touch.
I have a touch keyboard in my SDK user module and this is causing another keypress !
This does not happen with the same module in HH5.
For comparison, this is what I see in HH5:
[426] simonj DOWN multi 0: x=0.680180, y=0.396648, pressed=1.000000, mask=910
[428] simonj ++++ MOUSE UP on touchpoint 0
[430] simonj UP multi 0: x=1.000000, y=0.726257, pressed=0.000000, mask=900
The interesting thing here is the x and y values are nonsense.
It seems to me that if the HH6 faulty DOWN values were used in the UP and the DOWN was removed, everything would be perfect.
Before I raise a ticket - has anyone else seen this ?
Simon.
]]>
wish me luck
Olivar
]]>
there a pParamInfo->Caption to set the ON caption, but nothing for the OFF caption
Thanks
Olivar
]]>
My idea is to have a multitrack wave file that I can save (or load) and populate it with samples
But I think I get something wrong.
If I want to have a recorder like the "audios ampler recorder" module, do I have to save the samples in a buffer (RAM) and then use the audiofile to save the wave file to disk ?
I'm a bit lost in here.
in .h
TAudioFilePtr audiofile1;
in .cpp
// constructor
multitrackrecorder::multitrackrecorder()
{
audiofile1 = sdkCreateAudioFile();
}
....
//-----------------------------------------------------------------------------
// initialisation
void multitrackrecorder::onInitModule (TMasterInfo* pMasterInfo, TModuleInfo* pModuleInfo)
{
sdkSetChannelsAudioFile(audiofile1, numOfAudiotInsOuts);
sdkSetSizeAudioFile(audiofile1, 60 * sdkGetSampleRate());
}
When loaded in Usine, I get those error messages :
[4] Error :
bad pointer in SetChannelsAudioFile
[6] Error :
bad pointer in SetSizeAudioFile
any idea ?
thanks
]]>
Statistics: Posted by oli_lab — 27 Oct 2024, 18:58
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
Statistics: Posted by senso — 15 Jan 2024, 10:36
Statistics: Posted by 23fx23 — 11 Jan 2024, 14:17
Statistics: Posted by sm_jamieson — 10 Jan 2024, 21:24
Statistics: Posted by 23fx23 — 01 Jan 2024, 12:37
Statistics: Posted by oli_lab — 31 Dec 2023, 19:30

Statistics: Posted by 23fx23 — 29 Dec 2023, 15:56
Statistics: Posted by sm_jamieson — 28 Dec 2022, 15:46
Statistics: Posted by oli_lab — 16 Nov 2022, 21:51
Statistics: Posted by senso — 16 Nov 2022, 09:58
Statistics: Posted by oli_lab — 15 Nov 2022, 21:25
Statistics: Posted by oli_lab — 04 Nov 2026, 19:33
CODE:
### Latest changesSDK 703003 changes the way a module describes itself and creates its parameters.A module written for the previous version (702002) builds again after the steps 1 to 3.The steps 4 to 6 move it to the new way of writing a module, followed by every example.The [release notes](RELEASENOTES.md) list all the changes.**1. Compile in C++20.** The SDK now uses designated initializers.Set *C++ Language Standard* to *ISO C++20 Standard (/std:c++20)* in Visual Studio,*C++ Language Dialect* to *C++20* in Xcode.**2. Remove your `GetBrowserInfo`.** The SDK implements it in `UserModule.cpp` from your`MODULE_NAME`, `MODULE_DESC` and `MODULE_VERSION` constants: if your module still defines it,the link fails. The SDK also sets `Name`, `Description` and `Version` before calling`onGetModuleInfo`, remove these lines from your `onGetModuleInfo` too.**3. Check the new global names.** `UserDefinitions.h` now includes `UserError.h`, which declares`Level`, `Verbosity`, `Error`, `errorList`, `RegisterError`, `traceType`, `sdkRaiseError`,`setVerbosityLevel` and `current_verbosity_level` in the global namespace.Rename what clashes in your module.**4. Describe the module in `ModuleDefinition.h`, and create the parameters in `onCreateParameters`.**Each parameter is an `inline constexpr TParamInfo`, created and bound to its event by `sdkCreateParam`.Before, with SDK 702002:```cpp// MyModule.cppconstexpr AnsiCharPtr UserModuleBase::MODULE_NAME = "my module";constexpr AnsiCharPtr UserModuleBase::MODULE_DESC = "what my module does";constexpr AnsiCharPtr UserModuleBase::MODULE_VERSION = "1.0";constexpr NativeInt GAIN_CBID = 0x00100000;void GetBrowserInfo(TModuleInfo* pModuleInfo){ pModuleInfo->Name = UserModuleBase::MODULE_NAME; pModuleInfo->Description = UserModuleBase::MODULE_DESC; pModuleInfo->Version = UserModuleBase::MODULE_VERSION;}void MyModule::onGetModuleInfo(TMasterInfo* pMasterInfo, TModuleInfo* pModuleInfo){ pModuleInfo->Name = MODULE_NAME; pModuleInfo->Description = MODULE_DESC; pModuleInfo->Version = MODULE_VERSION; pModuleInfo->ModuleType = mtSimple; pModuleInfo->NumberOfParams = 1;}void MyModule::onGetParamInfo(int ParamIndex, TParamInfo* pParamInfo){ if (ParamIndex == 0) { pParamInfo->ParamType = ptGainFader; pParamInfo->Caption = "gain"; pParamInfo->IsInput = TRUE; pParamInfo->IsOutput = FALSE; pParamInfo->CallBackType = ctImmediate; pParamInfo->CallBackId = GAIN_CBID; pParamInfo->setEventClass(fdrGain); }}```Now, with SDK 703003:```cpp// ModuleDefinition.h, included by MyModule.cpp only: it defines the MODULE_* constants#pragma once#include "../../sdk/UserDefinitions.h"constexpr AnsiCharPtr UserModuleBase::MODULE_NAME = "my module";constexpr AnsiCharPtr UserModuleBase::MODULE_DESC = "what my module does";constexpr AnsiCharPtr UserModuleBase::MODULE_VERSION = "1.0";constexpr NativeInt GAIN_FDR_CBID = 0x00100000;inline constexpr TParamInfo gainFdrInParamInfo { .ParamType = ptGainFader, .Caption = "gain", .IsInput = TRUE, .IsOutput = FALSE, .CallBackType = ctImmediate, .CallBackId = GAIN_FDR_CBID};// MyModule.cpp#include "MyModule.h"#include "ModuleDefinition.h"void MyModule::onGetModuleInfo(TMasterInfo* pMasterInfo, TModuleInfo* pModuleInfo){ pModuleInfo->ModuleType = mtSimple;}void MyModule::onCreateParameters(TMasterInfo* pMasterInfo, TModuleInfo* pModuleInfo){ sdkCreateParam(gainFdrInParamInfo, gainFdrIn);}```- Write the `TParamInfo` fields in their declaration order. The others keep their default value: `MaxValue` 1, `CallBackType` `ctNormal`, `CallBackId` -1, the rest 0, `FALSE` or `nullptr`. A parameter without callback sets `.CallBackType = ctNone`.- The parameters appear in the order of the `sdkCreateParam` calls. `NumberOfParams` and `onGetNumberOfParams` are no longer needed: keep the query results in `onAfterQuery`, called before `onCreateParameters`.- When a parameter depends on the query (one audio input per channel), copy its `TParamInfo`, change the copy (`Caption`...) and create it in a loop: see the AudioVolume example.- `onGetParamInfo` still works as the legacy system. Use one system or the other in a module.**5. Report errors with `sdkRaiseError`.** Register each message once in `ModuleDefinition.h`,then raise it where the problem happens. The user filters the messages with a verbosity level.```cpp// ModuleDefinition.hinline const int ERROR_INVALID_CHUNK = RegisterError(Level::Error, "invalid saved data, it was not restored");// MyModule.cppsdkRaiseError(ERROR_INVALID_CHUNK);```**6. Follow the naming of the examples.** A parameter is named `<name><Type><In|Out>`(`gainFdrIn`, `muteSwIn`, `resultFdrOut`), its `TParamInfo` adds `ParamInfo` (`gainFdrInParamInfo`)and its callback id is `<NAME>_<TYPE>_CBID` (`GAIN_FDR_CBID`).Also new in SDK 703003: * `mtBackgroundJob`: the SDK adds the `processing` and `processing time` outputs of the job * drag and drop of files on the panel: `onAcceptDragOver` and `onDragDrop` * chunks: a float buffer written or read in one call (`sdkSetChunkFromFloatPointer`, `sdkGetChunkToFloatPointer`), and the `UsineChunk` reader of `sdk/UsineChunks.h` * `sdkGetBlockDuration()`; `TMasterInfo::BlocSize` is deprecated, use `sdkGetBlocSize()`A module built with SDK 703003 needs an up-to-date Usine Hollyhock 7. The modules built with anolder SDK keep working.To start a new module, copy the TemplateModule example or follow the[Getting Started](wiki/getting-started.md) of the wiki, and read the[Module Conventions](wiki/sdk/module-conventions.md).Statistics: Posted by senso — 04 Nov 2026, 10:04
CODE:
for (int i = 0; i < m_size; ++i) {sdkSetSampleAudioFile(audioFile, 1,i, m_buffer[i]);}sdkSetChannelsAudioFile(audioFile, 1);sdkSetSizeAudioFile(audioFile, m_size);sdkSaveToDiskAudioFile(audioFile, tempChar, 1);}Statistics: Posted by oli_lab — 18 Jan 2026, 22:11
Statistics: Posted by oli_lab — 17 Jun 2025, 14:28
Statistics: Posted by sm_jamieson — 11 Jun 2025, 22:12
Statistics: Posted by sm_jamieson — 07 Jun 2025, 19:21
Statistics: Posted by sm_jamieson — 02 Jun 2025, 22:17
Statistics: Posted by oli_lab — 20 May 2025, 14:55
Statistics: Posted by oli_lab — 12 May 2025, 00:52
Statistics: Posted by oli_lab — 05 May 2025, 19:33
Statistics: Posted by oli_lab — 27 Oct 2024, 18:58
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
Statistics: Posted by senso — 15 Jan 2024, 10:36
Statistics: Posted by 23fx23 — 11 Jan 2024, 14:17
Statistics: Posted by sm_jamieson — 10 Jan 2024, 21:24
Statistics: Posted by 23fx23 — 01 Jan 2024, 12:37
Statistics: Posted by oli_lab — 31 Dec 2023, 19:30

Statistics: Posted by 23fx23 — 29 Dec 2023, 15:56
Statistics: Posted by sm_jamieson — 28 Dec 2022, 15:46
Statistics: Posted by oli_lab — 16 Nov 2022, 21:51
Statistics: Posted by senso — 16 Nov 2022, 09:58
Statistics: Posted by oli_lab — 15 Nov 2022, 21:25