Making a melody go up and down …

Sep 3, 2010 at 6:58am

Making a melody go up and down …

Hi,

Why doesn’t my patch work? I want to make a note go one or two steps up or down, depending on what you select in the ubu menu. I use [int] to store the last note number, and a tone is added, but somehow I cannot make the melody go down again … what did I do wrong?

– Pasted Max Patch, click to expand. –
#52139
Sep 3, 2010 at 7:20am

… and then I try another thing that works better, but not quite:

– Pasted Max Patch, click to expand. –
#187372
Sep 3, 2010 at 7:43am

your last one just needed one small further tweak, if i’m understanding your desire correctly:

– Pasted Max Patch, click to expand. –
#187373
Sep 3, 2010 at 7:51am

on second thought, i’m pretty sure i have no idea what you’re going for since your first patch works fine for me(just tried it only now after modding your second one).

#187374
Sep 3, 2010 at 7:53am

Hmm, no the little tweak didn’t fix it.

Let me make a better patch.

I want the tone to keep going 1 up if i type 1,
stay on the same tone, if I type 0.
and I want the tone to keep going 1 down if i type -1
and so on with -2 and 2, 3 and -3 …

– Pasted Max Patch, click to expand. –
#187375
Sep 3, 2010 at 8:04am

Hmm, I kinda solved it, however, this is a bit of a clumpsy solution … anyone who has an idea how to make this simpler?

– Pasted Max Patch, click to expand. –
#187376
Sep 3, 2010 at 8:32am
– Pasted Max Patch, click to expand. –
#187377
Sep 3, 2010 at 10:09am

I haven’t looked at the patch yet either (I will), but this sounds like the relational keyboard of the Samchillian

http://www.samchillian.com/nimefinal.pdf

When I have Max in front of me I’ll get back to you

Brendan

#187378
Sep 3, 2010 at 1:19pm

“I want the tone to keep going 1 up if i type 1,
stay on the same tone, if I type 0.
and I want the tone to keep going 1 down if i type -1
and so on with -2 and 2, 3 and -3 …”

strange, this is exactly what i thought you wanted and your first patch works exactly like that for me(along with my tweak of your 2nd), no problems on my computer. but in any case, chris muir’s post is a nicely efficient way of doing what you want, i’d use that.

#187379

You must be logged in to reply to this topic.