There seems to be a problem...

guitarguy93's icon

So, I decided to learn Max a little bit again. There's a problem, though...

When I try to multiply the signal by the envelope, nothing happens. I don't get any output at all. I have the sustain set to the highest level possible, and the envelope is set to be the multiplier, while the signal is the object being multiplied. I don't think I'm doing anything wrong, but I still can't seem to get any signal through when using the *~ object. The only way I've been able to get a signal through is without using any sort of envelope. i.e. The note sustains forever at a velocity of 127.

vichug's icon

can't help this without your patch

guitarguy93's icon

I'm not sure how to upload the patch. My computer won't allow it for some reason.

The patch is like this:

notein
| |
mtof / 127
| |
cycle~ |
| |
*~ 0.
|
plugout~

"notein" goes to "mtof" and "/ 127". "/ 127" goes to the right inlet of "*~ 0."

I really hope you guys can get something from this. I really want to work with M4L again.

Lloyd Starr's icon

Hi Guitar Guy

In your max patch, switch to edit mode. Then Edit>Copy Compressed

This saves it to the clipboard in a compressed format

Paste into the thread.

Is your envelope (in question) just the signal multiplier?

Send it over - If i can't some one will sort it!

guitarguy93's icon

My envelope is just the signal multiplier.

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

I hope this helps.

Lloyd Starr's icon

what is your reasoning behind dividing the velocity by 127 (please don't feel this is a trick question i am wondering, it may help)

also can you outline your expectations of this patch (again this is not a trick question)

guitarguy93's icon

I was just following this video: http://www.youtube.com/watch?v=W2uUbKaZ_9E

That is where I figured to divide the velocity by 127.

According to the video I followed, it should give a simple sine wave with each note hit.

EDIT: It seems that is where I was messing up. I didn't need to divide the velocity by 127. Thanks, guys!

Lloyd Starr's icon

ha (not meant horribly) one simple little thing you have over looked - a common mistake

you have not made the / 127 a floating point (he mentions in the video at about 1min 'notice it's all floating point')

this means add a decimal point after the 127 ---- / 127.

let me know if its resolved :-)

Lloyd Starr's icon

it work?