Forums > MaxMSP


Feb 23 2011 | 6:02 pm

I’ve a problem with my patch. I don’t understand why the sound of the notes are fixed when I play.
Anyone can help me?
To let it works you have to select canoncancrizans in both instruments at the top.



Feb 23 2011 | 6:45 pm

step 1)
copy patch.

step 2)
start deleting everything other than the part you are concerned with.

step 3)
Once you have the smallest bit of code that still functions but not correct, test points along the way with message or print to make sure they are they are sending the messages you expect.

step 4)
when you’re convinced that something is weird or you just cant figure it out, repost it.

I’m getting these errors in my max window when I play the top keyboard:
pink~: doesn’t understand "float"
noise~: doesn’t understand "float"

patch looks cool,
Good luck and god speed.

Feb 23 2011 | 9:40 pm

yes thanks you’re right, I tried again but I really don’t know what to do
even if I delete some stuff. I don’t find the problem!
I will try again



Feb 23 2011 | 10:16 pm

Well what I was trying to say is that I have no clue what to do to even get the results you’re saying are incorrect. Your patch has three keyboards, a lots of sliders and a ton of other things and the labels are in a different language.

The keyboard I hear making noise seems to be functioning correctly. Can you provide some instructions so I can check out whats going on?

I would suggest making extensive use of pvar,send, receive, and presentation mode. Your current patching practice is probably leading to some confusion in terms of what messages are happening first. Max runs left to right and up to down. So when you patch up, things get confusing.

Feb 24 2011 | 12:29 am

Yes I’m sorry

1) click on both canoncancrizans and choose one on the list
2) put both the gains up
3) choose the waves (they are called onda 1, onda 2 etc)
4) put the sliders up
5) press F to play the number one and SPACE to play the second one

then you will see that the notes are fixed and i dont understand how!

what u see under is just to let it works with iphone.
I choosed 2 buttons to let the iphone play the F and the SPACE

Feb 24 2011 | 8:07 am

first of all, it sounds cool!
second of all, what do you mean by fixed? both the F button and the space button change the pitches I hear…

I think I know what the problem might be.

this should help you troubleshoot your patch. all I did was delete the iphone stuff and organize it. As far as I can tell the patching and logic is all the same but you can see problems easier because it’s simpler.

-- Pasted Max Patch, click to expand. --

Feb 24 2011 | 8:17 am

Is this what you want?

-- Pasted Max Patch, click to expand. --

Feb 24 2011 | 12:26 pm

the problem is that the notes are long and they never stop
i would love that they stop after i push F or SPACE

Feb 24 2011 | 2:17 pm

did that help?

Feb 24 2011 | 2:49 pm

No because the problem is still the same.
when i play a note pressing F or SPACE i want it stops
and it doesnt.
There’s something wrong with the note off signal

Feb 24 2011 | 2:56 pm

ok where in your patch do you think a note off signal *should* be being sent? The only thing I see that could send a note off signal is the flush message which is only triggered via the iphone stuff.

perhaps you want to use makenote?

Feb 24 2011 | 3:02 pm

wait… makenote doesn’t work.
I don’t have time right now but I bet if you look up monophonic legato, you’ll find what you’re looking for.

Feb 24 2011 | 3:04 pm

you might look up the lreg object from lobjects. I believe that might help

Feb 24 2011 | 3:12 pm

or this

-- Pasted Max Patch, click to expand. --

Feb 24 2011 | 4:27 pm

Just to be clear, AudioMatt, "Max runs left to right, up to down"?
Max processes objects right to left, which is why, in this lil patch, you get a different result in the final integer object depending on whether the red object is to the right or to the left of the yellow object.

If you meant something else, I’m eager to learn!

— Pasted Max Patch, click to expand. —
Feb 24 2011 | 4:28 pm

Nope! typo! please excuse.

Feb 24 2011 | 4:32 pm

the point is that there’s a way to lay out a patch (more specifically, there is a way to patch) that doesn’t result in spaghetti which chords running over objects and procedures that you zig zag across the screen. It actually feels pretty formal in my mind and if I knew enough of the C API I think I could write a fairly comprehensive clean up algorithm for it.

Feb 24 2011 | 4:39 pm

oh thanks the last one is fine, that’s what i was talking about!
now I have a look and I let you know soon!

Feb 24 2011 | 5:21 pm

OK! like this is working and the notes stop as I wanted.
I took all the iphone elements to let them work with the instruments and the buttons work fine.
now I’ve just the last problem : I tried to put the filtergraph into the instruments
but I feel a noise and I don’t know how to stop it!
after this the patch is fine.

thank you very much

Feb 24 2011 | 5:39 pm

I hear no noise. make sure your adsr isn’t set to 0 ms attack or 0 ms release.

Feb 24 2011 | 5:45 pm

ok I restarted max and now is working!
I’m trying to put also accelerometer with a vibrato/tremolo, looks cool.
do you have iphone and touchOSC?
if it works i send you the patch.

Feb 24 2011 | 5:48 pm

sure! matt …at… estatesound…. • … com

Viewing 22 posts - 1 through 22 (of 22 total)

Forums > MaxMSP