ArrayArrayArrayArray BrainModular BrainModular Users Forum 2010-06-07T19:17:17+02:00 https://brainmodular.org/forums/app.php/feed/topic/2237 2010-06-07T19:17:17+02:00 2010-06-07T19:17:17+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14166#p14166 <![CDATA[Tmidi]]>
records seems a powerful function of delphi, i got to experiment...

Statistics: Posted by 23fx23 — 07 Jun 2010, 19:17


]]>
2010-06-07T08:02:14+02:00 2010-06-07T08:02:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14154#p14154 <![CDATA[Tmidi]]>
I don't quite get your second question, but I think the answer is no:). You can't access the fields in a record like it was some index - it would have to go by the field name. You could of course split the various fields into separate arrays or dimensions of a single array, but that could easily create unnecessarily complex data structures.

Statistics: Posted by bsork — 07 Jun 2010, 08:02


]]>
2010-06-06T05:42:21+02:00 2010-06-06T05:42:21+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14144#p14144 <![CDATA[Tmidi]]> MM so i need to make kind of mapper, any tricks on dealing with the messages? mm canjust make a vaiable table.

also is it possible to directly set sub chanel,msg,data1,data2 of an array of tmidi like other 2d arrays?

something like arrayofTmidi[i,j]:= where j would be ch,msg,ect..?

Statistics: Posted by 23fx23 — 06 Jun 2010, 05:42


]]>
2010-06-06T05:23:35+02:00 2010-06-06T05:23:35+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14143#p14143 <![CDATA[Tmidi]]> if i check my midi out i see " 0 OFF 56 127 c:3"
MidiX.channel := 1
/////// MidiX.msg := round(getdataArrayValue(Midi_Msgs_In, (index*16)+1));
MidiX.msg := 3;
MidiX.data1 := round(getdataArrayValue(Midi_Msgs_In, (index*16)+2));
MidiX.data2 := round(getValue(Xout)*127);
SetMidiArrayValue(Midi_Out, 0, MidiX);
SetLength(Midi_Out, 1);
any clues?

Statistics: Posted by 23fx23 — 06 Jun 2010, 05:23


]]>
BrainModular BrainModular Users Forum 2010-06-07T19:17:17+02:00 https://brainmodular.org/forums/app.php/feed/topic/2237 2010-06-07T19:17:17+02:00 2010-06-07T19:17:17+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14166#p14166 <![CDATA[Tmidi]]>
records seems a powerful function of delphi, i got to experiment...

Statistics: Posted by 23fx23 — 07 Jun 2010, 19:17


]]>
2010-06-07T08:02:14+02:00 2010-06-07T08:02:14+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14154#p14154 <![CDATA[Tmidi]]>
I don't quite get your second question, but I think the answer is no:). You can't access the fields in a record like it was some index - it would have to go by the field name. You could of course split the various fields into separate arrays or dimensions of a single array, but that could easily create unnecessarily complex data structures.

Statistics: Posted by bsork — 07 Jun 2010, 08:02


]]>
2010-06-06T05:42:21+02:00 2010-06-06T05:42:21+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14144#p14144 <![CDATA[Tmidi]]> MM so i need to make kind of mapper, any tricks on dealing with the messages? mm canjust make a vaiable table.

also is it possible to directly set sub chanel,msg,data1,data2 of an array of tmidi like other 2d arrays?

something like arrayofTmidi[i,j]:= where j would be ch,msg,ect..?

Statistics: Posted by 23fx23 — 06 Jun 2010, 05:42


]]>
2010-06-06T05:23:35+02:00 2010-06-06T05:23:35+02:00 https://brainmodular.org/forums/viewtopic.php?t=2237&p=14143#p14143 <![CDATA[Tmidi]]> if i check my midi out i see " 0 OFF 56 127 c:3"
MidiX.channel := 1
/////// MidiX.msg := round(getdataArrayValue(Midi_Msgs_In, (index*16)+1));
MidiX.msg := 3;
MidiX.data1 := round(getdataArrayValue(Midi_Msgs_In, (index*16)+2));
MidiX.data2 := round(getValue(Xout)*127);
SetMidiArrayValue(Midi_Out, 0, MidiX);
SetLength(Midi_Out, 1);
any clues?

Statistics: Posted by 23fx23 — 06 Jun 2010, 05:23


]]>