Delaying an action N milliseconds

Wells's icon

How can I go about delaying an action by some time? As a small example I have a note being played, and 100ms later I'd like the same note one octave down (-12) triggered. How can I fit the delay in between the -12 and makenote?

Random aside: how can I 'dump' my patches to text as are posted here on occasion?

robbert's icon

hi there,

i'm new to this list, but i think here's a question i can answer ;)

use [delay] (or [del]) (arg in ms, you can also set it through the right inlet) to delay an event. use a [trigger] (or [t]) to send your event to several objects. (you can also send your delay value in ms to [delay], it will output a bang after that time.)

to see your patches in text: file>open as text, or open your patch in your favourite text editor (drag it onto the app's icon works on osx). (i don't know whether this works with binaries as well, i always save as txt file).

hope this helps,
cheers, robbert

notyouraveragejoe's icon

Use "pipe" or "delay"
Delay only works on bangs, and only one at a time. Pipe can delay any
message, and multiple messages at once.
Add an argument after the object name as the delay time in milliseconds

On 25/12/2007, Wells Oliver wrote:
>
>
> How can I go about delaying an action by some time? As a small example I
> have a note being played, and 100ms later I'd like the same note one octave
> down (-12) triggered. How can I fit the delay in between the -12 and
> makenote?
>
> Random aside: how can I 'dump' my patches to text as are posted here on
> occasion?
> --
> Wells Oliver
> wells@submute.net
> http://www.submute.net
>

notyouraveragejoe's icon

And for your other point, it's as simple as copy-pasting the objects into
your email. They'll paste as text.
Alternatively you can save your patches as a max text file.
Hope this helps!

Joe

On 25/12/2007, Wells Oliver wrote:
>
>
> How can I go about delaying an action by some time? As a small example I
> have a note being played, and 100ms later I'd like the same note one octave
> down (-12) triggered. How can I fit the delay in between the -12 and
> makenote?
>
> Random aside: how can I 'dump' my patches to text as are posted here on
> occasion?
> --
> Wells Oliver
> wells@submute.net
> http://www.submute.net
>

alainchastenet@free.fr's icon
Gary Lee Nelson's icon

Or...

Max Patch
Copy patch and select New From Clipboard in Max.

On 12/26/07 7:11 AM, "Alain Chastenet" wrote:

Max Patch
Copy patch and select New From Clipboard in Max.

> max v2;
>

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson