many bangs generated as fast as possible

Jul 25, 2010 at 11:18am

many bangs generated as fast as possible

Hello, I need to generate (for counter object) a certain number of bangs as fast as possible.
How could I do that?? Which object should I use??

I have used metro object, but it has not been fast enough.

Thank you

#51514
Jul 25, 2010 at 11:26am

I thought uzi could be the fastest way: if you type “uzi 52″ it will generate number 51 on a connected counter (starting from 0) immediately after you give it a ‘bang’

#184712
Jul 25, 2010 at 11:31am

When I used uzi it looked like freezed for a while

#184713
Jul 25, 2010 at 11:41am

that will always happen when you send lots of data as fast as possible.

but on a 1 Ghz computer you should be able to send like 3000 bangs without
noticable effects on midi or graphics – how much are you sending?

for 100,000 bangs i suppose you want to find another solution but bangig a counter,
or use multipliers behind the counter.

or put a [defer] object behind your uzi.

-110

#184714
Jul 25, 2010 at 11:44am

Am sending from 12000 to 15000 bangs.

I need the numbers for lining the text object.

Thanks for your answers.

#184715
Jul 25, 2010 at 1:33pm

Does this do what you want?

– Pasted Max Patch, click to expand. –
#184716
Jul 25, 2010 at 1:47pm

Am afraid it does not. I have something like:

– Pasted Max Patch, click to expand. –

and I need to automate the input for line message of the text object. So the numbers will come very fast from 0 to X.

#184717
Jul 25, 2010 at 3:55pm

and numbering textlines in [text] is so timecritcial that you can not [defer] it?

#184718
Jul 25, 2010 at 4:19pm

am not sure whether I understand your question well, but I tried to put [defer] behind [uzi] and it worked only when wasnt connected to [text].
When connected to [text] it seemed to freeze.

I would like to achieve automatic scanning of loaded text file line by line as fast as possible.

#184719
Jul 25, 2010 at 5:59pm

when it still freezes when put to defer, there must be something else wrong :)

you could try [metro 2], but also with [defer] … or not fast enough?

#184720
Jul 25, 2010 at 6:15pm

So, if I’m understanding your post correctly, you want to read a text file into the text object then automatically determine how many lines of text there are, and scan through all the lines of text as quickly as possible. Is that correct? Then, does this work? I don’t have any text files with 12,000 lines in them to test, but it works just fine with shorter text files.

– Pasted Max Patch, click to expand. –
#184721
Jul 25, 2010 at 11:23pm

I have an epic sh*t ton of abstractions waiting in the wings. working on organizing them now. one is called mat.sluzi. Here’s the abstraction and the help file.

– Pasted Max Patch, click to expand. –
– Pasted Max Patch, click to expand. –
#184722
Aug 4, 2010 at 5:50am

What is wrong with the “dump” message to text? That is what I would use anyway. What you call freezing for the various solutions posted already, is what you ask for if you dump so many lines… (I bet there is some logic after your text object, which has to be calculated 12000 times as well, line after line…)

Stefan

#184724
Aug 8, 2010 at 1:18pm

Thank you all for your responses, I will see what will the best solution for me

#184725
Aug 8, 2010 at 1:18pm

will be

#184726

You must be logged in to reply to this topic.