[VERSION] save version=110 usine version=HH4-full date usine=200925 [PA-INFO] thumbnail image= usine version=Usine-full 4.1.200925 WIN64 date usine=200925 patch version=110 filename=C:\Users\emoon\Desktop\loadInstData.pat description= [PA-] UID=8236640038987642327 PRESETUID=1443759602364579840 PATCHTYPE=11 ORIGINDEVICE= NBPG=39 OFFSETX=614 OFFSETY=24 QIDX1NEW0=0 QIDX2NEW0=0 ID0=355 L0=-190 T0=339 QIDX1NEW1=-1 QIDX2NEW1=-1 ID1=113 L1=142 T1=197 QIDX1NEW2=-1 QIDX2NEW2=-1 ID2=113 L2=354 T2=369 QIDX1NEW3=-1 QIDX2NEW3=-1 ID3=113 L3=144 T3=162 QIDX1NEW4=-1 QIDX2NEW4=-1 ID4=113 L4=349 T4=507 QIDX1NEW5=-1 QIDX2NEW5=-1 ID5=113 L5=323 T5=472 QIDX1NEW6=-1 QIDX2NEW6=-1 ID6=113 L6=358 T6=437 QIDX1NEW7=1 QIDX2NEW7=-1 ID7=566 L7=-47 T7=198 QIDX1NEW8=-1 QIDX2NEW8=-1 ID8=113 L8=342 T8=402 QIDX1NEW9=-1 QIDX2NEW9=-1 ID9=422 L9=349 T9=541 QIDX1NEW10=16 QIDX2NEW10=-1 ID10=260 L10=360 T10=261 QIDX1NEW11=-1 QIDX2NEW11=-1 ID11=422 L11=148 T11=240 QIDX1NEW12=-1 QIDX2NEW12=-1 ID12=422 L12=141 T12=259 QIDX1NEW13=-1 QIDX2NEW13=-1 ID13=113 L13=510 T13=247 QIDX1NEW14=0 QIDX2NEW14=0 ID14=355 L14=396 T14=182 QIDX1NEW15=-1 QIDX2NEW15=-1 ID15=79 L15=251 T15=222 QIDX1NEW16=-1 QIDX2NEW16=-1 ID16=423 L16=265 T16=200 QIDX1NEW17=-1 QIDX2NEW17=-1 ID17=114 L17=272 T17=365 QIDX1NEW18=-1 QIDX2NEW18=-1 ID18=114 L18=70 T18=323 QIDX1NEW19=-1 QIDX2NEW19=-1 ID19=38 L19=172 T19=322 QIDX1NEW20=-1 QIDX2NEW20=-1 ID20=38 L20=249 T20=263 QIDX1NEW21=-1 QIDX2NEW21=-1 ID21=114 L21=144 T21=285 QIDX1NEW22=-1 QIDX2NEW22=-1 ID22=113 L22=446 T22=565 QIDX1NEW23=-1 QIDX2NEW23=-1 ID23=20 L23=-308 T23=220 QIDX1NEW24=-1 QIDX2NEW24=-1 ID24=420 L24=-314 T24=176 QIDX1NEW25=-1 QIDX2NEW25=-1 ID25=422 L25=-48 T25=150 QIDX1NEW26=-1 QIDX2NEW26=-1 ID26=122 L26=412 T26=101 QIDX1NEW27=-1 QIDX2NEW27=-1 ID27=106 L27=205 T27=37 QIDX1NEW28=0 QIDX2NEW28=0 ID28=355 L28=104 T28=102 QIDX1NEW29=1 QIDX2NEW29=-1 ID29=435 L29=323 T29=56 QIDX1NEW30=-1 QIDX2NEW30=-1 ID30=90 L30=228 T30=92 QIDX1NEW31=-1 QIDX2NEW31=-1 ID31=423 L31=292 T31=166 QIDX1NEW32=-1 QIDX2NEW32=-1 ID32=113 L32=564 T32=99 QIDX1NEW33=-1 QIDX2NEW33=-1 ID33=422 L33=21 T33=446 QIDX1NEW34=-1 QIDX2NEW34=-1 ID34=423 L34=58 T34=367 QIDX1NEW35=0 QIDX2NEW35=0 ID35=355 L35=-203 T35=158 QIDX1NEW36=1 QIDX2NEW36=-1 ID36=566 L36=247 T36=559 QIDX1NEW37=1 QIDX2NEW37=-1 ID37=566 L37=246 T37=605 QIDX1NEW38=-1 QIDX2NEW38=-1 ID38=423 L38=115 T38=607 C0=0700010000000000 CSRCNAME0=OUT CTARGNAME0=FILE NAME C1=0000050001000100 CSRCNAME1=AUDIOIN[NONE/FX/EXT/BOTH] CTARGNAME1=AUDIO IN CFG C2=00000B0002000100 CSRCNAME2=INPUTTRIM CTARGNAME2=INPUT TRIM C3=0000030003000100 CSRCNAME3=INITPRESET CTARGNAME3=HH PRESET C4=00000F0004000100 CSRCNAME4=TRANSTOCC CTARGNAME4=TRANSTOCC C5=00000E0005000100 CSRCNAME5=TRANSPOSE CTARGNAME5=INST TRANSPOSE C6=00000D0006000100 CSRCNAME6=MIDICHIN CTARGNAME6=VSTMIDICH C7=2300030007000000 CSRCNAME7=INST FILENAME CTARGNAME7=IN C8=00000C0008000100 CSRCNAME8=OUTPUTTRIM CTARGNAME8=OUTPUT TRIM C9=0000100009000000 CSRCNAME9=DETAILS CTARGNAME9=QUICK LINK C10=000006000A000B00 CSRCNAME10=HUE CTARGNAME10=VAL 0 C11=000007000A000C00 CSRCNAME11=SATURATION CTARGNAME11=VAL 1 C12=000009000A000E00 CSRCNAME12=SOLOLONOTE CTARGNAME12=VAL 3 C13=00000A000A000F00 CSRCNAME13=SOLOHINOTE CTARGNAME13=VAL 4 C14=110001000A001000 CSRCNAME14=IS_FX CTARGNAME14=VAL 5 C15=140002000A000D00 CSRCNAME15=OUT CTARGNAME15=VAL 2 C16=000006000B000000 CSRCNAME16=HUE CTARGNAME16=QUICK LINK C17=000007000C000000 CSRCNAME17=SATURATION CTARGNAME17=QUICK LINK C18=0A0002000D000100 CSRCNAME18=OUTPUT CTARGNAME18=4_H_S_NS_LO_HI_FX C19=0E0003000D000000 CSRCNAME19=BUSS0 CTARGNAME19=NAME C20=0F0001000E000200 CSRCNAME20=COMMA TEXT CTARGNAME20=NAMES C21=100000000E000000 CSRCNAME21=QUICK LINK CTARGNAME21=TRACK C22=1200010013000000 CSRCNAME22=PLAY CTARGNAME22=A C23=2200000013000100 CSRCNAME23=QUICK LINK CTARGNAME23=B C24=1300020014000100 CSRCNAME24=OUT CTARGNAME24=B C25=1500010014000000 CSRCNAME25=MIDICH CTARGNAME25=A C26=2400010016000100 CSRCNAME26=OUT CTARGNAME26=IGNORESUSTAIN C27=2500010016000100 CSRCNAME27=OUT CTARGNAME27=IGNORESUSTAIN C28=2300040019000000 CSRCNAME28=INST NAME CTARGNAME28=QUICK LINK C29=1C0001001A000100 CSRCNAME29=PATH CTARGNAME29=NAME C30=1D0001001A000000 CSRCNAME30=OUT CTARGNAME30=LOAD C31=1F0000001A000200 CSRCNAME31=QUICK LINK CTARGNAME31=RACK NUMBER C32=1C0001001B000000 CSRCNAME32=PATH CTARGNAME32=IN C33=000002001C000000 CSRCNAME33=LOADPATCH CTARGNAME33=FOLDER C34=1B0001001D000000 CSRCNAME34=TRIGGER CTARGNAME34=IN C35=1E0000001D000200 CSRCNAME35=TRIGGER CTARGNAME35=STOP C36=1A00040020000100 CSRCNAME36=LOADED CTARGNAME36=4_LOADED C37=0E00040020000000 CSRCNAME37=BUSS1 CTARGNAME37=NAME C38=0000080021000000 CSRCNAME38=NOTESOLO CTARGNAME38=QUICK LINK C39=1800010023000000 CSRCNAME39=INST FILES CTARGNAME39=FULL PATHS CT C40=1700000023000500 CSRCNAME40=INST NUM CTARGNAME40=INDEX C41=0000110024000000 CSRCNAME41=IGNORESUSTAIN CTARGNAME41=IN C42=2600000025000000 CSRCNAME42=QUICK LINK CTARGNAME42=IN NBCO=43 [PA-PASE] name=loadInstData saved in preset=1 can be randomized=1 can be reset=1 fast graphic render=0 also visible in IB=0 enabled=1 on top=0 opacity=1 zoom scale=1 left=3 top=26 width=110 height=100 resize grip enabled=1 IB left=0 IB top=0 IB width=10000 IB height=10000 location left=10000 location top=10000 location width=10000 location height=10000 memo minimized in IB=0 memo minimized=0 memo reduced=0 floating x=0 floating y=0 floating content parent X=1 floating content parent Y=1 resizable left=0 resizable right=0 resizable top=0 resizable bottom=0 ignored in physical engine=0 collide=0 collide info=0 speed x=0 speed y=0 angular speed=0 transparent=0 background color=$FF393939 hilited color=$FF9A9A9A frames count=1 frames alignment=0 fit size=1 show border=0 border color=$FF242424 border width=0 round size=4 don't draw selection border=0 show caption=1 caption font color=$FFC0C0C0 caption font size factor=0.600000023841858 caption align=1 caption V align=0 caption font name=Arial caption font bold=0 caption font italic=0 caption font underline=0 show poly order=0 show header=1 header height=20 header color=$FFFF6A99 show toolbar=1 toolbar size=16 minimized=0 HeightBeforeMinimize=0 WidthBeforeMinimize=0 snap to grid=1 grid size=7 auto resize=1 auto resize margin=6 [PA-0] FNAME=D:\HH 3\readInstFile.fastscript UID=8658269509489130167 PRESETUID=10203800 script source=/////////////////////////////////////////////,// READ INST DATA ,////////////////////////////////////////////,const folder = 'INSTRUMENTS\DATA';,const delimiter = '=';,// parameters declaration,,,"var instNameOUT,patchOUT,presetOUT,pgCHtypeOUT,"," audioConfigOUT,saturationOUT,nsSoloOUT,lowNoteOUT,hiNoteOUT,"," inputTrimOUT,outputTrimOUT,midiChOUT,transposeOUT,transCCOUT,"," detailsOUT,hueOUT,filenameIN,noSusOUT : Tparameter;", ,"var instName, "," patch, "," preset, "," hue, "," pgCHtype, "," audioConfig, "," saturation, "," inputTrim, "," outputTrim, "," transpose,"," transCC, "," midiCh, "," noteSrcSolo, "," lowNote, "," HiNote,"," noSus,", details : integer; ,"var st,tags : TStringList; ",var filename : string;,, // initialisation : create parameters,procedure init;,var i : integer,begin , , SetModuleColor($808080+999999);, , tags.create;, tags.add('instName'); instName := 0;, tags.add('loadPatch'); patch := 1;, tags.add('initPreset'); preset := 2;, tags.add('pCH[vst/midi/list]'); pgCHtype := 3;, tags.add('audioIn[none/fx/ext/both]'); audioConfig := 4;, tags.add('hue'); hue := 5;, tags.add('saturation'); saturation := 6; , tags.add('inputTrim'); inputTrim := 7;, tags.add('outputTrim'); outputTrim := 8; , tags.add('midiCHin'); midiCh := 9;, tags.add('transpose'); transpose := 10;, tags.add('transToCC'); transCC := 11;, tags.add('noteSolo'); noteSrcSolo := 12;, tags.add('soloLoNote'); lowNote := 13;, tags.add('soloHiNote'); HiNote := 14; , tags.add('details'); details := 15; , tags.add('ignoreSustain'); noSus := 16; , ," filenameIN := CreateParam('file name',ptTextfield); SetIsOUTput(filenameIN,false);"," instNameOUT := CreateParam(tags.getStrings(instName),ptTextField); SetIsinput(instNameOUT,false);"," patchOUT := CreateParam(tags.getStrings(patch),ptTextField); SetIsinput(patchOUT,false); "," presetOUT := CreateParam(tags.getStrings(preset),ptDatafield); SetIsinput(presetOUT,false); "," pgCHtypeOUT := CreateParam(tags.getStrings(pgCHtype),ptDataField); SetIsinput(pgCHtypeOUT,false);"," audioConfigOUT := CreateParam(tags.getStrings(audioConfig),ptDataField); SetIsinput(audioConfigOUT,false); "," hueOUT := CreateParam(tags.getStrings(hue),ptDatafield); SetIsInput(hueOUT,false);"," saturationOUT := CreateParam(tags.getStrings(saturation),ptDatafield); SetIsinput(saturationOUT,false); "," nsSoloOUT := CreateParam(tags.getStrings(noteSrcSolo),ptDatafield); SetIsinput(nsSoloOUT,false);"," lowNoteOUT := CreateParam(tags.getStrings(lowNote),ptDataField); SetIsinput(lowNoteOUT,false);"," hiNoteOUT := CreateParam(tags.getStrings(hiNote),ptDataField); SetIsinput(hiNoteOUT,false);"," inputTrimOUT := CreateParam(tags.getStrings(inputTrim),ptDataField); SetIsinput(inputTrimOUT,false);"," outputTrimOUT := CreateParam(tags.getStrings(outputTrim),ptDataField); SetIsinput(outputTrimOUT,false);"," midiChOUT := CreateParam(tags.getStrings(midiCh),ptDataField); SetIsinput(midiChOUT,false);"," transposeOUT := CreateParam(tags.getStrings(transpose),ptDataField); SetIsinput(transposeOUT,false); "," transCCOUT := CreateParam(tags.getStrings(transCC),ptDataField); SetIsinput(transccOUT,false); "," detailsOUT := CreateParam(tags.getStrings(details),ptTextField); SetIsinput(detailsOUT,false); "," noSusOUT := CreateParam(tags.getStrings(noSus),ptDatafield); SetIsinput(noSusOUT,false);", ,end;,,,// destroy,procedure Destroy;,begin , tags.free;,end; ,,function getData (tagNum : integer; list : tStringlist) : string,"var tag,data : string;","var taglength,i : integer;",var line : string;,begin, for i := 0 to st.count do, begin , if(tagnum > tags.count) then , strace('----------ERROR>>>ReadInstFile: Tag out of range') , else, tag := tags.getStrings(tagNum);, line := list.getStrings(i);," if (pos(tag,line) = 1) then ", begin ," data := copy(line,length(tag) + 2,length(line) - length(tag));", //strace('found data for tag ' +tag + ': ' + data); , result := trim(data);, break;, end, end ,end; ,,procedure loadText,var data : string;,begin, st.create; , st.loadfromFile(filename); , //strings," SetStringValue(instNameOUT,getData(instName,st)); "," SetStringValue(patchOUT,getData(patch,st)); "," SetStringValue(detailsOUT,getData(details,st));", //integers," SetValue(presetOUT,strToInt(getData(preset,st)));"," SetValue(audioConfigOUT,strToInt(getData(audioConfig,st))); "," SetValue(pgCHtypeOUT,strToInt(getData(pgCHtype,st))); "," SetValue(midiChOUT,strToInt(getData(midiCh,st)));"," SetValue(lowNoteOUT,strToInt(getData(lowNote,st)));"," SetValue(hiNoteOUT,strToInt(getData(hiNote,st)));"," SetValue(nsSoloOUT,strToInt(getData(noteSrcSolo,st))); "," SetValue(noSusOUT,strToInt(getData(noSus,st))); "," SetValue(transposeOUT,strToInt(getData(transpose,st)));"," SetValue(transCCOUT,strToInt(getData(transCC,st)));", //floats , ," SetValue(hueOUT,strToFloat(getData(hue,st))); "," SetValue(saturationOUT,strToFloat(getData(saturation,st)));"," SetValue(inputTrimOUT,strToFloat(getData(inputTrim,st)));"," SetValue(outputTrimOUT,strToFloat(getData(outputTrim,st))); ", st.free; ,end; ,,,procedure Callback(n:integer);,var res : string;,var i : integer; ,begin , filename := getApplicationPath() + '\' , + folder + '\', + GetStringValue(filenameIN) + '.txt'; , strace('loading text from file :' + filename);, loadText; ,end;,,// no process bloc show script in module=0 background color=$FF8FC2BF Tfile name=201-Synthmaster TloadPatch=Synthmaster VinitPreset=64 VpCH[vst/midi/list]=2 VaudioIn[none/fx/ext/both]=0 Vhue=0.451612919569015 Vsaturation=0.25 VnoteSolo=0 VsoloLoNote=21 VsoloHiNote=108 VinputTrim=0 VoutputTrim=1.77419352531433 VmidiCHin=1 Vtranspose=0 VtransToCC=0 VignoreSustain=0 COLLAPS=0 [PA-0file nameSE] UID=5134991747909285351 PRESETUID=5134991747909285351 [PA-0instNameSE] UID=7769172746918033008 PRESETUID=7769172746918033008 [PA-0loadPatchSE] UID=1956782387718387360 PRESETUID=1956782387718387360 [PA-0initPresetSE] UID=2613325474577905354 PRESETUID=2613325474577905354 [PA-0pCH[vst/midi/list]SE] UID=4311082888707831542 PRESETUID=4311082888707831542 [PA-0audioIn[none/fx/ext/both]SE] UID=4872037922161948472 PRESETUID=4872037922161948472 [PA-0hueSE] UID=6022590921956259693 PRESETUID=6022590921956259693 [PA-0saturationSE] UID=8428821737230170010 PRESETUID=8428821737230170010 [PA-0noteSoloSE] UID=4670768197676431315 PRESETUID=4670768197676431315 [PA-0soloLoNoteSE] UID=894292211950286841 PRESETUID=894292211950286841 [PA-0soloHiNoteSE] UID=1571491815170897958 PRESETUID=1571491815170897958 [PA-0inputTrimSE] UID=8852584694079944814 PRESETUID=8852584694079944814 [PA-0outputTrimSE] UID=6300163624525756582 PRESETUID=6300163624525756582 [PA-0midiCHinSE] UID=7363789466956331214 PRESETUID=7363789466956331214 [PA-0transposeSE] UID=5454690434610755848 PRESETUID=5454690434610755848 [PA-0transToCCSE] UID=4426869290690541870 PRESETUID=4426869290690541870 [PA-0detailsSE] UID=8235940852672887128 PRESETUID=8235940852672887128 [PA-0ignoreSustainSE] UID=1437227841110538657 PRESETUID=1437227841110538657 [PA-1] UID=2759621872532188038 PRESETUID=47336741 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=AUDIO IN CFG TABsendL=1 TABsendV=00000000 INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-1nameSE] UID=6995198161046324152 PRESETUID=6995198161046324152 [PA-1sendSE] UID=8864513508329505766 PRESETUID=8864513508329505766 [PA-1targetSE] UID=8877268433769710606 PRESETUID=8877268433769710606 [PA-1onSE] UID=8349222996663190838 PRESETUID=8349222996663190838 [PA-2] UID=8255904451222433872 PRESETUID=47337615 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=INPUT TRIM TABsendL=1 TABsendV=00000000 INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-2nameSE] UID=4376514041844196234 PRESETUID=4376514041844196234 [PA-2sendSE] UID=4900087440890520489 PRESETUID=4900087440890520489 [PA-2targetSE] UID=9123977965206627337 PRESETUID=9123977965206627337 [PA-2onSE] UID=971768371087533296 PRESETUID=971768371087533296 [PA-3] UID=4168431958062133611 PRESETUID=47338433 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=HH PRESET TABsendL=1 TABsendV=00008042 INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-3nameSE] UID=7093235694430192396 PRESETUID=7093235694430192396 [PA-3sendSE] UID=5076864339129008973 PRESETUID=5076864339129008973 [PA-3targetSE] UID=1046466966285583218 PRESETUID=1046466966285583218 [PA-3onSE] UID=4842900198304908338 PRESETUID=4842900198304908338 [PA-4] UID=6330117029242991185 PRESETUID=625581 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=TRANSTOCC TABsendL=1 TABsendV=00000000 INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-4nameSE] UID=2924366967498482309 PRESETUID=2924366967498482309 [PA-4sendSE] UID=2910920505078981297 PRESETUID=2910920505078981297 [PA-4targetSE] UID=5576466774077088464 PRESETUID=5576466774077088464 [PA-4onSE] UID=5920897042110096284 PRESETUID=5920897042110096284 [PA-5] UID=1639327301737771920 PRESETUID=2130654 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=INST TRANSPOSE TABsendL=1 TABsendV=00000000 INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-5nameSE] UID=1075211348446691831 PRESETUID=1075211348446691831 [PA-5sendSE] UID=4603980631588880916 PRESETUID=4603980631588880916 [PA-5targetSE] UID=2433147589305188948 PRESETUID=2433147589305188948 [PA-5onSE] UID=2109309911340040993 PRESETUID=2109309911340040993 [PA-6] UID=7616017400008144035 PRESETUID=75487257 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=VSTMIDICH TABsendL=1 TABsendV=0000803F INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-6nameSE] UID=3905937341627392390 PRESETUID=3905937341627392390 [PA-6sendSE] UID=5345740445888700849 PRESETUID=5345740445888700849 [PA-6targetSE] UID=7104607058433040844 PRESETUID=7104607058433040844 [PA-6onSE] UID=2243282907808555657 PRESETUID=2243282907808555657 [PA-7] UID=2169056469103539611 PRESETUID=14026523 TABinV=000048420000404200004442000034420000A6420000F2420000DC420000E8420000D0420000DA420000C2420000E6420000E8420000CA420000E442 TABinL=15 Vhold time=0 COLLAPS=0 [PA-7inSE] UID=866408446745011225 PRESETUID=866408446745011225 [PA-7forceSE] UID=1124741731642926184 PRESETUID=1124741731642926184 [PA-7hold timeSE] UID=4576040542183515285 PRESETUID=4576040542183515285 [PA-8] UID=4198028665745700504 PRESETUID=96001244 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=OUTPUT TRIM TABsendL=1 TABsendV=C618E33F INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-8nameSE] UID=2523214009132548846 PRESETUID=2523214009132548846 [PA-8sendSE] UID=4960896955814413101 PRESETUID=4960896955814413101 [PA-8targetSE] UID=6972409032361542498 PRESETUID=6972409032361542498 [PA-8onSE] UID=1638848228199924792 PRESETUID=1638848228199924792 [PA-9] UID=2731793971967555505 PRESETUID=5984905696397754368 Vin=0 Tname=DETAILS COLLAPS=3 [PA-9inSE] UID=7852110770868487546 PRESETUID=7852110770868487546 [PA-9nameSE] UID=322014942475748758 PRESETUID=322014942475748758 [PA-10] UID=7774684890765588568 PRESETUID=4688024988337307648 saved in preset=1 fade preset=1 can be randomized=1 can be reset=1 INDEXvisible=1 Vnum=7 Vminval=0 Vmaxval=1 INDEXprec=2 Vreset val=0 Vallow drop=0 COLLAPS=1 [PA-10visibleSE] UID=7666759973298407152 PRESETUID=7666759973298407152 [PA-10captionSE] UID=7182678094164166520 PRESETUID=7182678094164166520 [PA-10numSE] UID=2748575442131912598 PRESETUID=2748575442131912598 [PA-10minvalSE] UID=3486705478638143421 PRESETUID=3486705478638143421 [PA-10maxvalSE] UID=5575829993635874785 PRESETUID=5575829993635874785 [PA-10precSE] UID=6558522597622056969 PRESETUID=6558522597622056969 [PA-10randomizeSE] UID=6329816042229106750 PRESETUID=6329816042229106750 [PA-10resetSE] UID=6671532107826890837 PRESETUID=6671532107826890837 [PA-10reset valSE] UID=4166691673820268656 PRESETUID=4166691673820268656 [PA-10allow dropSE] UID=6231316250105121785 PRESETUID=6231316250105121785 [PA-10clear drop file nameSE] UID=6788759338193423410 PRESETUID=6788759338193423410 [PA-10CTRL] UID=1497048725429549898 PRESETUID=1497048725429549898 VISIBLE=0 MINIMIZED=0 TABV=CF39E73E0000803E000000000000A8410000D842000000000000803F TABL=7 [PA-10CTRLSE] UID=1497048725429549898 PRESETUID=1497048725429549898 also visible in IB=0 edition enabled=1 visible=0 on top=0 opacity=1 blur softness=0 vertical=0 rotation angle=0 zoom scale=1 left=3 top=26 width=161 height=77 resize grip enabled=1 IB width=10000 IB height=10000 location left=10000 location top=10000 location width=10000 location height=10000 memo minimized in IB=0 memo minimized=0 floating x=0 floating y=0 floating content parent X=1 floating content parent Y=1 resizable left=0 resizable right=0 resizable top=0 resizable bottom=0 ignored in physical engine=0 collide=0 collide info=0 speed x=0 speed y=0 angular speed=0 transparent=0 background color=$FF2D263A hilited color=$FFB8A1E1 frames count=1 frames alignment=0 fit size=1 show border=1 border color=$FF8E6AD0 border width=2 round size=2 don't draw selection border=0 show caption=0 caption font color=$FFEFEAF8 caption font size factor=0.600000023841858 caption align=1 caption V align=0 caption font name=Arial caption font bold=0 caption font italic=0 caption font underline=0 show poly order=0 show header=1 header height=20 header color=$FF7C6AFF show toolbar=1 toolbar size=16 mouse over=0 selected=0 vertical lock=0 draw mode=0 step color=$77673AB7 big step color=$FF7C6AFF step opacity=1 big step interval=0 show step border=1 step border color=$FF7C6AFF show grid=1 show mouse cross=1 display value on mouse over=1 grid color=$77673AB7 full grid size=1 V divisions=2 H divisions=4 show cursor=1 cursor color=$FFE1D7F2 cursor width=2 full cursor width=0 horizontal scale=0 vertical scale=0 [PA-10CTRLTBLOCKSE] UID=7471979169155550367 PRESETUID=7471979169155550367 active mode=0 inverse=0 mode=2 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 key mode=1 mouse mode=1 time code ON=0 time code OFF=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-10CTRLTBRANDOMIZESE] UID=4626917736929464184 PRESETUID=4626917736929464184 active mode=0 inverse=0 quantize=0 mode=0 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 time code=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-10CTRLTBRESETSE] UID=2161342787296071690 PRESETUID=2161342787296071690 active mode=0 inverse=0 quantize=0 mode=0 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 time code=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-10DISPLAY] UID=1497048725429549898 PRESETUID=1497048725429549898 VISIBLE=0 MINIMIZED=0 TABV=CF39E73E0000803E000000000000A8410000D842000000000000803F TABL=7 [PA-10DISPLAYSE] UID=1497048725429549898 PRESETUID=1497048725429549898 also visible in IB=0 edition enabled=1 visible=0 on top=0 opacity=1 blur softness=0 vertical=0 rotation angle=0 zoom scale=1 left=3 top=26 width=161 height=77 resize grip enabled=1 IB width=10000 IB height=10000 location left=10000 location top=10000 location width=10000 location height=10000 memo minimized in IB=0 memo minimized=0 floating x=0 floating y=0 floating content parent X=1 floating content parent Y=1 resizable left=0 resizable right=0 resizable top=0 resizable bottom=0 ignored in physical engine=0 collide=0 collide info=0 speed x=0 speed y=0 angular speed=0 transparent=0 background color=$FF2D263A hilited color=$FFB8A1E1 frames count=1 frames alignment=0 fit size=1 show border=1 border color=$FF8E6AD0 border width=2 round size=2 don't draw selection border=0 show caption=0 caption font color=$FFEFEAF8 caption font size factor=0.600000023841858 caption align=1 caption V align=0 caption font name=Arial caption font bold=0 caption font italic=0 caption font underline=0 show poly order=0 show header=1 header height=20 header color=$FF7C6AFF show toolbar=1 toolbar size=16 mouse over=0 selected=0 vertical lock=0 draw mode=0 step color=$77673AB7 big step color=$FF7C6AFF step opacity=1 big step interval=0 show step border=1 step border color=$FF7C6AFF show grid=1 show mouse cross=1 display value on mouse over=1 grid color=$77673AB7 full grid size=1 V divisions=2 H divisions=4 show cursor=1 cursor color=$FFE1D7F2 cursor width=2 full cursor width=0 horizontal scale=0 vertical scale=0 [PA-10DISPLAYTBLOCKSE] UID=7471979169155550367 PRESETUID=7471979169155550367 active mode=0 inverse=0 mode=2 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 key mode=1 mouse mode=1 time code ON=0 time code OFF=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-10DISPLAYTBRANDOMIZESE] UID=4626917736929464184 PRESETUID=4626917736929464184 active mode=0 inverse=0 quantize=0 mode=0 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 time code=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-10DISPLAYTBRESETSE] UID=2161342787296071690 PRESETUID=2161342787296071690 active mode=0 inverse=0 quantize=0 mode=0 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 time code=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-11] UID=880864303789251957 PRESETUID=3535428037229150208 Vin=0 Tname=HUE COLLAPS=3 [PA-11inSE] UID=6101398866700182139 PRESETUID=6101398866700182139 [PA-11nameSE] UID=2666175770856170143 PRESETUID=2666175770856170143 [PA-12] UID=6700851661271604742 PRESETUID=8235776053390344192 Vin=0 Tname=SATURATION COLLAPS=3 [PA-12inSE] UID=4803998031657739247 PRESETUID=4803998031657739247 [PA-12nameSE] UID=644446353658913816 PRESETUID=644446353658913816 [PA-13] UID=3818451505655979628 PRESETUID=8702348697331040256 add to binds list=1 bind color=$FF7C6AFF auto calibrate=0 send to shared computers=0 Tname=4_H_S_NS_LO_HI_FX TABsendL=7 TABsendV=CF39E73E0000803E000000000000A8410000D842000000000000803F INDEXtarget=0 Von=1 COLLAPS=1 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-13nameSE] UID=4019279617308410565 PRESETUID=4019279617308410565 [PA-13sendSE] UID=7884179535026111237 PRESETUID=7884179535026111237 [PA-13targetSE] UID=9084674440308114232 PRESETUID=9084674440308114232 [PA-13onSE] UID=4752221258159146014 PRESETUID=4752221258159146014 [PA-14] FNAME=F:\HH 3\trackBusses.fastscript UID=4849251546551379325 PRESETUID=8536722837715550208 script source=//////////////////////////////////////////// ,// Track Buss Naming ,////////////////////////////////////////////,const NB_ELEMENTS = 2;, ,// parameters declaration,var bussesIN : Tparameter; ,var trackIN : Tparameter; ,var trkOffsetIN : Tparameter;,var bussNamesOUT : array [0..NB_ELEMENTS] of Tparameter;,var busses : TStringList;, ,,// destroy,procedure Destroy;,begin ,, busses.free; ,end;,, // initialisation : create parameters,procedure init;,var i : integer; ,begin , , SetModuleColor($808080+600000); ," trackIN := CreateParam('track',ptDataField); "," trkOffsetIN := CreateParam('offset',ptDataField); "," bussesIN := CreateParam('names',ptTextfield);"," SetIsOutPut(trackIN,false); "," SetIsOutPut(trkOffsetIN,false); "," SetIsOutput(bussesIN,false); ", for i := 0 to NB_ELEMENTS-1 , do begin ," bussNamesOUT[i] := CreateParam('buss'+inttostr(i),ptTextField);"," SetIsInPut(bussNamesOUT[i],false);", end; ,, busses.Create; , ,end;,, ,procedure Callback(n:integer);,"var bussName,track: string;","var trknum, offset, index, size :integer;",var i : integer; ,begin, busses.setCommaText(GetStringValue(bussesIN)); , trknum := trunc(getValue(trackIN)); , if trknum < 0 then strace('----------ERROR>>>trackBussNaming.fastscript: track num must be > 0');, offset := trunc(getValue(trkOffsetIN));, if offset < 0 then strace('----------ERROR>>>trackBussNaming.fastscript: offset must be > 0');, index := (trknum - offset); , if index < 0 then strace('----------ERROR>>>trackBussNaming.fastscript: track-offset out of range');, track := toString(index); , , For i := 0 to NB_ELEMENTS-1, do begin, if (i < busses.count) then, begin , bussName := track + '_' + busses.getStrings(i);," SetStringValue(bussNamesOUT[i],bussName); "," end else SetStringValue(bussNamesOUT[i],'---'); ", end;,end;,,// no process bloc show script in module=0 background color=$FF89A840 Vtrack=4 Voffset=0 Tnames=H_S_NS_LO_HI_FX,LOADED Tbuss0=4_H_S_NS_LO_HI_FX Tbuss1=4_LOADED COLLAPS=0 [PA-14trackSE] UID=7873977946169762667 PRESETUID=7873977946169762667 [PA-14offsetSE] UID=9008262365761070048 PRESETUID=9008262365761070048 [PA-14namesSE] UID=2332716870080488460 PRESETUID=2332716870080488460 [PA-14buss0SE] UID=3758836809832162372 PRESETUID=3758836809832162372 [PA-14buss1SE] UID=1390088719611290743 PRESETUID=1390088719611290743 [PA-15] UID=2768509875707060111 PRESETUID=8271866077315596288 text editor=H_S_NS_LO_HI_FX,LOADED INDEXvisible=0 Tstring=H_S_NS_LO_HI_FX LOADED Vallow drop=0 Voverlay=0 COLLAPS=1 TXT=H_S_NS_LO_HI_FX,LOADED [PA-15visibleSE] UID=3687112084348611290 PRESETUID=3687112084348611290 [PA-15stringSE] UID=6970441121296427883 PRESETUID=6970441121296427883 [PA-15allow dropSE] UID=8253997758472924404 PRESETUID=8253997758472924404 [PA-15clear drop file nameSE] UID=8335796978288307520 PRESETUID=8335796978288307520 [PA-15overlaySE] UID=8801132963705532622 PRESETUID=8801132963705532622 [PA-15CTRL] UID=6684420001160372523 PRESETUID=5385101929984557056 VISIBLE=0 MINIMIZED=0 [PA-15CTRLSE] UID=6684420001160372523 PRESETUID=5385101929984557056 also visible in IB=0 edition enabled=1 visible=0 on top=0 opacity=1 blur softness=0 vertical=0 rotation angle=0 zoom scale=1 left=23 top=46 width=161 height=56 resize grip enabled=1 IB width=10000 IB height=10000 location left=10000 location top=10000 location width=10000 location height=10000 memo minimized in IB=0 memo minimized=0 floating x=0 floating y=0 floating content parent X=1 floating content parent Y=1 resizable left=0 resizable right=0 resizable top=0 resizable bottom=0 ignored in physical engine=0 collide=0 collide info=0 speed x=0 speed y=0 angular speed=0 transparent=0 background color=$FF202020 hilited color=$FF828282 frames count=1 frames alignment=0 fit size=1 show border=1 border color=$FF696969 border width=2 round size=2 don't draw selection border=0 auto record on click=0 mouse over=0 selected=0 text font size=10 text font color=$FFA2A2A2 text left margin=0 [PA-16] UID=434301457214088670 PRESETUID=2419461296672997376 Vout=0 Tname=TRACKNUM COLLAPS=3 [PA-16outSE] UID=6754064985366085537 PRESETUID=6754064985366085537 [PA-16nameSE] UID=3799342481043505115 PRESETUID=3799342481043505115 [PA-17] UID=5069360337626474081 PRESETUID=7269494171549827072 Tname=IS_FX TABget busL=1 TABget busV=00000000 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0 [PA-17nameSE] UID=7532522527103803289 PRESETUID=7532522527103803289 [PA-17get busSE] UID=665195823849955292 PRESETUID=665195823849955292 [PA-18] UID=1788603975351543499 PRESETUID=6478810668249120768 Tname=PLAY TABget busL=1 TABget busV=00000000 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0 [PA-18nameSE] UID=815168922115800924 PRESETUID=815168922115800924 [PA-18get busSE] UID=7351463241528541065 PRESETUID=7351463241528541065 [PA-19] UID=6580488243638052649 PRESETUID=139908694958669824 VA=0 VB=0 COLLAPS=0 [PA-19ASE] UID=5441904636944875860 PRESETUID=5441904636944875860 [PA-19BSE] UID=8077922000760635775 PRESETUID=8077922000760635775 [PA-20] UID=2313222887549314988 PRESETUID=7422262649280266240 VA=1 VB=0 COLLAPS=0 [PA-20ASE] UID=7181145089339982516 PRESETUID=7181145089339982516 [PA-20BSE] UID=5234429977501795049 PRESETUID=5234429977501795049 [PA-21] UID=1227703466507249684 PRESETUID=2451151309139607552 Tname=MIDICH TABget busL=1 TABget busV=0000803F COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0 [PA-21nameSE] UID=9078436077620339118 PRESETUID=9078436077620339118 [PA-21get busSE] UID=4650066700122104265 PRESETUID=4650066700122104265 [PA-22] UID=2390730790790899847 PRESETUID=2236296847909978112 add to binds list=1 bind color=$FF7C6AFF auto calibrate=0 send to shared computers=0 Tname=ignoreSustain INDEXtarget=1 Von=1 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-22nameSE] UID=6216745790449566010 PRESETUID=6216745790449566010 [PA-22sendSE] UID=6559222091028545894 PRESETUID=6559222091028545894 [PA-22targetSE] UID=389441902491386249 PRESETUID=389441902491386249 [PA-22onSE] UID=7444527415384523373 PRESETUID=7444527415384523373 [PA-23] UID=3646256463496489319 PRESETUID=9035717609953165312 once in poly=0 in-outlet visible=1 Vdata=201 Tcaption=inst num INDEXprec=1 COLLAPS=1 [PA-23dataSE] UID=4124163983544861653 PRESETUID=4124163983544861653 [PA-23captionSE] UID=1981756941791577089 PRESETUID=1981756941791577089 [PA-23symbolSE] UID=8929219415437132844 PRESETUID=8929219415437132844 [PA-23precSE] UID=8779343686227379272 PRESETUID=8779343686227379272 [PA-24] UID=4782192422567160379 PRESETUID=4731138945943863296 Tname=INST FILES TABget busL=629 TABget busV=000040420000404200004442000034420000AC420000A6420000A842000000420000E8420000CA420000E6420000E8420000304200004042000040420000484200003442000086420000D8420000CA420000C2420000E442000000420000A4420000CA420000C2420000D6420000E8420000DE420000E44200003042000040420000404200004C42000034420000A0420000D2420000C2420000DC420000DE420000E6420000304200004042000040420000504200003442000096420000DE420000DC420000E8420000C2420000D6420000E8420000304200004042000040420000544200003442000096420000CA420000F2420000E6420000C6420000C2420000E0420000CA4200003042000040420000404200005842000034420000AA420000DC420000D2420000CC420000F242000030420000404200004442000040420000344200008C420000C2420000EC420000CA420000E6420000304200004042000044420000444200003442000096420000CA420000F2420000E642000030420000404200005042000040420000344200008A420000E2420000EA420000C2420000E8420000DE420000E4420000304200004042000050420000444200003442000086420000F2420000E0420000D0420000CA420000E4420000304200004042000054420000444200003442000088420000E4420000C2420000EE420000C4420000C2420000E4420000E6420000304200004042000054420000484200003442000098420000904200000042000088420000E4420000C2420000EE420000C4420000C2420000E4420000E64200003042000044420000404200004042000034420000A0420000E4420000D2420000E6420000DA4200003042000044420000404200004442000034420000A0420000E4420000D2420000E6420000DA4200009A420000A04200008A4200003042000044420000444200004042000034420000A0420000D0420000DE420000E8420000DE420000DC420000CA4200003042000044420000484200004042000034420000A6420000D6420000C2420000DC420000DC420000CA420000E44200003042000048420000404200004442000034420000A6420000F2420000DC420000E8420000D0420000DA420000C2420000E6420000E8420000CA420000E4420000304200004C4200004042000040420000344200009A4200000042000096420000CA420000F2420000E6420000304200004C4200004042000044420000344200009A4200000042000098420000CA420000C2420000C8420000E6420000304200004C4200004042000048420000344200009A42000000420000A0420000C2420000C8420000E6420000304200004C420000404200004C420000344200009A4200000042000082420000DA420000C4420000D2420000CA420000DC420000E8420000304200004C4200004042000050420000344200009A4200000042000088420000C2420000DC420000C6420000CA420000304200004C4200004042000054420000344200009A4200000042000084420000C2420000E6420000E6420000304200004C4200004042000058420000344200009A42000000420000A0420000EA420000D8420000E6420000CA420000E64200003042000050420000444200004042000034420000A4420000904200000042000084420000C2420000E6420000E6420000304200005042000044420000444200003442000098420000904200000042000084420000C2420000E6420000E642000030420000544200004042000040420000344200000042000088420000E4420000EA420000DA420000E6420000304200005442000044420000404200003442000098420000DE420000EA420000E0420000CA4200003042000054420000484200004042000034420000A0420000DE420000D8420000F2420000E0420000D8420000CA420000F042000030420000604200004042000044420000344200008C420000D2420000DC420000CE420000CA420000E442000030420000604200006042000040420000344200009A4200009E4200009E4200009C420000CC420000F042000030420000604200006042000044420000344200009A420000DE420000DE420000DC420000A8420000EA420000C4420000CA420000E642000030420000644200004042000040420000344200008E420000E8420000E4420000A4420000D2420000CE420000304200006442000044420000404200003442000090420000C2420000E4420000DA420000DE420000DC420000D2420000F4420000CA420000E44200003042000064420000484200004042000034420000A6420000DE420000EA420000DC420000C8420000A8420000DE420000F2420000E6420000304200006442000048420000444200003442000092420000DC420000E0420000EA420000E842000000420000A8420000DE420000F2420000E642000030420000644200005C42000040420000344200009A420000CA420000E8420000C24200008C420000C2420000C442000030420000644200005C4200005442000034420000AC420000DE420000C6420000DE420000C8420000CA420000E4420000304200006442000060420000404200003442000086420000D0420000E4420000A0420000D0420000DE420000DC420000CA420000304200006442000064420000404200003442000086420000DE420000D8420000D8420000CA420000C6420000E8420000D2420000EC420000CA420000304200006442000064420000444200003442000098420000DE420000DE420000DA4200003042000064420000644200005042000034420000AC420000A6420000A842000000420000E8420000CA420000E6420000E8420000004200008C420000B0420000484200003042000064420000644200005442000034420000AC420000A6420000A842000000420000E8420000CA420000E6420000E8420000004200009C420000A642000000420000A6420000DE420000D8420000DE4200000042000098420000904200003042000064420000644200005842000034420000AC420000A6420000A842000000420000E8420000CA420000E6420000E842000000420000984200009042000000420000A6420000E0420000D8420000D2420000E84200003042000064420000644200005C42000034420000AC420000A6420000A842000000420000E8420000CA420000E6420000E8420000004200009C420000A642000000420000A6420000DE420000D8420000DE4200003042000064420000644200006042000034420000AC420000A6420000A842000000420000E8420000CA420000E6420000E84200000042000092420000CE420000DC420000DE420000E4420000CA42000000420000A6420000AA420000A64200003042000064420000644200006442000034420000AC420000A6420000A842000000420000E8420000CA420000E6420000E8420000004200008C420000B04200004442 COLLAPS=0 CalibrateMinVal=0 CalibrateMaxVal=0 [PA-24nameSE] UID=1196617996456878930 PRESETUID=1196617996456878930 [PA-24get busSE] UID=1398633636502627192 PRESETUID=1398633636502627192 [PA-25] UID=1554088605539773758 PRESETUID=861390965779202048 Vin=0 Tname=INST NAME COLLAPS=3 [PA-25inSE] UID=770949029757904245 PRESETUID=770949029757904245 [PA-25nameSE] UID=911338065269024144 PRESETUID=911338065269024144 [PA-26] UID=8737142443531447739 PRESETUID=1621721050435813376 Tname=D:\HH 3 053\INSTRUMENTS\PATCHES\Synthmaster.pat Vrack number=6 Vpatch number=3 COLLAPS=0 [PA-26loadSE] UID=7363591984359335629 PRESETUID=7363591984359335629 [PA-26nameSE] UID=2424749560294729491 PRESETUID=2424749560294729491 [PA-26rack numberSE] UID=8955911084551104320 PRESETUID=8955911084551104320 [PA-26patch numberSE] UID=8972076480312305507 PRESETUID=8972076480312305507 [PA-27] UID=4826484193350266489 PRESETUID=5576719950275411968 TABinV=00008842000068420000B84200009042000090420000004200004C4200000042000040420000544200004C420000B8420000924200009C420000A6420000A8420000A4420000AA4200009A4200008A4200009C420000A8420000A6420000B8420000A042000082420000A842000086420000904200008A420000A6420000B8420000A6420000F2420000DC420000E8420000D0420000DA420000C2420000E6420000E8420000CA420000E442000038420000E0420000C2420000E842 TABinL=47 Vhold time=0 COLLAPS=0 [PA-27inSE] UID=8817847239107340525 PRESETUID=8817847239107340525 [PA-27hold timeSE] UID=1288471193546320204 PRESETUID=1288471193546320204 [PA-28] FNAME=G:\getUserPath.fastscript UID=4342929205772166825 PRESETUID=6405529008531832832 script source=/////////////////////////////////////////////,// Extract File Ext ,////////////////////////////////////////////,const folder = 'INSTRUMENTS\PATCHES';,// parameters declaration ,"var output,subfolderIN : Tparameter;",var path : string;,, // initialisation : create parameters,procedure init;,begin , SetModuleColor($808080+307092); , ," subfolderIN := CreateParam('folder',ptTextField); SetIsOutput(subfolderIN,false); "," output := CreateParam('path',ptTextField); SetIsInPut(Output,false); ",,end;, ,procedure Callback(n:integer);,begin , path := getApplicationPath() + '\' , + folder + '\' + getStringValue(subfolderIN) + '.pat';," setStringValue(output,path); "," //SetStringValue(Output,ExtractFileExt(GetStringValue(Input)));",end; ,,// no process bloc show script in module=0 background color=$FF853014 Tfolder=Synthmaster Tpath=D:\HH 3 053\INSTRUMENTS\PATCHES\Synthmaster.pat COLLAPS=0 [PA-28folderSE] UID=4142639792539575624 PRESETUID=4142639792539575624 [PA-28pathSE] UID=4362971801655453107 PRESETUID=4362971801655453107 [PA-29] UID=2354618452363063117 PRESETUID=8518405034126344192 Vin=0 Vout=0 Vstop=0 COLLAPS=0 [PA-29inSE] UID=1158352090560091428 PRESETUID=1158352090560091428 [PA-29outSE] UID=2828434341752362312 PRESETUID=2828434341752362312 [PA-29stopSE] UID=7901003897263462 PRESETUID=7901003897263462 [PA-30] UID=5842069252469567445 PRESETUID=1151950751803637760 COLLAPS=0 [PA-31] UID=6048368559752359921 PRESETUID=7277727020413353984 Vout=0 Tname=RACKNUM COLLAPS=3 [PA-31outSE] UID=4331006872626288672 PRESETUID=4331006872626288672 [PA-31nameSE] UID=2768398099182934081 PRESETUID=2768398099182934081 [PA-32] UID=3532367794961002574 PRESETUID=5271233606709149696 add to binds list=1 bind color=$FFFF6A99 auto calibrate=0 send to shared computers=0 Tname=4_LOADED TABsendL=1 TABsendV=00000000 INDEXtarget=1 Von=1 COLLAPS=1 CalibrateMinVal=0 CalibrateMaxVal=0.100000001490116 [PA-32nameSE] UID=4107009358031386687 PRESETUID=4107009358031386687 [PA-32sendSE] UID=8726956073890248808 PRESETUID=8726956073890248808 [PA-32targetSE] UID=608063883263506609 PRESETUID=608063883263506609 [PA-32onSE] UID=5601308650169334225 PRESETUID=5601308650169334225 [PA-33] UID=1175475751507341592 PRESETUID=9054370278683266082 Vin=0 Tname=NOTESOLO COLLAPS=3 [PA-33inSE] UID=2292319545859930990 PRESETUID=2292319545859930990 [PA-33nameSE] UID=638906548074740614 PRESETUID=638906548074740614 [PA-34] UID=7371340178376241532 PRESETUID=6346598837288929421 Vout=0 Tname=NS SOLO COLLAPS=3 [PA-34outSE] UID=8644590438082837721 PRESETUID=8644590438082837721 [PA-34nameSE] UID=8980114114322529525 PRESETUID=8980114114322529525 [PA-35] FNAME=C:\Users\emoon\Documents\HH 3\instNameFromIdx.fastscript UID=2889098029652709453 PRESETUID=527758204640828140 script source=/////////////////////////////////////////////,// strip filenames,////////////////////////////////////////////,,// parameters declaration,"var idxIN,pathsIN,selIN : Tparameter;","var filenameOUT,displayOUT,idxOUT : Tparameter;",var pathList : TstringList; ,var count : integer;,,// initialisation : create parameters,procedure init;,var i : integer;,begin , SetModuleColor($807080+909960);," pathsIN := CreateParam('full paths ct',ptTextField); SetIsOutPut(pathsIN,false); "," selIN := CreateParam('selection',ptDatafield); SetIsOutput(selIN,false); "," idxIN := CreateParam('index',ptDatafield); SetIsOutput(idxIN,false);"," filenameOUT := CreateParam('inst filename',ptTextField); SetIsInPut(filenameOUT,false);"," displayOUT := CreateParam('inst name',ptTextField); SetIsInPut(displayOUT,false);"," idxOUT := CreateParam('index',ptDatafield); SetIsInput(idxOUT,false); ", pathList.create; ,end; ,,procedure destroy; begin pathList.free end;, ,//TODO: do we need to be able to get an index out from a selection in???? ,procedure Callback(n:integer);,"var filename,name : string;","var i,id,idx,sel : integer; ",begin, if (n = pathsIN) then, begin , , pathList.SetCommaText(GetStringValue(pathsIN)); , count := pathList.count;, end, else if (n = selIN) then, begin, sel := trunc(getValue(selIN));, filename := SubFileExt(ExtractFileName(pathList.GetStrings(sel)));," name := copy(filename,5,length(filename) - 4);"," idx := strToInt(copy(filename,1,3));"," setValue(idxOUT, idx);"," setStringValue(filenameOUT,filename);"," setStringValue(displayOUT, name);", end, else if (n = idxIN) then, begin, id := trunc(getValue(idxIN));," setValue(idxOUT, id);", For i := 0 to count - 1 do , begin , filename := SubFileExt(ExtractFileName(pathList.GetStrings(i)));, //strace('filename = ' + filename);," name := copy(filename,5,length(filename) - 4);"," idx := strToInt(copy(filename,1,3));"," setValue(idxOUT, idx);", if (id = idx) then , begin," setStringValue(filenameOUT,filename);"," setStringValue(displayOUT, name); ", end;, end; , // strace(GetStringValue(namesOUT));, end; ,end;,,// no process bloc show script in module=0 background color=$FF8E5308 Tfull paths ct=001-VST test,002-Clear Reaktor,003-Pianos,004-Kontakt,005-Keyscape,006-Unify,010-Faves,011-Keys,040-Equator,041-Cypher,051-Drawbars,052-LH Drawbars,100-Prism,101-PrismMPE,110-Photone,120-Skanner,201-Synthmaster,300-M Keys,301-M Leads,302-M Pads,303-M Ambient,304-M Dance,305-M Bass,306-M Pulses,410-RH Bass,411-LH Bass,500- Drums,510-Loupe,520-Polyplex,801-Finger,880-MOONfx,881-MoonTubes,900-GtrRig,910-Harmonizer,920-SoundToys,921-Input Toys,970-MetaFab,975-Vocoder,980-ChrPhone,990-Collective,991-Loom,994-VST test FX2,995-VST test NS Solo LH,996-VST test LH Split,997-VST test NS Solo,998-VST test Ignore SUS,999-VST test FX1 Vselection=10 Vindex=201 Tinst filename=201-Synthmaster Tinst name=Synthmaster COLLAPS=0 [PA-35full paths ctSE] UID=2482419640957603350 PRESETUID=2482419640957603350 [PA-35selectionSE] UID=8661911682558922372 PRESETUID=8661911682558922372 [PA-35indexSE] UID=5555197365884489512 PRESETUID=5555197365884489512 [PA-35inst filenameSE] UID=7526586628899016411 PRESETUID=7526586628899016411 [PA-35inst nameSE] UID=8735376430289587967 PRESETUID=8735376430289587967 [PA-36] UID=1775445398147445204 PRESETUID=3524847081313787192 Vin=0 Vhold time=0 COLLAPS=0 [PA-36inSE] UID=1720128091980687034 PRESETUID=1720128091980687034 [PA-36forceSE] UID=8496679065853224731 PRESETUID=8496679065853224731 [PA-36hold timeSE] UID=6721936944217843510 PRESETUID=6721936944217843510 [PA-37] UID=168384610838655524 PRESETUID=5950267205001930526 Vin=0 Vhold time=0 COLLAPS=0 [PA-37inSE] UID=5442231754539526320 PRESETUID=5442231754539526320 [PA-37forceSE] UID=3845819146787743990 PRESETUID=3845819146787743990 [PA-37hold timeSE] UID=2731190348673837343 PRESETUID=2731190348673837343 [PA-38] UID=1175229005636186740 PRESETUID=2434103590811235876 Vout=0 Tname=IGN SUS COLLAPS=3 [PA-38outSE] UID=6524020944945408642 PRESETUID=6524020944945408642 [PA-38nameSE] UID=8174629659798792877 PRESETUID=8174629659798792877 [PA-CPSE] also visible in IB=0 enabled=1 on top=0 opacity=1 zoom scale=1 left=3 top=26 width=110 height=100 resize grip enabled=1 IB left=0 IB top=0 IB width=10000 IB height=10000 location left=10000 location top=10000 location width=10000 location height=10000 memo minimized in IB=0 memo minimized=0 memo reduced=0 floating x=0 floating y=0 floating content parent X=1 floating content parent Y=1 resizable left=0 resizable right=0 resizable top=0 resizable bottom=0 ignored in physical engine=0 collide=0 collide info=0 speed x=0 speed y=0 angular speed=0 transparent=0 background color=$FF393939 hilited color=$FF9A9A9A frames count=1 frames alignment=0 fit size=1 show border=0 border color=$FF242424 border width=0 round size=4 don't draw selection border=0 show caption=1 caption font color=$FFC0C0C0 caption font size factor=0.600000023841858 caption align=1 caption V align=0 caption font name=Arial caption font bold=0 caption font italic=0 caption font underline=0 show poly order=0 show header=1 header height=20 header color=$FFFF6A99 show toolbar=1 toolbar size=16 minimized=0 HeightBeforeMinimize=0 WidthBeforeMinimize=0 snap to grid=1 grid size=7 auto resize=1 auto resize margin=6 name=loadInstData saved in preset=1 can be randomized=1 can be reset=1 fast graphic render=0 [PA-CPTOOLBARTBENABLESE] UID=219491412387061290 PRESETUID=219491412387061290 [PA-CPTOOLBARTBMINIMIZESE] UID=3939234036934008468 PRESETUID=3939234036934008468