Is [select] too slow ?
I have something counting (it’s not a [counter] object, as it does fit what I’m doing) from 0 to 2000 quite rapidly (something between 2 and 4 seconds), and I want to have a bang each time the counting hits 1000 and 2000.
If I try to use a [select 1000 2000], it seems like the counting is going to fast for it. If I scale the counting between 0 and 200 it [select] reacts ok, but the value is not precise enough for what I’m trying to do. I need to use a larger scale like 0 to 2000.
What should I do ?
- This topic was modified 1 year by Crampe.
You should make a small simple concise example and post it.
you need to set overdrive on . Menu>Options>Overdrive !
if it doesnt work then make sure that there are no issues with whats is causing counter to count ,or post a patch
What about [> 1000] -> [change] -> [sel 1]?
There’s no compelling reason why [select] should be
too slow" for anything. It’s more likely (or at least just as likely) that there is some problem caused whatever’s doing the counting. All you tell us is that it isn’t [counter], but you don’t tell us what it is. The latter would be a lot more helpful.
I will join in the chorus: give us a small patch demonstrating the problem.
(And, if you haven’t already, please check the instructions on using Copy Compressed… from the Edit menu for posting.)
And lest there be any doubt about the speed of the select object (or about whether the problem is in the select object or in your own counting method), try this test:
----------begin_max5_patcher---------- 976.3oc2ZtsaaBCFG+5jmBKtNMxmvX1c64XpZhPbZcGAh.mttV028gsgkzCA bZMNaKUJHaf3u++72IP8o4yhVU8fnIB7Ev2.yl8z7YyLSomXV23YQaydHuHq wbYQkheVs5tnE1SoDOnLSmmsSsuVzO+tZQinTkojUkeuVjqrKAJktDt.fwL8 AX2Wfq6uqLU9sxxaN5N3lKhfv5CwHyce7sHWaV9VS5JZb+puopTUlsUXN0Wq kYE8mob+VYYgPYzB5vjU6U8yh6l0Nk5W6DVKIJZAHRV1ZWWezxzHezbdsApm 844y0esHDzDGmZ3Ak6JMQTp63j9uGN2JZZxtQ7VdVHxpiNMWnDCP3FPRRzei 3m.KjyDK32EKnShkKf60aABA5tiBI8+l3tqZCfFmJ3tjR3kwCPE5z5mronJK HLQA1.13.TrYgFAJjo0UwBkEAjN461mWTk+CG.D1bHNYvXIrW.zeAdMxshgx 31UIBiLcBvICAEbrWBkF2qIDfYEfLjuhIeqMThxFDJ9IThbJnrJq7FMSdwwf jtQBVo+KZrlBQoXqKzfUmvPuvI5o3jtxzhKGtZDEsXoU8.JDvfsnAjFCRYfz DPJGjlBPP33njX80PwCgRzYmb5DYmPmkS2m3XH1AjiSWlsz3vvEMs8KDnNnT iSCaOkCSC9z2RYHnw9Gk53O.ZzT91G8fMbyAdwCw4L991iY0dkppbTRXaSBC GLotO5EpKE8QJwrTQExxW+JQLFqd9WJulp8048+b8EkA3+XwqEMJYo4w1O5h z83ANHqakqWKLmG1MyV45cUszuyHZydz1RcBw9.Yj9AGVEYS1pBggNu+9hWM ec2XeTyGEOol+KLrSX8jQrdOSywrm.aNnQLGJ471biMYw4lNvnTjdyUOXB1b oNQyzyy76LYBL1bvFbYFcoTf9st8wUPW70kUAweFEvSmRAneXfOu.7n8D6CW B+YODpOBx779Ewy0SwbiCGFkbTPuYzD3woaqe7hRvvRTmJwiBm8f9rsb3wH. WZhfDtp1DmJ6QC19EwktHHgKiExk8qWEDNZFBaQHDCcnhjYvTje.6.OOW6GA SWBSa+vCoJv9VEX9RlVEIgTEDeqBJeIA19gDRUP8sJXIK458BZHUQruUAOIr A1LOK.LLYIR6LwBoJR7sJvrKPfM22pfxt.A1o9VEr3vFXycodMNX8Ovcs7K5 bJ+ZeXbpEjGMZB3oKuxN9GDm12GZ1tc2Kpa59IMFRz1r6pp0CYKLCkk1glW1 ZTs3dY+0mXlIqN+VoRja92NQ+VbefyhlqWmmm+a.X2OrlB -----------end_max5_patcher-----------
maybe its just the button object what doesnt flash and in fact the bang is produced? :)
thanks everyone for your help. I’ll try to post an example before the end of the week-end, I don’t have really have time right now. (No Roman Thilenius, that’s not what is happening :-) )
Forums > MaxMSP