Arp stops for no reason
-
I made a simple sequencer with the arpeggiator, but now I'm struggling to get the wanted behavior.
There is a play button and I would like it to start sequencing, when its activated (from a specific note) and stop, when its deactivated.(Same Sampler plays Midis, thats why I would like to bypass it.)
inline function onPlayControl(component, value) { if(value) { Arp.setAttribute("Bypassed", false); Synth.playNote(20, 100); } else { Engine.allNotesOff(); Arp.setAttribute("Bypassed", true); } };
This is the code, for some reason the arp does only play the first note once, if it has been bypassed before.
Do I need to delay the node?
-
@VorosMusic if I understood correctly what you want, you need to activate the 'hold' button of the arp, so it will play continuously.
-
@Matt_SF
Yea, thats what I thought too, but that didn't do it. Still not playing continuously. -
Still having the issue of my Arp not playing continuously...
Any other ideas, where this problem might come from?I could post a example snipped tomorrow if that would help.
Thanks for any tipps! -
@VorosMusic It's working here, do you have a snippet with your code so we could have a look?
-
@ulrik
Thats a quick recreation of my basic setup.HiseSnippet 1719.3oc4Y8tSabDD+NLKI1jP.ZjZ+RkNg5GbTScrSHjVUUEiMlTJPvhihhT9Pz5yqsWw4cut2dTbqhTej5iPdjxaP6r6cm8clC3vgjV0ZIPLytyr+lYmc9iosf6P784BCyhGMxiXXdGj8HlbPyAXJyXmsLLWBsO1WRDVgrZLxC66S5ZXZV3EJFlEm2P+48OuA1EybHSXYXbLm5P1iNjJmvsc8cottai6RNhNLwtWu9NNbVStKO.vSATUCOryI39jWhUaaNjg4Bs5RkbgsDKI9Fly2f2cj8.9uxB2+wTeZGWhhnlgMnnP1ayc6pPr5uMZNf51scrc6aXXhZOwKTHzKbez9ztzw7m3MVVuf0DIR5OLmKM7JjBd0tH3kAjLS.o4CgzJHaGA0SNYEEdVDsCCtb5gA2dRnDtWi4dbATSNrClrxP7IjsE.wXIJuQ0pOzB90C99Rk.Wuuz5TrvRYg9V+fkNPnRehT6KbwiHhxqoWbMPfI6eSg241cLHKuFrpZ6kdzi1gYMbjUqyvC8bIVxADAwBC+3SNkHvt5y0ZapKw2xCNMbG8tD7f9Cr5DHkvAVhxboLhUu.lijx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uA+Ls3PIunWPiYmOCIADtK5.GI9TxgXVexDwyqETDYO.Jo4RlsHpEQguoOhRtHnG0O3poN61prCJEbevELjdDz6XhEFqo+B9zU0Uq4qQardkONetFX8Xnm.GnUsbg0deciMqT461cqJUdRP6aF5bi0UQ6QX8kCxGROQcRG+SvI8Jd6aF5b9DXETT6G1DWnOT9U8TNSk74nCBjdAxa.UsBZ+1sfb6hXkMQIykakbOkRZw5dNUrbtGx6Gg5XS+j78O+S2.RExWW9Ww2+UwXLZSU8V0hcJ7.B3nv3pvTn8vAtxXtoaveeNi6MfynNoagEZIseehHI1yzf1TJS0Ax8qeHDVf8S3O+p56QYDrHcm4WKew0+6BLy6qu.EBWK0TIV+2Xv1B+uev1Ky0sTzXsV5bM+K+d9NH8fXVp4l+mBpGxCjv7vwyjpaCEFVGZcJw3qpTzQzUi6Bxlv5VMtrWzh0hKJnVrV7hFNwpBrsn+V+cpYVfDO4h4btvTztICo8g9mTPBlG8SBJGhcD723DVEQg0aq4.njo+msTDsuh1p135NnpUpZLDF84MNNpGBeC3gyVlGOCx7jYPl0mAYd5LHyFyfLOaFj4auTYTSctYfjOLLIIvncqv.KywiDaVv3uARH320
-
// There is a conflict between the "setBypassed" and NoteOn // Here I've set a delayed noteon and then the arp starts // Why do you need to set the Arp bypassed? //. Could you do it in another way? Synth.addNoteOn(1, 11, 100, 1000);
HiseSnippet 1828.3ocyYstaaaCEVxIrs1sM8xJv1eF.QvvlKVmqcutggg3bwoMKMMFQYcEn+nfVh1lHxjZRTowan.6QZuAqOR8MX6bnjskbbxTcS6pARP3g7b324BOWbZGpb4QQpPK6x6OLfaYeIhyPot+58YBo0VaXYuDYGVjlGRSHs1v.VTD2yx1dgGgDrKunk4yaWYMlOS5xmPxx5YJgK+IhAB8Dpsatsv2eSlGeewfLm9dM2xUIWW4qhA7r.otU.y8.VO9SY3wJQrrOWKOgVE5nYZdjk8hqo7F5zW8JYx4elHRzwmiKZX4.BJg7lJeODwHUq06K78ZORuirrrIsmX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dZ7.veKkPIBH6msMljHhi9Wg6NLcn3nrm1bK02mY7wPSml0MlZ8clZ8cmZ88lZ88mZ8ClZ8CmrNwftCK.iLvldmJ884KV5aP.sYfJm4jqI5MV3ITx1Y7XyrAJY5pdF8mdtO8ZYtTFHc9QyxLoyUCTNugPTNDrdbXHVlKsavbAdIaYBSyFi9DkJnkDsRd4hogKBaMvIfmeC6EJrR13zynfv2zg7IjbCZwg2qm.SAaTXBRIWF2yNrLoT+mUfx0KQRPQJo4pj+kI6wwF3dWEgiuvCh.PQbEBjLvQyCRoMkPp2rHB4hDTBFrLen3pFA3bf3DfwaWoHlCPJpP817gQuOVDPYv30skpNSKfu93ViqlJ.nOmNp0TGYDATUK80yXxEWgx.kKS10UyNjuGS1iOeZSYhSen5kOe9hvtHI4c89B9ooBos1c8b2eaLKAJja.liAh8g1.yrQpzHXwGKOrAU6WPdv8p8g4iUww5yfV.bgNvNNVGq4+cN718aWa0Z09gs2nVs6F29rYcgw60IOgK6o6Wbzd.daO6mga64p1mMqsJ1yhqQR65vg6CsbpJxy7YJnOmrarNHVeFItqQ1ocKGbZ7TAdr2JE7c+UPA0R5cBh4TRllaXnGCMgLCc4S+Yfx80zUdDFcDXKVsjGBOr.JHFuNLnYWVrudD0784uiRpB5qjB27cxBcl1qGOLK1moBspVmqCkazbOHDgEkwd9UMehPxYg4aP+cxVz3c9qrbl9qufj.WJNbB88wusXw7am9296YxbrKTn4XOyw67OS6GUS2RoS2RM4b9D2OeIhYdLJN97+WPcOUrFFKdznolVVgY1g1qxLEaIrilj00G0WgCW5YV7OvmzMaLZjWbyFi1zxcjn.cK8uMesY1KvGMYicIeXXZ+rgzQPuUHjfwR+nfxAL2P0KcSphfX8BFJ.Jkl+mPkI6fqoMF2eEods5VCfwjdoqK9P36.K7r44NyAO2cN34dyAO2eN34AyAOObN346OUdvITWMVqFjjjDHztURfk83QlsWv5eAUtSpGA
-
@ulrik
Thank you!
Well i have some preprogramed drum beats and added a fake sequencer so the user can create his own.I could use 2 samplers with the same sample map, that would be a solution to not bypassing it.
I just wanted to minimize the amount of samplers I use in the project.
-
@VorosMusic Ok, so when the "Midis" is active, the "Arp" is bypassed?
If so you could add a Arp.setBypassed(true) in the Midis Callback? -
@ulrik
Yeah, your're would be an option, for now I solved it with a second Sampler.
I don't really know if that chances something on the performance side, but it works for now. -
@VorosMusic Two samplers is 100% not a problem
-
@d-healey
I have about 5 - 7 other samplers, thats why I was a bit concerned. -
@VorosMusic Limit the voices on each sampler to only what you need
-
@d-healey
Oh thanks, didn't even think about that! -
-