Menu

DLL export functions

DLL Export Functions

  • DLL file: utm.dll
  • DLL calling convention: stdcall

UTMCreatePacket

Use this function to create single 3 bit data packet or control packet. To construct the valid 8 bit data packet user need to call this function 3 times and in last packet MSB is ignored by the device firmware.

Syntax:

//Lazarus/Delphi/Pascal
function UTMCreatePacket(OutData: byte): word;

//C/C++
short UTMCreatePacket(char OutData);

//C#
ushort UTMCreatePacket(byte OutData);

UTMCreateBytePacket

Use this function to send byte to microTone Module.

Syntax:

//Lazarus/Delphi/Pascal
function UTMCreateBytePacket(OutData: Byte): Word;

//C/C++
short UTMCreateBytePacket(char OutData);

//C#
ushort UTMCreateBytePacket(byte OutData);

UTMCreateShortPacket

Use this function to send short or 16 bit numerical data type to microTone module.

Syntax:

//Lazarus/Delphi/Pascal
function UTMCreateShortPacket(OutData: Word): Word;

//C/C++
short UTMCreateShortPacket(short OutData);

//C#  
ushort SendShort(ushort OutData);

Related

Documentation: microTone Module API functions

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.