samplemap / combobox script for 2 comboboxes
-
@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.6JVB6oSvtFuh7xJRJUf.xHjwHJyw+PtBfM4PO1YHIhbtqIHpqnlUmSGnQD4rKoHTMaQkGIa972TTSLmD.cAMQV3Kxr4UUjDPPLpUhkKJJIrsMBqQ.eoaWG8GwD8uD4FhBh0ZuNYXRiaPUuG3ziHmwI3MhCviFG7hgAdMAjhfARm0DjlhLKupXY852AAOSPtlrNPMOGjriCJlOKwYNfjbYE3SHqOeItGBVUEdQsdLap3K7RTIRFK5keknQe4WViqTYIfZTHWPSmZONUprlsr9NTuJ0cLjHlu.P2.dMtZ1YrdBp0m4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XdcLz0Flu.xBFW7+A+w5lz1we.cSZ6ahSRF0jjTauwGQJpuePiSCL1fWMQ+C9Me6WsH9T9i9kk+KKVa6rzrMpO9u8MKhqnfM5W9mVriMUuGQnF2buoCpn1LRZ02fBwoU0L4PWWfYe1ZsxTOHv+6rtHare8i+yKtQ8PDc469e24HZMKVEdL80Dw58wBXx10gTnCm95EJ0Ge8CdNvKz2ZqWOWpkSdiBuCxKx4mOk7dwhIta7ET1B9qqdkGud00Sa5kI75abE3sE2e4as0q+1akF9+YfsUHUV3uis0qcMcgS8BcPyKzSXclSXGGOSy.HhQss7FbJfyO8mZTAK+LqW7kX2wQkGac5YV9U+iK5rrvsbYMe9e+hqq7nsgCnwW8H1ApzqI1PqDqvVW+6Q23y+cMa99yFbsjM9t14w2vceqxVzT0pqOxaG1+syUtUzJ+de7eXQ6ZIwRK5c+j+5h0JyGKWEtzm8kKthZU71N7am8O6v8An+DGgzRCdL.KRmFGuqCrT4VGZJyrgPAwJU899.TZjwHJjAygY8V71uJHtY8+l1OGAXa7NxYjbGie6BTAZw83j.1cNMArtS.6yV744DvNM4RPwApUJpHw8PpcKpbZZX6Rogk4zzv19ogkouIMrT6wFjzvBc4yYZXO3ttRCK7mueCog8y+4mlF1SSC6oog8zzv1ejF13saZXGi8DJMrDW5zzvdZ.vNMMrGuzvxzh0Gd6COMMrmlF1SSC6vdZXY7JMrrwi+ENhipQLYcmOQzC4RQwyFZSCKyoogs2jFVliUZXIXOgRC6jezoog8TuPOMMrtRCKSPRC62wyzvdolkFVCCNMKMrF23XlFViOy2mSSCKSqRC6S+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+ok8b6ouz8d4yE8bPHfWoTNkbJ6gCBKUJm4StNWYZFDbXiQn2mRoxJxvKlYZGOWq.Fie7+cvTGrLILTk3JqQwopxUEG9zr6fFD1rvIzqs1KZMQM8YtjwqB8OQYIQY.U9Jx75hJxTPQdGXHBxTUjlg2FrtBbXjp.tz4h9Nl3jjBOmDknvdvAzYemSTV.r2l4q2Yz3h5i4uqwNuCr22aNNMqFl4RyIovIT6MMScj5NFC9rz2C8ldhEVjWQkZF9bThxt.f5.Iet4z.PRpnNnj1zWAiLM2aoHJOyz2Ud5KYCclOrEluDmjTN3L+Y7fxX.HTQwXAa7Fqe+Eeic1YyMxBIIweYrakqhtN7B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9YVu3KwtiiJO15zyr7q7mVvYYga4xZ97+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")];
-
@ulrik this is your combobox components
const var CmbSampleMap12 = [Content.getComponent("ComboBox1"), Content.getComponent("ComboBox2")];