samplemap / combobox script for 2 comboboxes
-
I am having trouble setting this up for 2 comboboxes. Here is my snippet. ```
code_text -
This post is deleted! -
HiseSnippet 8000.3oc68zDiabcdjRZjzxcs9w1sIsHMXpfqwZXKEN+v+Rh8NZ2UqzVuq10jqVWAKaogjC2chFNCyLCWIJamnjz7yg.XCTeHtHEvANn8TL5s5bJKRQOzC4PhSfQARJjRBRhguHfhdt88leHeug7wYdjytKoL2CRb94My2+uu+duYcSiJJVVFlIRN0FsZnjH4LLkZoau8BaKqpmX4ESj7QX1bsMVjcC4xkUplX9VMjsr.+HYxCeQ3sjbpijv4uGL27xZx5UT5bpDI1zPshxJp0Us6b10kddUMskjqprgZcj6VTZ4JF5KXnYzD.NGlIchFxUto7VJWVFdaGhIQxidgpp1FlkrksUrRj7HyaTsUosMtkt68uopkZYME3AbIJAdPtmdICspPHFd1DKrspV008QaqDfG55cHBG1kH73LqpVUs846PLNkyEX6LBT5QxCgCdGFC73PAuzHfWO.ojHfzQbAoSyTphoZC6NWABOSyrrtshYMY.YGETbu2DGJwwYVv.bG51mqt7MUVxDbP6QLaNQtmgUrP5m5KjJ0m6yYIWuglhYJ.SvxlcGYS1RtmYE1mk0Qn3baoX6.rNGM6Y7tN6JmA8IvVWtgEqroobKjmk60VEdom0+ACedk7O+JpV1y59bpXTurQYiaiL7EpWt8cxAdB9XEDhLp2vPGbvrmA6tf.E1INmkB3dTsUpaclmAAfN2WxPUe1ybM8y7Tv2eJUcMUcE1ZM0qXqZnyBDJQeLvWsog1rU7euOC.B0Zp7Tod0TS4SxNmrk2Om8oNmlgb01ie1Nu3WxYbmk6kAu1WG7liDRAwBOPXAYMsx.cjY6MD5fLP1hBfNVk0gpxBIq8iYWLLlcw8WlMejX17AY176iL6h6QLa9nvr4QY1cHgW9Jqd84uxFar1kKAHfBeAjKUtosM3.voeoWF87Mj0Uz59zK1RWttZEKT4hKTqlRE6YYOi+EcjI5LlhJUa5RNIw7ZeGAFoMXDWPeK.K4bULU.1QgyQXtV4uD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kio8CcyEkfDpNeOqQoS3eQcZKv7YjB7obo8UXkv9jUz1Rx8mC+Kk.xEVw3VqCdgNM2p+y467ARWRsqylXQoUamSl68tM9M8xOiGL9xVlZC+Zk6TTI2cfKO26B9MXDSZ1eeSqMU8ilye+tqsP9uat16SgdzpO7cu2bKZ1B6bEe++aLkAmmEfInbGEjnaAm8GO9RlY7yx+40k0Z4m2mYZeX.paux54tRf4.1QU4V3tBeJowVhBoBZdReIOmR9QLOz238+repcmTXy8YGmiihbtOCvCeAO2WA3gu3miktR0+L13Vf.V.FZZOxm2NmxnvBSlwCy7tJ9OJ.t48a2babXE+Dqj7PZAS8se2sdHlDCRUIKNopjSpJ4jpRtOVUxhSpJYLTUxhiLUk7M+tQppjfvgwqJozUBTURP.dO8tAyv22+MmTUxIUkbRUImTUxQjpRVbXqJ4wkvpJoyBPcOnpjf+d7nWUR2GyjpRNopjeRspjy3eDaPOTQqKI66cwOJPcI+3W3dSpKYv5RVbRcI+jScIKRrtjo9P75Rl3ot1erq5Rds23WfUWxaTq1e3gx5RVLJ0k7SSWcIcL+zq5R5TawArtjuyEu+u8Sr0krX+pKoi8+vqKI627iuev5Rt6+6r+ZLkAmm0mzpKYwI0kjPcIIlI524h+fbRSpK4j5RNotjSpK4j5RNFVWx8CnrtbESiqWwP21zvAVOtyY.PotydBwTLqBOlkKwNv8bCXJtRetzvscD0qWoBL16yBnv8dL7CvXDFfwHN.iIy.LlrCvXxM.iIeeGCrvbmuosQcWqe.QkEb4dvpTmbZzCbY3nQY3rujXVSFLguy6ZY8pJ21WXv05Ahv3EzwJDyRM0z55dfmLv8U5lJ2Bdb1u2B+0+r+oelSsiLAnD7bu5i+dW7924uGlmCS0xMsch4wY2vwysCWaAI1ivoqtKJrlX9dgSWc2f3D397woW6e62x8V6jTJDbZJ.NUdSCsUvwpUW+Bt1.R1N8pfy9+C6NFoE
-
@gryphonsegg The name of your second combobox callback is the same of the first one, not the one the cb2 is set to...
-
@gryphonsegg As a bonus tip, here's a more efficient method:
//sampler const var SamplerLR = [Synth.getChildSynth("Sampler L"), Synth.getChildSynth("Sampler R")]; //combobox const var CmbSampleMap12 = [Content.getComponent("CmbSampleMap1"), Content.getComponent("CmbSampleMap2")]; //sample maps array const var sampleMaps = Sampler.getSampleMapList(); inline function onCmbSampleMap12Control(component, value) { local idx = CmbSampleMap12.indexOf(component); SamplerLR[idx].asSampler().loadSampleMap(sampleMaps[value-1]); }; for (cb in CmbSampleMap12) { cb.set("items", sampleMaps.join("\n")); cb.setControlCallback(onCmbSampleMap12Control); }
-
@ustk I changed it and everything works escept for combo box 2 does not change the samplemaps.
HiseSnippet 8017.3oc68zDiabcdjRZjzxcs9w1sIsHMXpfqwZXKEN+v+Rh8NZ2UqzVuq10jqVWAKaogjC2chFNCyLCWIJamrIo4mCAvFn9PbQJfCbP6oXza04TVjhdnGxgDm.iBjTHkDjDCeQ.E8b66M+P9dC4iy7HmUKoL2CRb94My2+uu+duYcSiJJVVFlIRN0FsZnjH4LLkZoau8BaKqpmX4ESj7QX1bsMVjcC4xkUplX9VMjsr.+HYxCeQ3sjbpijv4u6O27xZx5UT5bpDI1zPshxJp0Us6b10kddUMskjqprgZcj6VTZ4JF5KXnYzD.NGlIchFxUto7VJWVFdaGhIQxidgpp1FlkrksUrRj7HyaTsUosMtkt68uopkZYME3AbIJAdPtmdICspPHFd1DKrspV008QaqDfG55cHBG1kH73LqpVUs846PLNkyEX6LBT5QxCgCdGFC73PAuzHfWO.ojHfzQbAoSyTphoZC6NWABOSyrrtshYMY.YGETbu2DG5HGmYACvcnaet5x2TYISvAsGwr4D4dFVwBoepuPpTetOmkb8FZJlo.LAKa1cjMYK4dlUXeVVGghyskhsCv5bzrmw65rqbFzm.ac4FVrxllxsPdVtWaU3kdV+GL74Ux+7qnZYOq6yohQ8xFkMtMxvWnd412IG3I3iUPHxndCCcvAydFr6BBTXm3bVJf6Q0Vot0YdFD.5beICU8YOy0zOySAe+oT00T0UXq0TuhspgNKPnD8w.e0lFZyVw+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0CDgwKniUHlkZpo008.OYf6qzMUtE73reuE9q+Y+S+LmZGYBPI34d0G+8t38tyeOLOGlpkaZ6DyiydgimaGt1BRrOgSWcOTXMw78Bmt5dAwIv84iSu1+1uk6s1IoTH3zT.bp7lFZqfiUqt9EbsAjrc5UAm8+G0f4QIA
-
@gryphonsegg The name of the function is still not the same as the one you set the combobox to with
setControlCallback(onCmbSampleMap2Control);
there's a typo in the function's name:
onCmbSampleMap2Contro2l
-
@ustk that would be the problem. I tried your code and it works perfectly. Man, I wish I understood it that well. I appreciate the help. Sorry about the duplicate posting. I didnt think it went through here.
-
@gryphonsegg said in samplemap / combobox script for 2 comboboxes:
Man, I wish I understood it that well.
It just takes a lot of reading code and writing code, you'll get it in time.
-
@gryphonsegg I should have explained it a wee bit...
cbs and samplers are in arrays
idx
is for finding which combobox in its array has triggered the callback, 0 or 1.Then use this
idx
to load the sample map in the associated sampler array, so 0 or 1.This method allows you to add as many comboboxes/samplers as you want, without the need of duplicating the callbacks.
(you just need to reference them in the arrays)This is a generic method when you want to perform the same operation from different components, so keep that in mind it'll be very useful as you progress with Hise ;)
-
@ustk using the code you dropped me, worked great but how di I delete a sample map from that sample map list now? I removed a samplemap from the folder of samplemaps that I made as a test and it is still in my combobox and in the list on the scriptwatch table.
-
@gryphonsegg Probably need to close/reopen HISE to refresh the list.
-
CmbSampleMap1.set("items", "");
-
@ustk I added this code and changed everything to work and so far it does in another plugin but I got this error further down. Can you tell me why?
HiseSnippet 6062.3oc68rDabajkrsLsjZYGKo3cwhEyLKGgYGHCGozjcq9yjMinkjkiRzOqVwNF1drYSVc2LlMYGR1xpch2Q42h4xfbZNjaFXNt.AywrXtHL6o4xfEH.SBvbQY9fcyLW7k.r21sJ9o6hra1jTc2p+XoCRhEYw58qduW8dOV01pJ7.MMEUhHiua0x.hHmmLaUY8hKWjSTlXsUHhLJofJfqDwRUKyooADHhDYjqitYjwOKgwOOawk3j3j4A0ahf3lJh7f0EKIpWu0sYeCQIoU4D.6JVB6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CKyoogs2jFVliUZXIXOgRC6jezoog8TuPOMMrtRCKSPRC62wyzvdolkFVCCNMKMrF23XlFViOy2mSSCKSqRC6S+zO8abmF1O65es6zvBereq6zvZzUb2GLZ3zzvdZZXGrSC6IATVhiWU497Jx5pJFv5XFs.gRYiOu5wI2.cMEMwdnulejiSwlOFZKLP7977nXLLGjB279vbL5S7iQeRbL5yBGi9j7XzmTGi9jtk8AkCxqVA5dloazvF19ZlBVQp4UXjQH9+A.RXyx.
-
@gryphonsegg You're missing a closing curly brace on your loop so it thinks you're trying to declare a const within the loop.
-
This post is deleted! -
@gryphonsegg The curly braces define a code block, one goes at the start of the loop and one at the end. const declarations usually go towards the top of your script/namespace.
-
@d-healey I fixed it but now it says this error that I honestly dont understand
HiseSnippet 6083.3oc68rEabackbrLsjFYGK43cwhEscYE5VHCaoLjyn4QylJZIY4nD8xZTrigsqMGx6LCi4PNgjirFm3sJuJ5OE4q9Q.1OLP+bAB5mYQ+Qn8q9SQABPS.5OJ8A1Ms+3eBv92t2KeLykbFNjTyLZdXICHKdIu7ddcOmy8bN7d2RUgGnoonRDY7cpVFPD4rjYqJqWbohbhxDqtLQjQIETAbkHVrZYNMMf.QjHibczMiL9oIL94YKrHmDmLOndSDD2TQjGrlXIQ85stE6qKJIsBm.XGwRXOcB1U4UjWRQRoBDPFgLFQYN9GxU.rAG5wNEIQjybMAQcE0r5b5.MhHmdQEgpYKp7HYym+lhZh4j.nKnIxBeQlMuhhj.BhQsRrTQQIgsrQXMB3Kcq5n+Hln+EIWWTPrV60ICSZbCp58.mdD4TNAuQb.dz3fWLLvqIfTDLP5zlfzTjY4UEKqW+NH3YBxUk0Ap44fjcbPw7YIN0+AI4RJvmPVetRbODrhJ7hZ8XlTwm+JTIRFK5kd4nQeoWRiqTYIf54hBYCZ5T6xoRk0ro01l5UntigHwbE.5F.rwUyLs0SPs1zW5JmKJUy+ok8b6ouz8d4yE8bPHfWoTNkbJ6gCBKUJm4StNWYZFDbXiQn2mRoxJxvK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5lz12DmjLpIIo1diOhTTe+fFmFXrAuZh96+q+lubA7o7G9KJ+WWn11YoYaTeze+qW.WQAazu3OuPGapdOhPMt4dSGTQsYjzpuAEhSqpYxgtt.ydr0ZkodPf+OYcQ1X+pG+WVX85gH5R28+tyQzZVrJ7X5qIh06iEvjsqCoPGN80KTpO556+bfWnu4luVtTKk7FEdajWjyMWJ4ciESbm3yqrI7WW8xOdspqk1zKS3023xvaKt2R2ZyW6s1LM7uy.aqPprveGayW8Z5Bm3E5flWnGy5LmvNNdllAPDiZa4M3T.me5O0nBV9YVu3KwtiiJO15zyr7q7mVvYYga4xZ97+gEVS4QaAGPiu5QrCToWUrgVIVlst92Cuwm86Z178mM3ZIa7cryiug69VksnopUWej2Nr+amqbqnU9c9n+3B10RhkVz69w+sEpUlOVtJbwO8KVXY0p3scv2Lyewg6CP+INDokF7X.VjNMNdWGXoxsNzTlYCgBhUp588AnzHiQTHClCy5s3seUPby5uMseNBv13cjSI4NF+1EnBzh6QIAraeRBXcm.1msvyyIf8BjKBEGnVtnhD2Co1onxIogsKkFVlSRCa6mFVl9lzvRsKaPRCKzkOmogc+65JMrve9tMjF1O6mcRZXOIMrmjF1SRCa+QZXi2togcL1iozvRbwSRC6IA.6jzvdzRCKSKVe3sO3jzvdRZXOIMrC6ogkwqzvxFO9m6HNpFwj0c9DQOjKEEOanMMrLmjF1dSZXYNRogkf8XJMrS9gmjF1S7B8jzv5JMrLAIMreKOSC6EaVZXML3zrzvZbiiXZXM9LeeNMMrLsJMrO8S9ju1cZX+zq+UtSCK7w9stSCqQWwcevngSRC6IogcvNMrGGPYINdUk6yqHqqpX.qiYzBDJkM97pGmbcz0TzD6h9Z9QNNEatXnsv.w6yyihwvrPJby6CyQnOwOB8IwQnOyeD5SxiPeRcD5S5V1GTNHuZEn6YltQCaXqqYJXEolWgQFg3+Gbp80RA
-
@gryphonsegg acutally yes I do, the names of hte combo boxes reset for some reason...
-
@gryphonsegg you don't have any comboboxes with the names "CmbSampleMap1 or CmbSampleMap2, in you snippet
const var CmbSampleMap12 = [Content.getComponent("CmbSampleMap1"), Content.getComponent("CmbSampleMap2")];