Platforms to show: All Mac Windows Linux Cross-Platform

Back to MidiPacketMBS class.

MidiPacketMBS.DataMemory as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MIDI MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The data of the packet as a memoryblock.

Setting this value will automatically fill the DataString property, so both are in sync.
(Read and Write property)

MidiPacketMBS.DataString as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MIDI MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The data of the packet as a string.

Setting this value will automatically fill the DataMemory property, so both are in sync.

This will not work:
DataString="90 5A 7C"

But this is better:
DataString=chrb(&h90)+chrb(&h5A)+chrb(&h7C)

or with the DataMemory property:
m=newmemoryblock(3)
m.byte(0)=&h90
m.byte(1)=&h5A
m.byte(2)=&h7C
DataMemory=m
(Read and Write property)

MidiPacketMBS.TimeStamp as MemoryBlock   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MIDI MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
This item is deprecated and should no longer be used. You can use TimeStampValue instead.
The timestamp of the packet.
Example
dim pack as MIDIPacketMBS
dim m as memoryblock

m=newmemoryblock(8)
m.Long(0) = 2345678 // some time value
m.Long(4) = 3456789
pack = new MIDIPacketMBS
pack.TimeStamp = m

A host clock time (64 bit value) representing the time of an event, as returned by MidiPacketMBS.CurrentTime.

As a convenience, you can use zero to use the current time.
And using nil for the memoryblock represents a value of zero (=now).
(Read and Write property)

MidiPacketMBS.TimeStampValue as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property MIDI MBS MacCF Plugin 7.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The timestamp of the packet.

A host clock time (64 bit value) representing the time of an event, as returned by MidiPacketMBS.CurrentTime.

As a convenience, you can use zero to use the current time.
(Read and Write property)

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...