choosing [adc~] input with one [adc~]…
this is just a quick question to ask if anyone does know.
how do you choose different inputs off of one [adc~].
basically i want to have the choice of switching inputs on a patch with audio feeding in and just having one [adc~]. i have a [tab] which i have connected to some messages that i want to use to change the input when i want to. i have tried different ways but can not seem to come up with the goods.
yes, i have looked on the help patch, there is nothing.
also i have looked in the archives, but there is nothing i can find on it.
hope someone can help, cheers…
so if anyone, is going to be really sarcastic, or have a go at me because their head is bigger in this field, dont bother. all i have seemed to have gotten on the forum recently is grief from people when i ask a question or answer one. i am here to ask questions, not have abuse or insults thrown at me for no reason.
Would something like this work?
----------begin_max5_patcher---------- 436.3ocuT1yaCBCDFdF9UX4YZD17Y5VG6bGqhpHfahq.CBLpoMJ42dwGlFRU SjSDhg323yG9dtWLdusEdc4NVCF8H5Ujk0daKKHjJfkdtEtHYWZdRCjFtsfI ZwN8q7doP1v+loVgPW3pCW1JyYR4WUr9cFyERrCBC+PqzYwkrBcowuvxYoPN IB03yhpVXpS2.QqTs5oUesFn0PsFo03eKkhSQRAfC9oZdR9PGHZK3hNXAPH5 fUIxzsbwl2pUPADFurq6PQApQBADp6B2SMSFr2kq+3AuQ6cuS.atmNpxVzsM ZkJzAaa0figu.DrO6pxPMjrc.g3FvAKqOhhu02NM7MhNG4VcqkW1snzk8FUH Hznq4Wz+2uHSm2jjkdDQPTjGxGEfBQQ2sI4LI+aBOXR8oiOYdUml7+Nc7HmF dLbNW72aEfRqhet82T1VmN3Q5S+nSEOi0H4hDIuTLJG5Y4rkmkwfkGL+BdVU Y2cFZDVFun6Sbhaeu4cZ1E99wTTIp6JL.0XyQcBHJz.hhlUhBLfnvYkHeCHJ XVIxy.h7mUhnFPj2rRDw.hnyJQlbQE4NIpaxA6e.HF9HJC -----------end_max5_patcher-----------
that is close, but is more so just one outputting [adc~]. rather than having 1-8 on the [adc~], if you get me.
i did do something like that before (but using [tab] instead), but would prefer just one single outputted [adc~]
if i dont get it in the end, its no big lose. i will just go back to the other idea.
i am trying to remember one patch done years ago that had what i am on about, but that was a year or more ago and cant remember where it has gotten to.
but thank you for your reply anyhow…
not sure I quite understand what you are trying to do, but maybe [adstatus input] does what you are looking for?
well what i have tried before is this:-
----------begin_max5_patcher---------- 335.3ocoS1sSCBCEG+5xSQSiWhKPALSuymCyho.GYmEncgVhSWlO6RKk8gNy lranb9pmy+esca.gkq1.ZF8I5KTBYa.g3bYcP71DViXSQsP6RiI6ZxgVV39P XSWiMxbuq9DTclZv3xm68tVXJVhxpWagByP+R3oyhBowON2tjE4LdXVDcguF rz0QU9p6yFa3aJoQJZ.WjmaQQ8XjglZ9XMLr8LTZXgTVtPVw1um1503mtbr8 0KCTNJi3Cx.kipH15aWPf8S30BJ389Ieb5LvFmrYhxhuXSDU7TtcIgOK6uQU xDPkFqj1v6+6B75lgSCn0hJ3WzQCF5cwmmOwWlO7ni3S544CeB74ewC9Q7vU GqFk+7QlSDV+mBIspqsXrq9K9zCxnDzFTJLnRdTN7SxYIVVBtvGtcWtV0+Zv OBzEm8.6ZmH9ULQI2vD0arK3afJtPzA -----------end_max5_patcher-----------
but that does not work at all (but more so the idea for what i would like). that is what i am trying to do. is have a message to then set the [adc~] to a certain input.
what i am working on is an six channel audio manipulator, and this is the sort of thing i would like.
from the helpfile:
set logical-output-channel [int]logical-input-channel [int]
The word set, followed by two numbers, sets the logical input channel for one of the object’s signal outlets. The first number specifies the outlet number, where 1 is the leftmost outlet. The second number specifies the logical input channel (from 1 to 512). If the second number is 0, the outlet sends out the zero signal.
I have never tried this myself but looks like you need two arguments, not just one.
came up with this, it works. all fine and dandy.
----------begin_max5_patcher---------- 617.3oc0WtsbiBBF.9ZySAiW6lQ.wC6c84nSmcrJMRmHjIfsY2Nce1WEO0ta RESCtMWDibR93K7i+4kUNt2KNPktfuCtE337xJGGcUMU3zU1wsL8P11Totat b5yh6ez0qsIE8fRW8dQkhBf.D.CB.DPHHBD22KdUYcyaoJ8iHoq1coprBFey O1SyTsHfhwq88.vvjluv9QskV6CtqaPrb8zUiv2fj9m+CBthmVR0McydV519 VZmV0O2Qam.WWuI9LLSMOTI6W5AFWywvRgw6WIvl5dc0plKdF5uRpTltg9OB TRU.ePzwUF7zJKHQ6JXBTqLhtPvILF7bL1bLB5haj3YaDRmDLxHnqOiPl+dD TjwFI95SHAyVH3VSXjPRt9DR372gDhMOlw+5yHn4uEAZ94pQWeBANagz+tYS DR3WQgTUR4UGeYi6kTMNcYCMPyGnhf1iU88+nzTvmgKXbkoIjvTzxNjcyJDB IsYTL9tJ8ivq4hfSGtW8rX79h8zwVdPTser.6owVjrCi2SehxGJQYaJTiHZ4 rivyOJlXdt.eISE3Doamlm86yOFFgBdiNNU50mgNjrM75lO2bn0iycKi+2+k D8Roo92aJY8N1r94tOcNv3pImJULdphI3usSuqOEr7bpt4d7JY46D0QfcLPB BVSpcFT6LTBZnD3ti9CpwvBs.r9wVBV+KOrAQH6.arEXEGZGVSr.q0uPxJrZ gnKbnkhthr.qHKEbEd4Y8yFtSL.ovkGI3DHEs7Hgl.IzxiDdBjRVdjBl.o3k GIxTQb9KOSgSwz+giAhlhokcGN1jCKIeBjpK75p+.rV4zrO -----------end_max5_patcher-----------
thanks for the help man, much appreciated…
I can’t test this right now, but according to the documentation your messages should read "1 1", "1 2", etc.
The first number specifies the outlet number, where 1 is the leftmost outlet.
glad this helped.
You don’t need the [route] and individual messages. Try using [prepend] or the $1 variable in a message. Also note that the leftmost outlet is number 1 rather than 0.
----------begin_max5_patcher---------- 364.3ocqSEraCBCC8L7UDkyrInfXc619NlPSTvs3IvAQBsrU08suj.TVqTWQ c8.V19kX+3Ym8tN7UhNPxYuvdi43r20wwlxjvYH1gWk1kUlJsGiSvNwpO3d8 PJnSYSmlm8MKXL8ZAonzJvB8ZClVNhPsUHUBJawBFRVmpxJPZy6MPlpmLwgO 56wd12XidxXWn8YISkQzpNuNl1JwursMXg9R8owbKOzz9gf3Qhzec0m0PeC4 RbCo4IKwfev00X7lonzVAT60+4QETMH17rBgPBbOFGo5VkwwyXDDbzWsSL4W z.SHqEsMSA31IDI1M4CaA5XDfaJzpaxMMIhhM1.e+qLJBm+nH5hiBjr5g86X eL3Ch2MMitvhacCTCTNSBp6+9a7RicYz8a+M7hh1oat1NwKQ57W2VtZxepTI 0KTYikZrSrIBmCRERoJTP+9PwmbnBLOGr3iTuByqE5w4eO3lMmhlCmB+GbRG bv8GE1FKOC -----------end_max5_patcher-----------
thats great man. less code and all that
i will use that idea as it is less cumbersome.
much thanks to you both. i totally forgot about [prepend], because that is great object to do these type of message sending.
again, thanks to you both…