Author |
Message |
keldhansen123
Joined: Nov 26, 2004 Posts: 8 Location: Denmark
|
Posted: Fri Nov 26, 2004 2:54 am Post subject:
I have a simple question about MaxMsp. |
 |
|
Hi ...
Can some one help me with maxmasp in here? I hope so
Keld Hansen |
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18251 Location: Durham, NC
Audio files: 226
G2 patch files: 60
|
Posted: Fri Nov 26, 2004 11:15 am Post subject:
|
 |
|
keldhansen123, glad to have you here.
I don't use MAX/MSP myself, but there are a few people here that do. Hopefully someone will chime in. _________________ --Howard
my music and other stuff |
|
Back to top
|
|
 |
play

Joined: Feb 08, 2004 Posts: 489 Location: behind the mustard
Audio files: 2
|
Posted: Fri Nov 26, 2004 7:15 pm Post subject:
|
 |
|
Hey. Haven't been very active on the board lately ("bad moderator, sit!") but, well, here I am. What seems to be the problem? |
|
Back to top
|
|
 |
keldhansen123
Joined: Nov 26, 2004 Posts: 8 Location: Denmark
|
Posted: Sat Nov 27, 2004 2:29 am Post subject:
|
 |
|
Hi ... Thank you for helping ...
I just need some one to explain this patch Is should be a pretty simple patch. But i dont get the math in it.
Here are my questions for the patch:
*What does the "signal multiply operator" ?
*Why do they use 127 in this patch?
*And why du'o they divide by 127?
*Do they divide by 127 because MaxMsp only can handle 1 and 0 ?
I hope you understand my questions
Keld |
|
Back to top
|
|
 |
keldhansen123
Joined: Nov 26, 2004 Posts: 8 Location: Denmark
|
|
Back to top
|
|
 |
diskonext

Joined: Aug 26, 2004 Posts: 306 Location: London, UK
|
Posted: Sat Nov 27, 2004 11:45 am Post subject:
|
 |
|
Well,
Max can represent any number, but when working with signals the 0..1 range is most commonly used.
The real reason the / 127's are there is because the hslider-object (the horizontal slider) has a minimum increment of 1 and defaults to 0..127 (which conveniently resembles the normal MIDI values), which needs to be mapped back to the 0..1 range.
Max/MSP comes with excellent documentation, if you downloaded the demo without the documentation check out: http://www.cycling74.com/products/dldoc.html
The tutorials are really helpful and to the point, as well.
-diskonext _________________ :wq |
|
Back to top
|
|
 |
play

Joined: Feb 08, 2004 Posts: 489 Location: behind the mustard
Audio files: 2
|
Posted: Sat Nov 27, 2004 5:01 pm Post subject:
|
 |
|
I agree, grab the manuals. A lot of the stuff in there is helpful in a general way. For instance, I didn't really get FFT/convolution stuff until I read the explanation in the MSP manual. Very helpful and straight forward. |
|
Back to top
|
|
 |
keldhansen123
Joined: Nov 26, 2004 Posts: 8 Location: Denmark
|
Posted: Sun Nov 28, 2004 4:35 am Post subject:
|
 |
|
Thanks a lot ... this really help
But i have a last question ... what about the "expr 127-$1" ... I dont get that ...
Keld |
|
Back to top
|
|
 |
play

Joined: Feb 08, 2004 Posts: 489 Location: behind the mustard
Audio files: 2
|
Posted: Sun Nov 28, 2004 11:58 am Post subject:
|
 |
|
'expr' is used to evaluate mathematical expressions and whenever you see a '$' symbol in max it means a variable. The number after the '$' is the number of the inlet counted from left to right so 'expr 127 - $1' can be read as 127 minus whatever is coming into the first inlet. This is to make the values inverted as compared to the values of the left-hand operations to make the panning work. If one of the values being multiplied by an audio signal was not inverted then this patch would just be a very complicated volume control. |
|
Back to top
|
|
 |
keldhansen123
Joined: Nov 26, 2004 Posts: 8 Location: Denmark
|
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18251 Location: Durham, NC
Audio files: 226
G2 patch files: 60
|
Posted: Mon Nov 29, 2004 8:24 am Post subject:
|
 |
|
I'm not running MAX so I can't help with the problem, but would it help if I enabled another type of file extension for MAX patches? _________________ --Howard
my music and other stuff |
|
Back to top
|
|
 |
diskonext

Joined: Aug 26, 2004 Posts: 306 Location: London, UK
|
Posted: Mon Nov 29, 2004 6:11 pm Post subject:
|
 |
|
Most common MAX filetypes:
.mxb
.mxt
.pat
-diskonext _________________ :wq |
|
Back to top
|
|
 |
diskonext

Joined: Aug 26, 2004 Posts: 306 Location: London, UK
|
Posted: Mon Nov 29, 2004 6:13 pm Post subject:
|
 |
|
The patch seems to work fine.
Check to see if outputs 1, 2, 3, 4 (see dac~) are correctly routed to their respective channels, maybe?
There are both logical channels (which you use with dac~ and adc~ objects), and physical channels. The mapping between them is in Options->DSP Status->I/O Mappings.
-diskonext _________________ :wq |
|
Back to top
|
|
 |
mosc
Site Admin

Joined: Jan 31, 2003 Posts: 18251 Location: Durham, NC
Audio files: 226
G2 patch files: 60
|
Posted: Mon Nov 29, 2004 8:35 pm Post subject:
|
 |
|
diskonext wrote: | Most common MAX filetypes:
.mxb
.mxt
.pat |
Thanks, I've enabled these filetypes... . _________________ --Howard
my music and other stuff |
|
Back to top
|
|
 |
play

Joined: Feb 08, 2004 Posts: 489 Location: behind the mustard
Audio files: 2
|
Posted: Thu Dec 02, 2004 8:18 pm Post subject:
|
 |
|
thanks mosc.
Patch looks fine to me. I have a SBextigy running on this laptop and Max doesn't seem to want to recognize the rear channels. Perhaps this is a problem with creative cards in general. I know that ableton live has problems with this as well. The NI software seems to handle SB's pretty wel though. I would suggest going out and buying a M-Audio audiophile 24/96 card for $100. Problem solved. |
|
Back to top
|
|
 |
|