help!!

Feb 23, 2011 at 6:02pm

help!!

Hi,
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.

thanks

NJ

Attachments:
  1. NJPATCH.maxpat.zip
#55136
Feb 23, 2011 at 6:45pm

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.

#198454
Feb 23, 2011 at 9:40pm

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

cheers

NJ

#198455
Feb 23, 2011 at 10:16pm

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.

#198456
Feb 24, 2011 at 12:29am

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

#198457
Feb 24, 2011 at 8:07am

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. –
#198458
Feb 24, 2011 at 8:17am

Is this what you want?

– Pasted Max Patch, click to expand. –
#198459
Feb 24, 2011 at 12:26pm

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

#198460
Feb 24, 2011 at 2:17pm

did that help?

#198461
Feb 24, 2011 at 2:49pm

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

#198462
Feb 24, 2011 at 2:56pm

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?

#198463
Feb 24, 2011 at 3:02pm

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.

#198464
Feb 24, 2011 at 3:04pm

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

#198465
Feb 24, 2011 at 3:12pm

or this

– Pasted Max Patch, click to expand. –
#198466
Feb 24, 2011 at 4:27pm

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. –
#198467
Feb 24, 2011 at 4:28pm

Nope! typo! please excuse.

#198468
Feb 24, 2011 at 4:32pm

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.

#198469
Feb 24, 2011 at 4:39pm

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!

#198470
Feb 24, 2011 at 5:21pm

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

#198471
Feb 24, 2011 at 5:39pm

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

#198472
Feb 24, 2011 at 5:45pm

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.

#198473
Feb 24, 2011 at 5:48pm

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

#198474

You must be logged in to reply to this topic.