load patcherarg into t object?

F_Dos's icon

Is it possible in some way to load patcherarg into [t 120] object? (or any other number)

Blue Wall Loop's icon

Hi F_Dos,

I believe you are asking if you can have a preloaded value load into an object. The answer is yes!

Using the [loadmess] or [loadbang] objects should achieve what you want.

In the patch below I have the [+ 10] object loaded to be a 10 when the object loads but with the [loadmess 100] object it outputs the 100 twice and udates the object to act like a [+ 100] object. You can also see that using the [t] object you can also trigger bangs from the [loadmess] object.

If you require a bang the best is [loadbang].

I feel like I should also add that you can strings and floats into your loadmess:
> [loadmess load]
> [loadmess 10.]

Hope this helps
- Blue

Max Patch
Copy patch and select New From Clipboard in Max.
TFL's icon

I think F_DOS mentioned dynamically loading arguments inside of the [trigger]/[t] object.

The answer is yes, using # notation. #1 will be replaced by the abstractions first argument, #2 by the second, etc. This is here in the doc.


F_Dos's icon

I think F_DOS mentioned dynamically loading arguments inside of the [trigger]/[t] object.

Exactly that. Many thanks