electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
today> Various Artists September equinox Concert
poster
 Forum index » Instruments and Equipment » MAX/MSP - Pd
I have a simple question about MaxMsp.
Post new topic   Reply to topic Moderators: jksuperstar
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
keldhansen123



Joined: Nov 26, 2004
Posts: 8
Location: Denmark

PostPosted: Fri Nov 26, 2004 2:54 am    Post subject: I have a simple question about MaxMsp. Reply with quote  Mark this post and the followings unread

Hi ...

Can some one help me with maxmasp in here? I hope so

Keld Hansen
Back to top
View user's profile Send private message
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 18251
Location: Durham, NC
Audio files: 226
G2 patch files: 60

PostPosted: Fri Nov 26, 2004 11:15 am    Post subject: Reply with quote  Mark this post and the followings unread

welcome 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
View user's profile Send private message Visit poster's website AIM Address
play



Joined: Feb 08, 2004
Posts: 489
Location: behind the mustard
Audio files: 2

PostPosted: Fri Nov 26, 2004 7:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
keldhansen123



Joined: Nov 26, 2004
Posts: 8
Location: Denmark

PostPosted: Sat Nov 27, 2004 2:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi ... Thank you for helping ...

I just need some one to explain this patch Smile 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 Wink

Keld
Back to top
View user's profile Send private message
keldhansen123



Joined: Nov 26, 2004
Posts: 8
Location: Denmark

PostPosted: Sat Nov 27, 2004 2:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Here is the patch ...


patch1.zip
 Description:
No comment

Download (listen)
 Filename:  patch1.zip
 Filesize:  708 Bytes
 Downloaded:  422 Time(s)

Back to top
View user's profile Send private message
diskonext



Joined: Aug 26, 2004
Posts: 306
Location: London, UK

PostPosted: Sat Nov 27, 2004 11:45 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
play



Joined: Feb 08, 2004
Posts: 489
Location: behind the mustard
Audio files: 2

PostPosted: Sat Nov 27, 2004 5:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
keldhansen123



Joined: Nov 26, 2004
Posts: 8
Location: Denmark

PostPosted: Sun Nov 28, 2004 4:35 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks a lot ... this really help Smile

But i have a last question ... what about the "expr 127-$1" ... I dont get that ...

Keld
Back to top
View user's profile Send private message
play



Joined: Feb 08, 2004
Posts: 489
Location: behind the mustard
Audio files: 2

PostPosted: Sun Nov 28, 2004 11:58 am    Post subject: Reply with quote  Mark this post and the followings unread

'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
View user's profile Send private message Send e-mail Visit poster's website
keldhansen123



Joined: Nov 26, 2004
Posts: 8
Location: Denmark

PostPosted: Mon Nov 29, 2004 6:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi ... Thanks a lot Smile

Now I have another problem Smile

I have attached the patch.

I dont think that it is the patch which is the problem, but i think it's a problem with our soundcard settings in MaxMsp. The soundcard is a Soundblaster Live Value (4 channels).

The problem is that the patch links the front and rear speakers rather than distinguish them from each other.

Can some one help me?

Keld Hansen


patch2.zip
 Description:

Download (listen)
 Filename:  patch2.zip
 Filesize:  1.11 KB
 Downloaded:  423 Time(s)

Back to top
View user's profile Send private message
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 18251
Location: Durham, NC
Audio files: 226
G2 patch files: 60

PostPosted: Mon Nov 29, 2004 8:24 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website AIM Address
diskonext



Joined: Aug 26, 2004
Posts: 306
Location: London, UK

PostPosted: Mon Nov 29, 2004 6:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Most common MAX filetypes:

.mxb
.mxt
.pat

-diskonext

_________________
:wq
Back to top
View user's profile Send private message Visit poster's website
diskonext



Joined: Aug 26, 2004
Posts: 306
Location: London, UK

PostPosted: Mon Nov 29, 2004 6:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 18251
Location: Durham, NC
Audio files: 226
G2 patch files: 60

PostPosted: Mon Nov 29, 2004 8:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

diskonext wrote:
Most common MAX filetypes:

.mxb
.mxt
.pat


Thanks, I've enabled these filetypes... .

_________________
--Howard
my music and other stuff
Back to top
View user's profile Send private message Visit poster's website AIM Address
play



Joined: Feb 08, 2004
Posts: 489
Location: behind the mustard
Audio files: 2

PostPosted: Thu Dec 02, 2004 8:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar
Page 1 of 1 [15 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Instruments and Equipment » MAX/MSP - Pd
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use