Forums > MaxMSP

Max Msp Newbie need a little help Filtergraph and Sliders

April 6, 2006 | 10:19 am



VG
April 6, 2006 | 10:55 am

Seems like you don’t know what an object inspector is -> Select your
object and press Apple+I….
Seems you didn’t have the idea to type the action you want to do in an
object, say *scale*
Seems you don’t even know the + and * objects which appears in tutorial 8!!

So, if you like to build a VST plugin, it would be *strongly*
recommanded that you RTFM and STFW, before asking any question here.

good luck though!
vincent


April 6, 2006 | 11:25 am

Have a look at the ‘scale’ object?

Lawrence Casserley – lawrence@lcasserley.co.uk
Lawrence Electronic Operations – http://www.lcasserley.co.uk
Colourscape Music Festivals – http://www.colourscape.org.uk


April 6, 2006 | 11:35 am

something like this?

/J

max v2;
#N vpatcher 190 216 452 422;
#P origin 0 -80;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 35 42 31 196617 + 64;
#P newex 35 111 30 196617 – 64;
#P number 35 149 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user dial 35 64 40 40 129 1 0 0 223 270 1 1. 170 170 170 221 221 221
120 120 120 225 225 225 0 0 0 0 0 0;
#N pp 1 dial -64 64;
#P newobj 101 75 83 196617 pp 1 dial -64 64;
#N plugconfig;
#C useviews 1 1 1 1;
#C numprograms 64;
#C preempt 1;
#C sigvschange 1;
#C sigvsdefault 32;
#C windowsize;
#C defaultview Interface 0 0 0;
#C dragscroll 1;
#C noinfo;
#C uniqueid 128 182 235;
#C initialpgm 1;
#P newobj 44 320 55 196617 plugconfig;
#P connect 1 0 5 0;
#P connect 5 0 2 0;
#P connect 2 0 4 0;
#P connect 4 0 3 0;
#P connect 4 0 1 0;
#P pop;


April 6, 2006 | 3:15 pm

Hey
thx for replay but please not to hard :-))


April 6, 2006 | 3:17 pm

Hello Lister.
Many thx for help.
this is what iam looking for
greetz to sweden
am.syn


April 6, 2006 | 5:55 pm

Hello Lawrence.
THX for reply.Idont know how it works with the scale object
but lister from sweden give me a good soloution with the
+ and – objects.
cheers+greetz
am.syn


April 6, 2006 | 6:43 pm


April 6, 2006 | 7:43 pm

On 6 Apr, 2006, at 18:55, Volker wrote:

> Hello Lawrence.
> THX for reply.Idont know how it works with the scale object
> but lister from sweden give me a good soloution with the
> + and – objects.
> cheers+greetz
> am.syn
>
Do check out scale – you can do it all in one object!

As I recall, you were mapping 0 to 127 onto -64 to 64.

Just do ‘scale 0 127 -64 64′

Or if you want it inverted ‘scale 0 127 64 -64′

Hey presto!

Best

L

Lawrence Casserley – lawrence@lcasserley.co.uk
Lawrence Electronic Operations – http://www.lcasserley.co.uk
Colourscape Music Festivals – http://www.colourscape.org.uk


April 6, 2006 | 8:51 pm


April 6, 2006 | 8:55 pm

Hello again Lawrence.
Your`re absolutly right with the scale object.
THX for scale expression i do that so
many many thanks + cheers from HH Germany
am.syn


April 6, 2006 | 9:43 pm

>Do check out scale – you can do it all in one object!
>
>As I recall, you were mapping 0 to 127 onto -64 to 64.

Yes, the scale object is brilliant (as well as the reference manual and
tutorials for that matter).

Nevertheless, if you are creating vst plugins the pp object will replace
the scale object in several situations. Also, I don’t know why (is this
a bug?), you might experience problems connecting your dial or slider to
pp when working with negative numbers. Please have a look at this example:

max v2;
#N vpatcher 162 168 705 565;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 333 248 100 196617 … but this works :-);
#P newex 44 269 30 196617 – 64;
#P number 44 293 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 44 225 31 196617 + 64;
#N pp 4 workaround -64 64;
#P newobj 201 247 120 196617 pp 4 workaround -64 64;
#P user hslider 44 246 18 128 129 1 0 0;
#P comment 310 165 161 196617 …this doesn’t work either…;
#P number 45 188 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N pp 3 hslider -64 64;
#P newobj 202 162 98 196617 pp 3 hslider -64 64;
#P user hslider 45 163 18 128 129 1 -64 0;
#P number 73 124 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 227 95 100 196617 not OK..;
#P user dial 73 74 40 40 129 1 -64 0 223 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#N pp 2 dial -64 64;
#P newobj 132 92 83 196617 pp 2 dial -64 64;
#N plugconfig;
#C useviews 1 1 1 1;
#C numprograms 64;
#C preempt 1;
#C sigvschange 1;
#C sigvsdefault 32;
#C autosize;
#C defaultview Interface 0 0 0;
#C dragscroll 1;
#C infotext;
#C uniqueid 72 255 252;
#C initialpgm 1;
#P newobj 52 347 55 196617 plugconfig;
#P number 75 40 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N pp 1 number -64 64;
#P newobj 130 40 100 196617 pp 1 number -64 64;
#P comment 235 42 100 196617 OK;
#P hidden connect 13 0 14 0;
#P connect 14 0 12 0;
#P connect 12 0 16 0;
#P connect 16 0 15 0;
#P hidden connect 9 0 8 0;
#P connect 8 0 10 0;
#P hidden connect 4 0 5 0;
#P connect 5 0 7 0;
#P fasten 1 0 2 0 135 64 129 64 109 34 80 34;
#P fasten 2 0 1 0 80 61 109 61 133 34 135 34;
#P hidden connect 5 0 4 0;
#P hidden connect 16 0 13 0;
#P hidden connect 8 0 9 0;
#P pop;

Cheers,
Jakob the Dane (living in Sweden)


April 6, 2006 | 9:44 pm


April 7, 2006 | 1:13 am


April 7, 2006 | 1:16 am

> Weisst du wie man den Filtergraph mit 5 Filtern mit PP objekten verbindet.

there are like 5 different ways to do that but
ask that in the pluggo list:

http://www.cycling74.com/forums/ -> user CP -> subscriptions

currently there is going more pluggo stuff in
the max forum than in the pluggo forum ;)


April 7, 2006 | 8:50 am

Volker wrote:
> Frage: Weisst du wie man den Filtergraph mit 5 Filtern mit PP
> objekten verbindet.

To connect something like a filtergraph~ to pp, just use some floats
inbetween. (Some gating with the index out required)

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


April 7, 2006 | 8:52 am


April 7, 2006 | 6:08 pm

Hello Stefan.
thanks for reply this.But i didn`t understand this
// use some floats inbetween. (Some gating with the index out required)
can you tell or show me more about this soloution
da greetz
am.syn


April 8, 2006 | 6:38 am

Volker wrote:
> Hello Stefan.
> thanks for reply this.But i didn`t understand this
> // use some floats inbetween. (Some gating with the index out required)
> can you tell or show me more about this soloution

#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P newex 234 220 43 196617 prepend set;
#P newex 190 220 43 196617 prepend set;
#P newex 146 220 43 196617 prepend set;
#P window linecount 1;
#P newex 278 232 33 196617 + 1;
#P newex 202 263 42 196617 gate 3;
#P newex 158 263 42 196617 gate 3;
#P newex 114 263 42 196617 gate 3;
#P newex 40 400 158 196617 pak params 2 2. 3. 4.;
#P flonum 188 381 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 151 381 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 114 381 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 40 359 158 196617 pak params 1 2. 3. 4.;
#P flonum 188 340 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 151 340 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 114 340 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 40 318 158 196617 pak params 0 2. 3. 4.;
#P flonum 188 299 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 151 299 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 114 299 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 347 227 48 196617 index out;
#P window setfont Helvetica 9.;
#P user filtergraph~ 102 88 275 128 21 9 20. 20000. 0.0625 16. 0 1 1 0 0
1 1;
#X frgb 170 170 170;
#X brgb 209 209 209;
#X rgb2 0 0 0;
#X rgb3 130 130 130;
#X rgb4 0 0 0;
#X rgb5 76 108 172;
#X rgb6 210 74 54;
#X rgb7 255 22 22;
#X linmarkers 5512.5 11025. 16537.5;
#X logmarkers 10. 100. 1000. 10000.;
#X nfilters 3;
#X setfilter 2 5 1 0 0 6225.731934 1.921342 2.5 0. 0. 0. 0. 0. 0.;
#X setfilter 1 5 1 0 0 663. 3. 1.91 0. 0. 0. 0. 0. 0.;
#X setfilter 0 5 1 0 0 164. 3. 1.03 0. 0. 0. 0. 0. 0.;
#X done;
#P connect 10 0 13 2;
#P connect 11 0 13 3;
#P connect 12 0 13 4;
#P hidden connect 13 0 0 0;
#P connect 8 0 9 4;
#P connect 7 0 9 3;
#P connect 6 0 9 2;
#P hidden connect 9 0 0 0;
#P connect 4 0 5 4;
#P connect 3 0 5 3;
#P connect 2 0 5 2;
#P hidden connect 5 0 0 0;
#P connect 20 0 16 1;
#P connect 0 3 20 0;
#P connect 19 0 15 1;
#P connect 0 2 19 0;
#P connect 18 0 14 1;
#P connect 0 1 18 0;
#P fasten 0 6 17 0 371 224 283 224;
#P fasten 17 0 14 0 283 256 119 256;
#P fasten 17 0 15 0 283 256 163 256;
#P fasten 17 0 16 0 283 256 207 256;
#P hidden connect 16 2 12 0;
#P hidden connect 16 1 8 0;
#P hidden connect 16 0 4 0;
#P hidden connect 15 2 11 0;
#P hidden connect 15 1 7 0;
#P hidden connect 15 0 3 0;
#P hidden connect 14 2 10 0;
#P hidden connect 14 1 6 0;
#P hidden connect 14 0 2 0;
#P window clipboard copycount 21;

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


April 8, 2006 | 10:59 am


April 8, 2006 | 11:11 am

Hello Jakob the Dane living in Sweden ;-)
Sorry for late reply and Muchos Gracias
for your Slider Patch.It works very fine with the PP object
THX and greetz to Sweden
am.syn


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