Welcome to %s forums

BrainModular Users Forum

Login Register

Scripting question - is there a ptRecord parameter type?

I need help on a Patch
Post Reply
ahonoe
Member
Posts: 161
Location: Toronto
Contact:

Unread post by ahonoe » 21 Apr 2016, 23:43

I'm looking to output a parameter that contains several data types including floats, integers and strings. I'm reading that Pascal supports this through the record data type but I need to pass these records between scripts (via a bus).

Can anyone tell me if there is such a thing as a "ptRecord" parameter type in hh? If not, can I use the ptOther paramter to output this data type?
Regards,

Scott

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 22 Apr 2016, 00:42

afaik no, man can only output data types that are avaible as 'wires' when patching to be transfered between modules, tho im not aware of the ptOther use.
maybe writing/loading textfile parser could be one solution, or converting to comma text with tags.. but feel would be easier to output several arrays and commatexts instead.

ahonoe
Member
Posts: 161
Location: Toronto
Contact:

Unread post by ahonoe » 22 Apr 2016, 23:18

Thanks for getting back to me on this 23fx23. I'm using string lists as a workaround but converting the data types is quite inefficient so I thought I would check.
Regards,

Scott

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 04 May 2016, 08:08

yes, I remember writing a multiplexer and demultiplexer under V5, because I needed to insure all data sent on a buss arrived at the same time.... I used arrays, since the data were all numerical....
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

ahonoe
Member
Posts: 161
Location: Toronto
Contact:

Unread post by ahonoe » 05 May 2016, 00:19

Thanks woodslanding. I've switched from string lists to arrays of like data types.
Regards,

Scott

Post Reply

Who is online

Users browsing this forum: No registered users and 67 guests