From svtnkn at yahoo.com Sat Mar 1 00:11:48 2008 From: svtnkn at yahoo.com (sv k) Date: Sat Mar 1 00:11:55 2008 Subject: [maxmsp] Re: clumsy maths question In-Reply-To: <202cf.47c8fe68@www.cycling74.com> Message-ID: <202d0.47c901b4@www.cycling74.com> edit: in upper post, replace logarithmic with exponential... From Stefan-Tiedje at addcom.de Sat Mar 1 00:58:51 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sat Mar 1 00:59:06 2008 Subject: [maxmsp] Sampling rate for physical controllers In-Reply-To: <201da.47c6c9c2@www.cycling74.com> References: <201da.47c6c9c2@www.cycling74.com> Message-ID: <47C90CBB.3020809@addcom.de> aengus schrieb: > Really my question is: how fast or at what frequency can someone > typically move a knob or fader? or is it usually limited by the > hardware in generally available controllers? Generally available controlers is not very specific. If its Midi, its event driven, the highest rate is the speed Midi can send data (ca. 1 ms per command) I prefer that approach over any "Sampling rate" sometimes called polling. A sample rate of 10-25 ms might be fine, but is always too slow for catching rythmic events. I need the event in the moment it happens. 1 ms is fine for that. If you do it with polling/sample rate, you'd need a sample rate of 1 kHz which produces most of the time unneeded data and locks your machine for no advantage... Stefan -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From Stefan-Tiedje at addcom.de Sat Mar 1 00:58:43 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sat Mar 1 00:59:08 2008 Subject: [maxmsp] Re: fit a random number to a scale In-Reply-To: <20210.47c70ed9@www.cycling74.com> References: <20210.47c70ed9@www.cycling74.com> Message-ID: <47C90CB3.4010003@addcom.de> i.te schrieb: > hi anthony, sorry for my bad english :) thats what im trying to do. i > want to use a random number to select a note from the table object. a bang to the table object? There is also an object called scale... -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From Stefan-Tiedje at addcom.de Sat Mar 1 00:58:58 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sat Mar 1 00:59:09 2008 Subject: [maxmsp] IrToHiObject In-Reply-To: <8B655585-DBA0-4794-8430-377FA407CFE2@radiantslab.com> References: <201f5.47c6ec34@www.cycling74.com> <47C7C535.9020501@skynet.be> <8B655585-DBA0-4794-8430-377FA407CFE2@radiantslab.com> Message-ID: <47C90CC2.3050407@addcom.de> Patrick Delges schrieb: > Don't know for recent MacBooks, but in the past this was possible with > some models only. I think you had to plug an external monitor. Now, with > these very hot microprocessors, it may be too dangerous to keep the > laptop closed. This was in ancient times. Nowadays it will just melt your display... But you can run a mac mini without monitor/keyboard... The easiest is to just don't let anybody come close with liquids. Or you setup the internal camera with some jit.cv patch to dectect beverages and shut down in case somebode is too close... ;-) A beer over a closed Macbook isn't good either by the way... Stefan -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From Stefan-Tiedje at addcom.de Sat Mar 1 00:59:06 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sat Mar 1 00:59:15 2008 Subject: [maxmsp] Looping record In-Reply-To: <2025f.47c7afbd@www.cycling74.com> References: <2025f.47c7afbd@www.cycling74.com> Message-ID: <47C90CCA.2090102@addcom.de> Dan schrieb: > Is there a way to avoid this? I'd like to be able to record into a > buffer like this, turn off the DAC, and then turn it back on and > continue to hear my loop. look at append mode and loop mode, both explained in the help... Switching audio on/off is like sending a new 1... Stefan -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From cbm at well.com Sat Mar 1 01:52:50 2008 From: cbm at well.com (Chris Muir) Date: Sat Mar 1 01:52:54 2008 Subject: [maxmsp] Random count~ bangs? In-Reply-To: <202bc.47c87efe@www.cycling74.com> References: <202bc.47c87efe@www.cycling74.com> Message-ID: <55103ECD-97DA-4363-9966-06939A7ED063@well.com> On Feb 29, 2008, at 1:54 PM, ben Gilman wrote: > can anyone help me with my count~ problem, i want to count from 0 to > 255 then stop. it is imperative that the edge~ object outputs a > single bang when the count has finished as this is used to start > other processes. but it seems im getting random quantities of bangs. > I have the I/O and signal vectors both set to 256 this isn't the > cause is it? I think that the I/O and signal vector being the same has something to do with it. I had no problems as long as the signal vector was smaller than the I/O vector. #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 111 216 14 196617 0; #P number 69 274 58 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #N counter; #X flags 0 0; #P newobj 69 251 66 196617 counter; #P number 143 274 58 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #N counter; #X flags 0 0; #P newobj 143 250 66 196617 counter; #P button 130 93 15 0; #P newex 142 199 36 196617 edge~; #P newex 142 174 49 196617 ==~ 255; #P message 147 130 29 196617 stop; #P newex 130 152 70 196617 count~ 0 256; #P user ezdac~ 224 124 268 157 0; #P window linecount 6; #P comment 229 196 100 196617 getting a random amounst of bangs sometimes increments of 1 sometimes as high as 16; #P connect 11 0 9 3; #P connect 11 0 7 3; #P connect 6 0 9 0; #P connect 6 0 2 0; #P connect 5 1 7 0; #P fasten 5 1 3 0 173 235 202 235 202 125 152 125; #P connect 9 0 10 0; #P connect 2 0 4 0; #P connect 7 0 8 0; #P connect 4 0 5 0; #P connect 3 0 2 0; #P window clipboard copycount 12; Chris Muir cbm@well.com From spondoo at hotmail.com Sat Mar 1 05:11:03 2008 From: spondoo at hotmail.com (Adam) Date: Sat Mar 1 05:11:10 2008 Subject: [maxmsp] Comparing current value and previous value in a list Message-ID: <202da.47c947c9@www.cycling74.com> hi people! I need to store incoming acceleration data in some kind of list format, like an array. The list would need to store about 30 incoming values and then eventually empty itself and start again. Would a buffer be better and how would I go about doing this? Also I need to be able to compare the current value that has just entered the list, to previous int values within the list. Basically say for example that in order for an acceleration value to trigger a sound, it must be above 135. I want to be able to check back to where the last trigger point occurred, if the incoming values in the list start to decrease below the trigger point. I also want to check how much time has passed since the last trigger point. This is a similar idea to a peak finder! I hope this makes sense! Thanks A From avantronica at gmail.com Sat Mar 1 05:44:32 2008 From: avantronica at gmail.com (scotty) Date: Sat Mar 1 05:44:39 2008 Subject: [maxmsp] Re: Looping record In-Reply-To: <2029e.47c83f99@www.cycling74.com> Message-ID: <202db.47c94fa4@www.cycling74.com> This should help - just adding a bit more control of the 1(record on) ie turn that setting off (0) once recorded and whilst toggling audio #P user multiSlider 132 133 107 13 0. 1. 1 2936 47 0 0 2 0 0 0; #M frgb 47 219 45; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 616 342 32 196617 sel 1; #P user multiSlider 564 382 107 13 0. 1. 1 2936 47 0 0 2 0 0 0; #M frgb 219 45 49; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P user number~ 575 312 614 327 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0; #P button 635 95 15 14; #P button 590 50 21 0; #P message 610 130 14 196617 0; #B color 6; #P newex 590 97 30 196617 t b b; #P toggle 575 189 15 0; #P noclick; #P toggle 610 168 15 0; #P noclick; #P newex 575 222 36 196617 adc~; #P newex 64 281 31 196617 dac~; #P window linecount 4; #P comment 282 240 248 196617 Now \, turn off the DAC and then turn it back on. You will hear the loop continue to playback \, but it will be erasing as it plays and the buffer will soon be empty. What is going on?; #P window linecount 1; #P comment 282 196 248 196617 Loop will playback \, everything working as expected.; #P window linecount 2; #P comment 282 155 248 196617 Click the 1 at any time to start recording (beware feedback if using a mic); #P user number~ 103 109 142 124 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 1; #P newex 64 75 78 196617 phasor~ 0.25; #P newex 575 286 88 196617 record~ record 2; #P objectname 1196Record; #P window setfont "Sans Serif" 12.; #P newex 64 184 160 196620 wave~ record 0. 4000. 2; #P window setfont "Sans Serif" 9.; #P newex 327 347 113 196617 buffer~ record 4000 2; #P comment 325 369 121 196617 a 4 second stereo buffer; #P window linecount 2; #P comment 94 152 122 196617 phasor~ drives wave~ object for playback; #P comment 282 109 248 196617 Turn on DAC and the phasor~ starts looping playback through the empty buffer.; #P window linecount 1; #P comment 655 95 40 196617 record; #B color 14; #P comment 611 51 74 196617 audio toggler; #P connect 9 1 24 0; #P connect 8 0 6 0; #P connect 6 0 13 0; #P fasten 6 1 13 1 219 243 90 243; #P fasten 8 0 9 0 69 100 108 100; #P fasten 21 1 22 0 609 365 569 365; #P connect 7 0 21 0; #P fasten 17 0 16 0 595 151 580 151; #P connect 16 0 14 0; #P fasten 15 0 7 0 615 268 580 268; #P connect 14 0 7 0; #P fasten 19 0 17 0 595 80 595 80; #P connect 14 1 7 1; #P fasten 23 0 18 0 621 374 669 374 669 123 615 123; #P lcolor 7; #P connect 17 1 18 0; #P fasten 20 0 15 0 640 155 615 155; #P connect 18 0 15 0; #P fasten 21 1 23 0 609 337 621 337; #P window clipboard copycount 25; cheers From julien.bayle at gmail.com Sat Mar 1 05:45:02 2008 From: julien.bayle at gmail.com (julien) Date: Sat Mar 1 05:45:09 2008 Subject: [maxmsp] Re: Live API In-Reply-To: Message-ID: <202dc.47c94fcc@www.cycling74.com> yes. works fine under windows OS. I'm interested by sending message via OSC with max. I just communicate with live via LiveTelnet. From phineus at phineusmusic.com Sat Mar 1 05:53:05 2008 From: phineus at phineusmusic.com (phineus) Date: Sat Mar 1 05:53:10 2008 Subject: [maxmsp] Re: routing audio on XP w/ Echo MIA MIDI soundcard In-Reply-To: <202cc.47c8e0cb@www.cycling74.com> Message-ID: <202dd.47c951ad@www.cycling74.com> I figured out that what I really want is to send Virtual outs 1 and 2 to Max, not the Analog output. But I don't see anything but the Analog outs in the Max DSP settings - so I guess it's just a limitation of the sound-card. Too bad, it's a really nice-sounding card. I have ProTools rig I can use to set this up but I was hoping to route it internally. Oh, well. -- "Music is the cup that holds the wine of silence." - Robert Fripp From jaybodley at gmail.com Sat Mar 1 05:55:53 2008 From: jaybodley at gmail.com (Jay Bodley) Date: Sat Mar 1 05:56:01 2008 Subject: [maxmsp] Re: questions about line In-Reply-To: <202cd.47c8e4c5@www.cycling74.com> Message-ID: <202de.47c95255@www.cycling74.com> Quote: Nick Inhofe wrote on Fri, 29 February 2008 22:08 ---------------------------------------------------- > To answer your second question, you could try to lines abstraction from Stefan Tiedje's abhaxions collection, but I wouldn't recommend it as a substitute for learning how to use the line object properly. > ---------------------------------------------------- Heheh... I like that; I agree. :) Thanks for the tips, guys. Your help is much appreciated. From joe_perkins_1982 at hotmail.com Sat Mar 1 06:14:15 2008 From: joe_perkins_1982 at hotmail.com (Dchild) Date: Sat Mar 1 06:14:20 2008 Subject: [maxmsp] Re: aka.iphone to control ableton In-Reply-To: Message-ID: <202df.47c956a1@www.cycling74.com> Are you saying that this patch is already setup to output midi? I'm sure i tried what you suggested but i'll have another go. From tomgalileo at mac.com Sat Mar 1 08:14:41 2008 From: tomgalileo at mac.com (TomGalileo) Date: Sat Mar 1 08:15:42 2008 Subject: [maxmsp] Re: aka.iphone to control ableton In-Reply-To: <202df.47c956a1@www.cycling74.com> References: <202df.47c956a1@www.cycling74.com> Message-ID: no, you have to send all data coming from akaremote into a midiout object or ctlout object you take your buttons in the aka patch, they will give u some data: connect that data to the inlets of midiout object if it is a slider data, connect that to a ctlout object this is the logical basic setup thane what you will do with that data in ableton I dont know if you look at the help files of these two max object, you will understand how to. let me know t. On Mar 1, 2008, at 1:14 PM, Dchild wrote: > > Are you saying that this patch is already setup to output midi? > > I'm sure i tried what you suggested but i'll have another go. > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/maxmsp/attachments/20080301/34f22f8e/attachment.htm From tomgalileo at mac.com Sat Mar 1 08:17:31 2008 From: tomgalileo at mac.com (TomGalileo) Date: Sat Mar 1 08:18:32 2008 Subject: [maxmsp] Re: aka.iphone to control ableton In-Reply-To: <202df.47c956a1@www.cycling74.com> References: <202df.47c956a1@www.cycling74.com> Message-ID: <51058DAC-BF05-4A95-A2E9-35333163807D@mac.com> possibly, is better using noteout than midiout for buttons message On Mar 1, 2008, at 1:14 PM, Dchild wrote: > > Are you saying that this patch is already setup to output midi? > > I'm sure i tried what you suggested but i'll have another go. > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/maxmsp/attachments/20080301/7e011272/attachment.htm From larsull at web.de Sat Mar 1 08:33:30 2008 From: larsull at web.de (i.te) Date: Sat Mar 1 08:33:34 2008 Subject: [maxmsp] Re: sequencer lenght without counter? In-Reply-To: <201c0.47c6a1d3@www.cycling74.com> Message-ID: <202e6.47c97749@www.cycling74.com> thanks chris, this was very helpful. best, i.te From martin at pixelsonic.com Sat Mar 1 09:17:01 2008 From: martin at pixelsonic.com (Martin Jann) Date: Sat Mar 1 09:17:06 2008 Subject: [maxmsp] Re: How to trigger click~ at audiorate to get noise~ ? In-Reply-To: <20216.47c7112c@www.cycling74.com> Message-ID: <202e7.47c9817c@www.cycling74.com> Hi Volker, great, thanks very much !!! This is exactly what I need and even more. @Peter: I?ve downloaded and tried your litter starter bundle, but did not find what I needed. Good to know its in the pro bundle. Best regards, Martin From spondoo at hotmail.com Sat Mar 1 09:34:03 2008 From: spondoo at hotmail.com (Adam) Date: Sat Mar 1 09:34:08 2008 Subject: [maxmsp] Conditional objects Message-ID: <202e8.47c98579@www.cycling74.com> Hi, I want to create a patch that constantly takes incoming acceleration data as an input and only outputs the incoming acceleration values that satisfy a number of conditions. * I want to be able to set and adjust the trigger-range e.g. a low and high trigger threshold. The low value will be the minimum value able to generate an output and the high value will be the maximum value able to generate an output. * Also, I want to be able to set and adjust the minimum-peak-gap. This will consist of two things, a value in milliseconds and another value that the acceleration data must not exceed within that time frame. E.g. for 30 milliseconds the acceleration data must not increase by more than 20. * only data that fulfills both the above conditions, will be printed out. I'm not sure if there are ways to do this using existing max msp objects. From pnyboer at slambassador.com Sat Mar 1 10:36:54 2008 From: pnyboer at slambassador.com (pnyboer) Date: Sat Mar 1 10:36:58 2008 Subject: [maxmsp] [sharingisfun] a decent pattrstorage interface Message-ID: <202ea.47c99432@www.cycling74.com> Here's a patch for pattrstorage that gives it a nice menu, increment/decrement buttons, and editable names. Read the comments for more description, but the result is that it makes it easy to integrate preset storage and recall in your patch. It's merely "decent" because it takes up some screen real estate with the patch cords and subpatches. But it works :) Enjoy, Peter Nyboer. #P window setfont "Sans Serif" 10.; #P window linecount 3; #P comment 420 307 297 196618 ** to change the number of presets \, you'll have to re-initialize the menu in [p menumaker] and change the clipping values in [p incdec]; #P window setfont "Sans Serif" 9.; #P window linecount 4; #P comment 67 416 99 196617 uses scripting to "turn on" name editing \, and turn it off when done; #P window setfont Arial 9.; #P window linecount 1; #P hidden newex 584 452 19 131137545 t b; #P window setfont "Sans Serif" 12.; #P message 583 429 215 196620 http://www.lividinstruments.com; #P window setfont "Sans Serif" 9.; #P hidden message 603 476 261 196617 \; max launchbrowser http://www.lividinstruments.com; #P window setfont "Sans Serif" 10.; #P comment 566 411 297 196618 pnyboer@slambassador.com; #P comment 557 394 297 196618 patch by peter nyboer; #P window linecount 2; #P comment 419 275 297 196618 When a pattr xml file is loaded \, preset 1 is automatically loaded.; #P window setfont Arial 9.; #P window linecount 1; #P newex 350 487 59 131137545 prepend set; #P window setfont "Sans Serif" 9.; #N vpatcher 10 59 178 203; #P window setfont Arial 9.; #P newex 35 74 33 131137545 zl reg; #P newex 35 52 27 131137545 t b i; #P window setfont "Sans Serif" 9.; #P newex 75 74 27 196617 + 1; #P inlet 35 32 15 0; #P inlet 67 32 15 0; #P outlet 75 96 15 0; #P outlet 35 95 15 0; #P connect 3 0 5 0; #P connect 5 0 6 0; #P connect 6 0 0 0; #P connect 2 0 6 1; #P fasten 5 1 4 0 57 71 80 71; #P connect 4 0 1 0; #P pop; #P newobj 153 327 74 196617 p menumanage; #P window setfont "Sans Serif" 10.; #P window linecount 2; #P comment 419 236 297 196618 Use the down-facing triangle to access the menu and change to any preset \, rather than using the inc/dec buttons.; #P window linecount 3; #P comment 419 185 297 196618 Click on the name to edit the name. Hit "enter" to change it or "esc" to leave it untouched. If you are editing a name \, then change the preset \, the name is left unedited.; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 423 71 297 196617 ...though it is a bit messy :(; #P window setfont "Sans Serif" 10.; #P window linecount 4; #P comment 419 123 297 196618 Use the inc/dec ("<<" and ">>") buttons to navigate through presets. When you change your preset \, current settings are first stored in the preset you are "leaving" \, and then the preset you have changed to is loaded.; #P window linecount 2; #P comment 419 92 297 196618 Provides 32 preset slots** \, an easy way to reaname presets \, and store the preset names in the pattrstorage.; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 58 268 18 196617 <<; #P message 188 268 18 196617 >>; #P window setfont Arial 9.; #P newex 197 65 40 131137545 pattr; #X prestore 1 0 -0.825; #P objectname u566000003; #P newex 154 64 40 131137545 pattr; #X prestore 1 0 -0.85; #P objectname u073000004; #P newex 111 63 40 131137545 pattr; #X prestore 1 0 -0.85; #P objectname u028000005; #P newex 68 62 40 131137545 pattr; #X prestore 1 0 -0.8; #P objectname u693000006; #P newex 25 61 40 131137545 pattr; #X prestore 1 0 -1.; #P objectname u460000007; #P window setfont "Sans Serif" 9.; #N vpatcher 10 59 449 329; #P window setfont Arial 9.; #P window linecount 1; #P newex 237 93 45 131137545 onebang; #N comlet bang to hide textedit; #P inlet 241 55 15 0; #N comlet bang to show textedit; #P inlet 208 49 15 0; #P window setfont "Sans Serif" 9.; #P newex 176 148 33 196617 desel; #P newex 54 50 29 196617 t 1 l; #P newex 109 94 40 196617 t 0 b b; #P newex 54 73 47 196617 gate 1 1; #P window setfont Arial 9.; #P newex 54 95 50 131137545 route text; #P window setfont "Sans Serif" 9.; #P newex 109 71 38 196617 sel 27; #P inlet 54 30 15 0; #P inlet 109 51 15 0; #P outlet 176 211 15 0; #P outlet 54 126 15 0; #P window setfont Arial 9.; #P window linecount 0; #P newex 226 137 19 131137545 t b; #P window setfont "Sans Serif" 9.; #P message 225 174 187 196617 script hide text \, script show textbutton; #P message 208 158 296 196617 script show text \, script send text select \, script hide textbutton; #P connect 6 0 11 0; #P connect 11 0 9 0; #P fasten 10 0 9 0 114 156 32 149 32 70 32 69 59 69; #P connect 9 0 8 0; #P connect 8 0 3 0; #P connect 11 1 9 1; #P connect 5 0 7 0; #P connect 7 0 10 0; #P fasten 10 1 12 0 129 114 181 114; #P connect 12 0 4 0; #P connect 1 0 4 0; #P connect 0 0 4 0; #P connect 13 0 0 0; #P connect 2 0 1 0; #P connect 15 0 2 0; #P fasten 8 0 2 0 59 124 231 124; #P fasten 10 2 2 0 144 124 231 124; #P connect 14 0 15 0; #P connect 13 0 15 1; #P pop; #P newobj 81 328 70 196617 p textmanage; #N vpatcher 20 74 620 474; #P window setfont Arial 9.; #P newex 96 50 57 131137545 loadmess 1; #P newex 65 76 38 131137545 bucket; #P newex 50 50 40 131137545 t i i i; #P window setfont "Sans Serif" 9.; #P newex 65 124 118 196617 pack store 1 "Preset 1"; #P newex 65 99 27 196617 t b i; #P message 50 162 95 196617 \$1 \, getslotname \$1; #P inlet 50 30 15 0; #P inlet 173 104 15 0; #P outlet 50 182 15 0; #P connect 2 0 6 0; #P connect 6 0 3 0; #P connect 3 0 0 0; #P connect 5 0 0 0; #P connect 6 1 7 0; #P connect 8 0 7 0; #P connect 7 0 4 0; #P connect 4 0 5 0; #P fasten 4 1 5 1 87 120 124 120; #P connect 1 0 5 2; #P pop; #P newobj 342 388 68 196617 p storerecall; #N vpatcher 10 59 416 296; #P window setfont "Sans Serif" 9.; #P message 263 89 75 196617 initialize menu; #P window setfont Arial 9.; #P window linecount 1; #P newex 263 109 44 131137545 t b clear; #P newex 262 151 114 131137545 sprintf append Preset%ld; #P newex 264 130 40 131137545 uzi 32; #P window linecount 0; #P newex 94 109 59 131137545 prepend set; #P newex 94 89 27 131137545 - 1; #P button 42 131 15 0; #P newex 42 154 101 131137545 pak setitem 0 ; #P newex 168 91 59 131137545 prepend set; #P newex 94 70 83 131137545 unpack 0 ; #P newex 94 50 71 131137545 route slotname; #P inlet 94 30 15 0; #P inlet 181 35 15 0; #P outlet 180 125 15 0; #P outlet 42 175 15 0; #P connect 8 0 7 0; #P fasten 12 0 0 0 267 171 47 171; #P fasten 13 1 0 0 302 150 47 150; #P connect 7 0 0 0; #P connect 10 0 0 0; #P connect 10 0 7 1; #P connect 3 0 4 0; #P connect 4 0 5 0; #P connect 5 0 9 0; #P connect 9 0 10 0; #P connect 2 0 7 2; #P connect 5 1 6 0; #P fasten 6 0 1 0 173 116 185 116; #P connect 11 2 12 0; #P connect 14 0 13 0; #P connect 13 0 11 0; #P pop; #P newobj 81 235 69 196617 p menumaker; #P window setfont Arial 9.; #P newex 350 441 52 131137545 route read; #N thispatcher; #Q end; #P newobj 81 397 56 131137545 thispatcher; #P user ubutton 81 268 89 20 0 0; #P objectname textbutton; #P newex 350 461 19 131137545 t 1; #P window setfont "Sans Serif" 9.; #P message 469 379 30 196617 read; #P message 429 379 35 196617 write; #P number 284 297 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window setfont Arial 10.; #P hidden user textedit 81 268 169 284 33020 2001 10 "Preset 1"; #X setrgb 31 31 31 220 220 255; #P objectname text; #P user multiSlider 140 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P objectname slider[5]; #P user multiSlider 120 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P objectname slider[4]; #P user multiSlider 100 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P objectname slider[3]; #P user multiSlider 80 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P objectname slider[2]; #P user multiSlider 60 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; #M frgb 0 0 0; #M brgb 255 255 255; #M rgb2 127 127 127; #M rgb3 0 0 0; #M rgb4 37 52 91; #M rgb5 74 105 182; #M rgb6 112 158 18; #M rgb7 149 211 110; #M rgb8 187 9 201; #M rgb9 224 62 37; #M rgb10 7 114 128; #P objectname slider[1]; #P window setfont Arial 9.; #P newex 342 419 162 131137545 pattrstorage Interface @savemode 0; #X client_rect 0 0 640 240; #X storage_rect 0 0 640 240; #P objectname Interface; #P window setfont Arial 10.; #P user ubumenu 81 268 105 131137546 0 1 1 0; #X setrgb 31 31 31 255 255 255 234 234 234 4 4 4 141 141 141 112 112 112; #X add Preset1; #X add Preset2; #X add Preset3; #X add Preset4; #X add Preset5; #X add Preset6; #X add Preset7; #X add Preset8; #X add Preset9; #X add Preset10; #X add Preset11; #X add Preset12; #X add Preset13; #X add Preset14; #X add Preset15; #X add sixteen; #X add Preset17; #X add Preset18; #X add Preset19; #X add Preset20; #X add Preset21; #X add Preset22; #X add Preset23; #X add Preset24; #X add Preset25; #X add Preset26; #X add Preset27; #X add Preset28; #X add Preset29; #X add Preset30; #X add Preset31; #X add Preset32; #X prefix_set 0 0 0; #P window setfont Arial 9.; #N vpatcher 40 55 355 388; #P window setfont Arial 9.; #P window linecount 1; #P newex 55 223 24 131137545 t 32; #P newex 57 200 30 131137545 sel 1; #P newex 58 179 27 131137545 > 32; #P newex 92 223 19 131137545 t 1; #P newex 94 200 30 131137545 sel 1; #P newex 95 179 27 131137545 < 1; #P newex 165 167 19 131137545 t b; #P newex 165 188 81 131137545 s ctlpsetchanged; #P outlet 146 246 15 0; #N comlet dec; #P inlet 146 48 15 0; #N comlet inc; #P inlet 185 47 15 0; #N comlet value; #P inlet 107 49 15 0; #P window linecount 0; #P newex 146 117 34 131137545 t b -1; #P newex 185 117 29 131137545 t b 1; #P newex 146 146 40 131137545 accum; #P window setfont "Sans Serif" 9.; #P comment 54 255 70 196617 clipping to keep the accum in the proper range; #P connect 14 0 15 0; #P connect 13 0 14 0; #P fasten 1 0 13 0 151 170 63 170; #P connect 11 0 12 0; #P connect 10 0 11 0; #P fasten 1 0 10 0 151 170 100 170; #P connect 6 0 3 0; #P fasten 4 0 1 0 112 141 151 141; #P fasten 12 0 1 0 90 246 51 252 34 252 34 126 85 113; #P fasten 15 0 1 0 52 246 42 246 42 137 93 124; #P connect 3 0 1 0; #P fasten 2 0 1 0 190 139 151 139; #P connect 1 0 7 0; #P fasten 3 1 1 1 175 139 166 139; #P fasten 2 1 1 1 209 139 166 139; #P fasten 1 0 9 0 151 164 170 164; #P connect 9 0 8 0; #P connect 5 0 2 0; #P pop; #P newobj 238 294 44 131137545 p incdec; #P window setfont "Sans Serif" 10.; #P comment 416 56 297 196618 a decent way of creating an interface for pattrstorage.; #P window setfont "Sans Serif" 9.; #P comment 62 193 100 196617 your interface; #P user panel 47 96 125 120; #X brgb 191 191 191; #X frgb 0 0 0; #X border 1; #X rounded 0; #X shadow 0; #X done; #P connect 22 1 6 0; #P connect 23 1 7 0; #P connect 5 0 19 0; #P fasten 19 1 11 0 145 258 86 258; #P connect 19 0 4 0; #P connect 11 0 21 0; #P connect 21 1 17 0; #P connect 24 1 8 0; #P connect 11 1 21 1; #P connect 25 1 9 0; #P connect 16 0 21 2; #P connect 26 1 10 0; #P connect 21 0 19 1; #P fasten 3 0 21 3 202 316 146 322; #P fasten 4 0 34 0 86 305 158 305; #P fasten 4 1 34 1 133 305 222 305; #P fasten 35 0 3 0 355 506 313 506 313 421 335 283 243 283; #P fasten 34 1 3 0 222 349 233 349 233 292 243 277; #P fasten 28 0 3 1 63 288 260 288; #P fasten 27 0 3 2 193 285 277 285; #P connect 3 0 12 0; #P fasten 3 0 20 0 243 317 347 317; #P fasten 15 0 5 0 355 482 327 482 327 405; #P connect 20 0 5 0; #P fasten 14 0 5 0 474 418 347 418; #P fasten 13 0 5 0 434 418 347 418; #P connect 5 0 18 0; #P connect 18 0 15 0; #P connect 15 0 35 0; #P fasten 21 0 20 1 86 371 405 371; #P fasten 19 1 20 1 145 256 405 256; #P fasten 34 0 20 1 158 366 405 366; #P hidden connect 40 0 41 0; #P hidden connect 41 0 39 0; #P window clipboard copycount 44; -- * * * * The Altamont 2 oz light rum 3/4 oz lime juice 1/2 oz orange cura?ao 1/4 oz orgeat splash of pernod handful of fresh mint leaves shake contents vigorously with ice. Strain well into a chilled cocktail glass. * * * * From cbm at well.com Sat Mar 1 11:02:11 2008 From: cbm at well.com (Chris Muir) Date: Sat Mar 1 11:02:17 2008 Subject: [maxmsp] [sharingisfun] a decent pattrstorage interface In-Reply-To: <202ea.47c99432@www.cycling74.com> References: <202ea.47c99432@www.cycling74.com> Message-ID: On Mar 1, 2008, at 9:36 AM, pnyboer wrote: > Here's a patch for pattrstorage... ? error: desel: No such object -C Chris Muir cbm@well.com From k_patsouro at yahoo.gr Sat Mar 1 11:24:05 2008 From: k_patsouro at yahoo.gr (kostas) Date: Sat Mar 1 11:24:17 2008 Subject: [maxmsp] using text Message-ID: <202ee.47c99f44@www.cycling74.com> I'm trying to create a patch by pasting a max text on a textwindow how am I doing that? there seems to be no paste option... thanks From k_patsouro at yahoo.gr Sat Mar 1 11:32:49 2008 From: k_patsouro at yahoo.gr (kostas) Date: Sat Mar 1 11:32:52 2008 Subject: [maxmsp] Re: using text In-Reply-To: <202ee.47c99f44@www.cycling74.com> Message-ID: <202ef.47c9a151@www.cycling74.com> ok I found that, really easy Edit>Paste sorry From ben_gilman at hotmail.com Sat Mar 1 11:47:48 2008 From: ben_gilman at hotmail.com (ben Gilman) Date: Sat Mar 1 11:47:53 2008 Subject: [maxmsp] Re: Random count~ bangs? In-Reply-To: <55103ECD-97DA-4363-9966-06939A7ED063@well.com> Message-ID: <202f0.47c9a4d4@www.cycling74.com> I tried setting the I/O vector to 512 and i still seem to be having the same problem. Really not sure what is going on. im may have to use some other form of counting using different objects, i need it to be sample accurate though. regards ben > I think that the I/O and signal vector being the same has something to > do with it. I had no problems as long as the signal vector was smaller > than the I/O vector. From cbm at well.com Sat Mar 1 12:26:24 2008 From: cbm at well.com (Chris Muir) Date: Sat Mar 1 12:26:35 2008 Subject: [maxmsp] Re: Random count~ bangs? In-Reply-To: <202f0.47c9a4d4@www.cycling74.com> References: <202f0.47c9a4d4@www.cycling74.com> Message-ID: <605CE9A9-A38D-4B15-9F2D-986AE20E42DA@well.com> On Mar 1, 2008, at 10:47 AM, ben Gilman wrote: > I tried setting the I/O vector to 512 and i still seem to be having > the same problem. Really not sure what is going on. im may have to > use some other form of counting using different objects, i need it > to be sample accurate though. It worked fine for me w/ 64 & 256, fwiw. Chris Muir cbm@well.com From echolock at gmail.com Sat Mar 1 13:05:39 2008 From: echolock at gmail.com (Wade) Date: Sat Mar 1 13:05:45 2008 Subject: [maxmsp] stop counter from reseting itself Message-ID: Is there a way to tell counter to NOT reset when it reaches its maximum? In other words, STOP counting bangs? I could create a gate to stop it from counting bangs but I'm wondering if that might superfluous if there's a simpler way. From cbm at well.com Sat Mar 1 14:01:06 2008 From: cbm at well.com (Chris Muir) Date: Sat Mar 1 14:01:12 2008 Subject: [maxmsp] stop counter from reseting itself In-Reply-To: References: Message-ID: <33FE679F-A2AE-47F2-9C71-FC4C30C57E1F@well.com> On Mar 1, 2008, at 12:05 PM, Wade wrote: > Is there a way to tell counter to NOT reset when it reaches its > maximum? In other words, STOP counting bangs? I'm pretty sure there isn't. Chris Muir cbm@well.com From ben_gilman at hotmail.com Sat Mar 1 14:09:22 2008 From: ben_gilman at hotmail.com (ben Gilman) Date: Sat Mar 1 14:09:25 2008 Subject: [maxmsp] Re: Re: Random count~ bangs? In-Reply-To: <605CE9A9-A38D-4B15-9F2D-986AE20E42DA@well.com> Message-ID: <202fc.47c9c601@www.cycling74.com> its working now thanks for your help, i set the MAX SCHEDULER IN OVERDRIVE and SCHEDULE IN AUDIO INTERRUPT to on. but im unsure what these settings do and if they should be turned to on. >It worked fine for me w/ 64 & 256, fwiw. From dkimcg at gmail.com Sat Mar 1 14:12:14 2008 From: dkimcg at gmail.com (Don K) Date: Sat Mar 1 14:12:33 2008 Subject: [maxmsp] Audio signal summation and level meters? Message-ID: <202fd.47c9c6ad@www.cycling74.com> I'm working on a 16 channel 16step pulse sequencer (based on Chris Muir's sample patch). It's working great. But when I add all the channels together, I'm afraid my levels are getting way too hot. Here's how the channels are added together. #P window setfont "Sans Serif" 9.; #P window linecount 1; #P hidden newex 486 483 27 196617 *~; #P hidden newex 371 483 107 196617 poly~ samplerVoice 4; #P user gain~ 732 429 50 101 158 0 1.071519 7.94321 10.; #P hidden newex 751 592 90 196617 dac~; #P hidden newex 486 466 27 196617 *~; #P hidden newex 371 464 107 196617 poly~ samplerVoice 4; #P hidden newex 486 447 27 196617 *~; #P hidden newex 371 444 107 196617 poly~ samplerVoice 4; #P hidden newex 486 427 27 196617 *~; #P hidden newex 371 424 107 196617 poly~ samplerVoice 4; #P hidden newex 486 407 27 196617 *~; #P hidden newex 485 385 27 196617 *~; #P hidden newex 485 363 27 196617 *~; #P hidden newex 484 341 27 196617 *~; #P hidden newex 371 404 107 196617 poly~ samplerVoice 4; #P hidden newex 371 383 107 196617 poly~ samplerVoice 3; #P hidden newex 604 409 26 196617 +=~; #P hidden newex 370 363 107 196617 poly~ samplerVoice 2; #P hidden newex 370 342 107 196617 poly~ samplerVoice 1; #P hidden connect 0 0 5 0; #P hidden connect 1 0 6 0; #P hidden connect 3 0 7 0; #P hidden connect 4 0 8 0; #P hidden connect 9 0 10 0; #P hidden connect 11 0 12 0; #P hidden connect 13 0 14 0; #P hidden connect 17 0 18 0; #P hidden connect 6 0 2 0; #P hidden connect 7 0 2 0; #P hidden connect 8 0 2 0; #P hidden connect 10 0 2 0; #P hidden connect 12 0 2 0; #P hidden connect 14 0 2 0; #P hidden connect 5 0 2 0; #P hidden connect 18 0 2 0; #P hidden connect 2 0 16 0; #P hidden connect 16 0 15 0; #P hidden connect 16 0 15 1; #P window clipboard copycount 19; I know there must be a better way. I tried the normalize~ object, but I just don't get it. :( Is there a "best way" to sum up audio signals in MSP? Also, I can't get a meter working (so I can check my levels before sending it out of the computer). Could someone maybe show me how that's done too? I've only been using Max a few months, but this forum is great and I'm having fun learning. Thanks for everyone's help here. -Don -- -DonK From bthrew at gmail.com Sat Mar 1 14:13:40 2008 From: bthrew at gmail.com (barry threw) Date: Sat Mar 1 14:13:51 2008 Subject: [maxmsp] [sharingisfun] a decent pattrstorage interface In-Reply-To: <202ea.47c99432@www.cycling74.com> References: <202ea.47c99432@www.cycling74.com> Message-ID: <0B259FC2-684D-459B-A290-EAA4D78DCE3E@gmail.com> Nice. I never knew about the text box over ubu trick. Bitchin' b On Mar 1, 2008, at 9:36 AM, pnyboer wrote: > > Here's a patch for pattrstorage that gives it a nice menu, increment/ > decrement buttons, and editable names. Read the comments for more > description, but the result is that it makes it easy to integrate > preset storage and recall in your patch. > It's merely "decent" because it takes up some screen real estate > with the patch cords and subpatches. But it works :) > > Enjoy, > > Peter Nyboer. > > > > #P window setfont "Sans Serif" 10.; > #P window linecount 3; > #P comment 420 307 297 196618 ** to change the number of presets \, > you'll have to re-initialize the menu in [p menumaker] and change > the clipping values in [p incdec]; > #P window setfont "Sans Serif" 9.; > #P window linecount 4; > #P comment 67 416 99 196617 uses scripting to "turn on" name editing > \, and turn it off when done; > #P window setfont Arial 9.; > #P window linecount 1; > #P hidden newex 584 452 19 131137545 t b; > #P window setfont "Sans Serif" 12.; > #P message 583 429 215 196620 http://www.lividinstruments.com; > #P window setfont "Sans Serif" 9.; > #P hidden message 603 476 261 196617 \; max launchbrowser http://www.lividinstruments.com > ; > #P window setfont "Sans Serif" 10.; > #P comment 566 411 297 196618 pnyboer@slambassador.com; > #P comment 557 394 297 196618 patch by peter nyboer; > #P window linecount 2; > #P comment 419 275 297 196618 When a pattr xml file is loaded \, > preset 1 is automatically loaded.; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 350 487 59 131137545 prepend set; > #P window setfont "Sans Serif" 9.; > #N vpatcher 10 59 178 203; > #P window setfont Arial 9.; > #P newex 35 74 33 131137545 zl reg; > #P newex 35 52 27 131137545 t b i; > #P window setfont "Sans Serif" 9.; > #P newex 75 74 27 196617 + 1; > #P inlet 35 32 15 0; > #P inlet 67 32 15 0; > #P outlet 75 96 15 0; > #P outlet 35 95 15 0; > #P connect 3 0 5 0; > #P connect 5 0 6 0; > #P connect 6 0 0 0; > #P connect 2 0 6 1; > #P fasten 5 1 4 0 57 71 80 71; > #P connect 4 0 1 0; > #P pop; > #P newobj 153 327 74 196617 p menumanage; > #P window setfont "Sans Serif" 10.; > #P window linecount 2; > #P comment 419 236 297 196618 Use the down-facing triangle to access > the menu and change to any preset \, rather than using the inc/dec > buttons.; > #P window linecount 3; > #P comment 419 185 297 196618 Click on the name to edit the name. > Hit "enter" to change it or "esc" to leave it untouched. If you are > editing a name \, then change the preset \, the name is left > unedited.; > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P comment 423 71 297 196617 ...though it is a bit messy :(; > #P window setfont "Sans Serif" 10.; > #P window linecount 4; > #P comment 419 123 297 196618 Use the inc/dec ("<<" and ">>") > buttons to navigate through presets. When you change your preset \, > current settings are first stored in the preset you are "leaving" \, > and then the preset you have changed to is loaded.; > #P window linecount 2; > #P comment 419 92 297 196618 Provides 32 preset slots** \, an easy > way to reaname presets \, and store the preset names in the > pattrstorage.; > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P message 58 268 18 196617 <<; > #P message 188 268 18 196617 >>; > #P window setfont Arial 9.; > #P newex 197 65 40 131137545 pattr; > #X prestore 1 0 -0.825; > #P objectname u566000003; > #P newex 154 64 40 131137545 pattr; > #X prestore 1 0 -0.85; > #P objectname u073000004; > #P newex 111 63 40 131137545 pattr; > #X prestore 1 0 -0.85; > #P objectname u028000005; > #P newex 68 62 40 131137545 pattr; > #X prestore 1 0 -0.8; > #P objectname u693000006; > #P newex 25 61 40 131137545 pattr; > #X prestore 1 0 -1.; > #P objectname u460000007; > #P window setfont "Sans Serif" 9.; > #N vpatcher 10 59 449 329; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 237 93 45 131137545 onebang; > #N comlet bang to hide textedit; > #P inlet 241 55 15 0; > #N comlet bang to show textedit; > #P inlet 208 49 15 0; > #P window setfont "Sans Serif" 9.; > #P newex 176 148 33 196617 desel; > #P newex 54 50 29 196617 t 1 l; > #P newex 109 94 40 196617 t 0 b b; > #P newex 54 73 47 196617 gate 1 1; > #P window setfont Arial 9.; > #P newex 54 95 50 131137545 route text; > #P window setfont "Sans Serif" 9.; > #P newex 109 71 38 196617 sel 27; > #P inlet 54 30 15 0; > #P inlet 109 51 15 0; > #P outlet 176 211 15 0; > #P outlet 54 126 15 0; > #P window setfont Arial 9.; > #P window linecount 0; > #P newex 226 137 19 131137545 t b; > #P window setfont "Sans Serif" 9.; > #P message 225 174 187 196617 script hide text \, script show > textbutton; > #P message 208 158 296 196617 script show text \, script send text > select \, script hide textbutton; > #P connect 6 0 11 0; > #P connect 11 0 9 0; > #P fasten 10 0 9 0 114 156 32 149 32 70 32 69 59 69; > #P connect 9 0 8 0; > #P connect 8 0 3 0; > #P connect 11 1 9 1; > #P connect 5 0 7 0; > #P connect 7 0 10 0; > #P fasten 10 1 12 0 129 114 181 114; > #P connect 12 0 4 0; > #P connect 1 0 4 0; > #P connect 0 0 4 0; > #P connect 13 0 0 0; > #P connect 2 0 1 0; > #P connect 15 0 2 0; > #P fasten 8 0 2 0 59 124 231 124; > #P fasten 10 2 2 0 144 124 231 124; > #P connect 14 0 15 0; > #P connect 13 0 15 1; > #P pop; > #P newobj 81 328 70 196617 p textmanage; > #N vpatcher 20 74 620 474; > #P window setfont Arial 9.; > #P newex 96 50 57 131137545 loadmess 1; > #P newex 65 76 38 131137545 bucket; > #P newex 50 50 40 131137545 t i i i; > #P window setfont "Sans Serif" 9.; > #P newex 65 124 118 196617 pack store 1 "Preset 1"; > #P newex 65 99 27 196617 t b i; > #P message 50 162 95 196617 \$1 \, getslotname \$1; > #P inlet 50 30 15 0; > #P inlet 173 104 15 0; > #P outlet 50 182 15 0; > #P connect 2 0 6 0; > #P connect 6 0 3 0; > #P connect 3 0 0 0; > #P connect 5 0 0 0; > #P connect 6 1 7 0; > #P connect 8 0 7 0; > #P connect 7 0 4 0; > #P connect 4 0 5 0; > #P fasten 4 1 5 1 87 120 124 120; > #P connect 1 0 5 2; > #P pop; > #P newobj 342 388 68 196617 p storerecall; > #N vpatcher 10 59 416 296; > #P window setfont "Sans Serif" 9.; > #P message 263 89 75 196617 initialize menu; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 263 109 44 131137545 t b clear; > #P newex 262 151 114 131137545 sprintf append Preset%ld; > #P newex 264 130 40 131137545 uzi 32; > #P window linecount 0; > #P newex 94 109 59 131137545 prepend set; > #P newex 94 89 27 131137545 - 1; > #P button 42 131 15 0; > #P newex 42 154 101 131137545 pak setitem 0 ; > #P newex 168 91 59 131137545 prepend set; > #P newex 94 70 83 131137545 unpack 0 ; > #P newex 94 50 71 131137545 route slotname; > #P inlet 94 30 15 0; > #P inlet 181 35 15 0; > #P outlet 180 125 15 0; > #P outlet 42 175 15 0; > #P connect 8 0 7 0; > #P fasten 12 0 0 0 267 171 47 171; > #P fasten 13 1 0 0 302 150 47 150; > #P connect 7 0 0 0; > #P connect 10 0 0 0; > #P connect 10 0 7 1; > #P connect 3 0 4 0; > #P connect 4 0 5 0; > #P connect 5 0 9 0; > #P connect 9 0 10 0; > #P connect 2 0 7 2; > #P connect 5 1 6 0; > #P fasten 6 0 1 0 173 116 185 116; > #P connect 11 2 12 0; > #P connect 14 0 13 0; > #P connect 13 0 11 0; > #P pop; > #P newobj 81 235 69 196617 p menumaker; > #P window setfont Arial 9.; > #P newex 350 441 52 131137545 route read; > #N thispatcher; > #Q end; > #P newobj 81 397 56 131137545 thispatcher; > #P user ubutton 81 268 89 20 0 0; > #P objectname textbutton; > #P newex 350 461 19 131137545 t 1; > #P window setfont "Sans Serif" 9.; > #P message 469 379 30 196617 read; > #P message 429 379 35 196617 write; > #P number 284 297 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P window setfont Arial 10.; > #P hidden user textedit 81 268 169 284 33020 2001 10 "Preset 1"; > #X setrgb 31 31 31 220 220 255; > #P objectname text; > #P user multiSlider 140 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[5]; > #P user multiSlider 120 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[4]; > #P user multiSlider 100 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[3]; > #P user multiSlider 80 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[2]; > #P user multiSlider 60 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[1]; > #P window setfont Arial 9.; > #P newex 342 419 162 131137545 pattrstorage Interface @savemode 0; > #X client_rect 0 0 640 240; > #X storage_rect 0 0 640 240; > #P objectname Interface; > #P window setfont Arial 10.; > #P user ubumenu 81 268 105 131137546 0 1 1 0; > #X setrgb 31 31 31 255 255 255 234 234 234 4 4 4 141 141 141 112 112 > 112; > #X add Preset1; > #X add Preset2; > #X add Preset3; > #X add Preset4; > #X add Preset5; > #X add Preset6; > #X add Preset7; > #X add Preset8; > #X add Preset9; > #X add Preset10; > #X add Preset11; > #X add Preset12; > #X add Preset13; > #X add Preset14; > #X add Preset15; > #X add sixteen; > #X add Preset17; > #X add Preset18; > #X add Preset19; > #X add Preset20; > #X add Preset21; > #X add Preset22; > #X add Preset23; > #X add Preset24; > #X add Preset25; > #X add Preset26; > #X add Preset27; > #X add Preset28; > #X add Preset29; > #X add Preset30; > #X add Preset31; > #X add Preset32; > #X prefix_set 0 0 0; > #P window setfont Arial 9.; > #N vpatcher 40 55 355 388; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 55 223 24 131137545 t 32; > #P newex 57 200 30 131137545 sel 1; > #P newex 58 179 27 131137545 > 32; > #P newex 92 223 19 131137545 t 1; > #P newex 94 200 30 131137545 sel 1; > #P newex 95 179 27 131137545 < 1; > #P newex 165 167 19 131137545 t b; > #P newex 165 188 81 131137545 s ctlpsetchanged; > #P outlet 146 246 15 0; > #N comlet dec; > #P inlet 146 48 15 0; > #N comlet inc; > #P inlet 185 47 15 0; > #N comlet value; > #P inlet 107 49 15 0; > #P window linecount 0; > #P newex 146 117 34 131137545 t b -1; > #P newex 185 117 29 131137545 t b 1; > #P newex 146 146 40 131137545 accum; > #P window setfont "Sans Serif" 9.; > #P comment 54 255 70 196617 clipping to keep the accum in the proper > range; > #P connect 14 0 15 0; > #P connect 13 0 14 0; > #P fasten 1 0 13 0 151 170 63 170; > #P connect 11 0 12 0; > #P connect 10 0 11 0; > #P fasten 1 0 10 0 151 170 100 170; > #P connect 6 0 3 0; > #P fasten 4 0 1 0 112 141 151 141; > #P fasten 12 0 1 0 90 246 51 252 34 252 34 126 85 113; > #P fasten 15 0 1 0 52 246 42 246 42 137 93 124; > #P connect 3 0 1 0; > #P fasten 2 0 1 0 190 139 151 139; > #P connect 1 0 7 0; > #P fasten 3 1 1 1 175 139 166 139; > #P fasten 2 1 1 1 209 139 166 139; > #P fasten 1 0 9 0 151 164 170 164; > #P connect 9 0 8 0; > #P connect 5 0 2 0; > #P pop; > #P newobj 238 294 44 131137545 p incdec; > #P window setfont "Sans Serif" 10.; > #P comment 416 56 297 196618 a decent way of creating an interface > for pattrstorage.; > #P window setfont "Sans Serif" 9.; > #P comment 62 193 100 196617 your interface; > #P user panel 47 96 125 120; > #X brgb 191 191 191; > #X frgb 0 0 0; > #X border 1; > #X rounded 0; > #X shadow 0; > #X done; > #P connect 22 1 6 0; > #P connect 23 1 7 0; > #P connect 5 0 19 0; > #P fasten 19 1 11 0 145 258 86 258; > #P connect 19 0 4 0; > #P connect 11 0 21 0; > #P connect 21 1 17 0; > #P connect 24 1 8 0; > #P connect 11 1 21 1; > #P connect 25 1 9 0; > #P connect 16 0 21 2; > #P connect 26 1 10 0; > #P connect 21 0 19 1; > #P fasten 3 0 21 3 202 316 146 322; > #P fasten 4 0 34 0 86 305 158 305; > #P fasten 4 1 34 1 133 305 222 305; > #P fasten 35 0 3 0 355 506 313 506 313 421 335 283 243 283; > #P fasten 34 1 3 0 222 349 233 349 233 292 243 277; > #P fasten 28 0 3 1 63 288 260 288; > #P fasten 27 0 3 2 193 285 277 285; > #P connect 3 0 12 0; > #P fasten 3 0 20 0 243 317 347 317; > #P fasten 15 0 5 0 355 482 327 482 327 405; > #P connect 20 0 5 0; > #P fasten 14 0 5 0 474 418 347 418; > #P fasten 13 0 5 0 434 418 347 418; > #P connect 5 0 18 0; > #P connect 18 0 15 0; > #P connect 15 0 35 0; > #P fasten 21 0 20 1 86 371 405 371; > #P fasten 19 1 20 1 145 256 405 256; > #P fasten 34 0 20 1 158 366 405 366; > #P hidden connect 40 0 41 0; > #P hidden connect 41 0 39 0; > #P window clipboard copycount 44; > > > -- > * * * * > The Altamont > 2 oz light rum > 3/4 oz lime juice > 1/2 oz orange cura?ao > 1/4 oz orgeat > splash of pernod > handful of fresh mint leaves > shake contents vigorously with ice. > Strain well into a chilled cocktail glass. > * * * * > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp barry threw Media Art and Technology San Francisco, CA Work: 857-544-3967 Email: bthrew (at) gmail (dot) com Web: www.barrythrew.com From dkimcg at gmail.com Sat Mar 1 14:15:51 2008 From: dkimcg at gmail.com (Don K) Date: Sat Mar 1 14:15:54 2008 Subject: [maxmsp] Re: Audio signal summation and level meters? In-Reply-To: <202fd.47c9c6ad@www.cycling74.com> Message-ID: <20300.47c9c786@www.cycling74.com> Oops, here's the more complete summation I'm doing. #P window setfont "Sans Serif" 9.; #P window linecount 1; #P hidden newex 182 316 27 196617 *~; #P hidden newex 7 163 107 196617 poly~ samplerVoice 4; #P flonum 300 159 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user gain~ 350 414 50 101 158 0 1.071519 7.94321 10.; #P hidden newex 369 577 90 196617 dac~; #P hidden newex 182 299 27 196617 *~; #P hidden newex 7 144 107 196617 poly~ samplerVoice 4; #P flonum 300 143 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 182 280 27 196617 *~; #P hidden newex 7 124 107 196617 poly~ samplerVoice 4; #P flonum 300 127 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 182 260 27 196617 *~; #P flonum 300 111 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 7 104 107 196617 poly~ samplerVoice 4; #P hidden newex 182 240 27 196617 *~; #P hidden newex 181 218 27 196617 *~; #P flonum 300 95 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 300 79 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 181 196 27 196617 *~; #P hidden newex 180 174 27 196617 *~; #P flonum 300 63 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 300 47 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P hidden newex 7 84 107 196617 poly~ samplerVoice 4; #P hidden newex 7 63 107 196617 poly~ samplerVoice 3; #P hidden newex 354 372 26 196617 +=~; #P hidden newex 6 43 107 196617 poly~ samplerVoice 2; #P hidden newex 6 22 107 196617 poly~ samplerVoice 1; #P hidden connect 23 0 22 0; #P hidden connect 23 0 22 1; #P hidden connect 2 0 23 0; #P hidden connect 26 0 2 0; #P hidden connect 7 0 2 0; #P hidden connect 21 0 2 0; #P hidden connect 18 0 2 0; #P hidden connect 15 0 2 0; #P hidden connect 12 0 2 0; #P hidden connect 11 0 2 0; #P hidden connect 8 0 2 0; #P hidden connect 24 0 26 1; #P hidden connect 19 0 21 1; #P hidden connect 16 0 18 1; #P hidden connect 14 0 15 1; #P hidden connect 10 0 12 1; #P hidden connect 9 0 11 1; #P hidden connect 6 0 8 1; #P hidden connect 5 0 7 1; #P hidden connect 25 0 26 0; #P hidden connect 20 0 21 0; #P hidden connect 17 0 18 0; #P hidden connect 13 0 15 0; #P hidden connect 4 0 12 0; #P hidden connect 3 0 11 0; #P hidden connect 1 0 8 0; #P hidden connect 0 0 7 0; #P window clipboard copycount 27; -- -DonK From bthrew at gmail.com Sat Mar 1 14:19:36 2008 From: bthrew at gmail.com (barry threw) Date: Sat Mar 1 14:19:45 2008 Subject: [maxmsp] [sharingisfun] a decent pattrstorage interface In-Reply-To: <202ea.47c99432@www.cycling74.com> References: <202ea.47c99432@www.cycling74.com> Message-ID: <8339F631-667C-465A-80E9-00CF3AC03257@gmail.com> AND using bucket as a one number storage. Those two things probably improved my patching more than anything else in months. Double nice. b On Mar 1, 2008, at 9:36 AM, pnyboer wrote: > > Here's a patch for pattrstorage that gives it a nice menu, increment/ > decrement buttons, and editable names. Read the comments for more > description, but the result is that it makes it easy to integrate > preset storage and recall in your patch. > It's merely "decent" because it takes up some screen real estate > with the patch cords and subpatches. But it works :) > > Enjoy, > > Peter Nyboer. > > > > #P window setfont "Sans Serif" 10.; > #P window linecount 3; > #P comment 420 307 297 196618 ** to change the number of presets \, > you'll have to re-initialize the menu in [p menumaker] and change > the clipping values in [p incdec]; > #P window setfont "Sans Serif" 9.; > #P window linecount 4; > #P comment 67 416 99 196617 uses scripting to "turn on" name editing > \, and turn it off when done; > #P window setfont Arial 9.; > #P window linecount 1; > #P hidden newex 584 452 19 131137545 t b; > #P window setfont "Sans Serif" 12.; > #P message 583 429 215 196620 http://www.lividinstruments.com; > #P window setfont "Sans Serif" 9.; > #P hidden message 603 476 261 196617 \; max launchbrowser http://www.lividinstruments.com > ; > #P window setfont "Sans Serif" 10.; > #P comment 566 411 297 196618 pnyboer@slambassador.com; > #P comment 557 394 297 196618 patch by peter nyboer; > #P window linecount 2; > #P comment 419 275 297 196618 When a pattr xml file is loaded \, > preset 1 is automatically loaded.; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 350 487 59 131137545 prepend set; > #P window setfont "Sans Serif" 9.; > #N vpatcher 10 59 178 203; > #P window setfont Arial 9.; > #P newex 35 74 33 131137545 zl reg; > #P newex 35 52 27 131137545 t b i; > #P window setfont "Sans Serif" 9.; > #P newex 75 74 27 196617 + 1; > #P inlet 35 32 15 0; > #P inlet 67 32 15 0; > #P outlet 75 96 15 0; > #P outlet 35 95 15 0; > #P connect 3 0 5 0; > #P connect 5 0 6 0; > #P connect 6 0 0 0; > #P connect 2 0 6 1; > #P fasten 5 1 4 0 57 71 80 71; > #P connect 4 0 1 0; > #P pop; > #P newobj 153 327 74 196617 p menumanage; > #P window setfont "Sans Serif" 10.; > #P window linecount 2; > #P comment 419 236 297 196618 Use the down-facing triangle to access > the menu and change to any preset \, rather than using the inc/dec > buttons.; > #P window linecount 3; > #P comment 419 185 297 196618 Click on the name to edit the name. > Hit "enter" to change it or "esc" to leave it untouched. If you are > editing a name \, then change the preset \, the name is left > unedited.; > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P comment 423 71 297 196617 ...though it is a bit messy :(; > #P window setfont "Sans Serif" 10.; > #P window linecount 4; > #P comment 419 123 297 196618 Use the inc/dec ("<<" and ">>") > buttons to navigate through presets. When you change your preset \, > current settings are first stored in the preset you are "leaving" \, > and then the preset you have changed to is loaded.; > #P window linecount 2; > #P comment 419 92 297 196618 Provides 32 preset slots** \, an easy > way to reaname presets \, and store the preset names in the > pattrstorage.; > #P window setfont "Sans Serif" 9.; > #P window linecount 1; > #P message 58 268 18 196617 <<; > #P message 188 268 18 196617 >>; > #P window setfont Arial 9.; > #P newex 197 65 40 131137545 pattr; > #X prestore 1 0 -0.825; > #P objectname u566000003; > #P newex 154 64 40 131137545 pattr; > #X prestore 1 0 -0.85; > #P objectname u073000004; > #P newex 111 63 40 131137545 pattr; > #X prestore 1 0 -0.85; > #P objectname u028000005; > #P newex 68 62 40 131137545 pattr; > #X prestore 1 0 -0.8; > #P objectname u693000006; > #P newex 25 61 40 131137545 pattr; > #X prestore 1 0 -1.; > #P objectname u460000007; > #P window setfont "Sans Serif" 9.; > #N vpatcher 10 59 449 329; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 237 93 45 131137545 onebang; > #N comlet bang to hide textedit; > #P inlet 241 55 15 0; > #N comlet bang to show textedit; > #P inlet 208 49 15 0; > #P window setfont "Sans Serif" 9.; > #P newex 176 148 33 196617 desel; > #P newex 54 50 29 196617 t 1 l; > #P newex 109 94 40 196617 t 0 b b; > #P newex 54 73 47 196617 gate 1 1; > #P window setfont Arial 9.; > #P newex 54 95 50 131137545 route text; > #P window setfont "Sans Serif" 9.; > #P newex 109 71 38 196617 sel 27; > #P inlet 54 30 15 0; > #P inlet 109 51 15 0; > #P outlet 176 211 15 0; > #P outlet 54 126 15 0; > #P window setfont Arial 9.; > #P window linecount 0; > #P newex 226 137 19 131137545 t b; > #P window setfont "Sans Serif" 9.; > #P message 225 174 187 196617 script hide text \, script show > textbutton; > #P message 208 158 296 196617 script show text \, script send text > select \, script hide textbutton; > #P connect 6 0 11 0; > #P connect 11 0 9 0; > #P fasten 10 0 9 0 114 156 32 149 32 70 32 69 59 69; > #P connect 9 0 8 0; > #P connect 8 0 3 0; > #P connect 11 1 9 1; > #P connect 5 0 7 0; > #P connect 7 0 10 0; > #P fasten 10 1 12 0 129 114 181 114; > #P connect 12 0 4 0; > #P connect 1 0 4 0; > #P connect 0 0 4 0; > #P connect 13 0 0 0; > #P connect 2 0 1 0; > #P connect 15 0 2 0; > #P fasten 8 0 2 0 59 124 231 124; > #P fasten 10 2 2 0 144 124 231 124; > #P connect 14 0 15 0; > #P connect 13 0 15 1; > #P pop; > #P newobj 81 328 70 196617 p textmanage; > #N vpatcher 20 74 620 474; > #P window setfont Arial 9.; > #P newex 96 50 57 131137545 loadmess 1; > #P newex 65 76 38 131137545 bucket; > #P newex 50 50 40 131137545 t i i i; > #P window setfont "Sans Serif" 9.; > #P newex 65 124 118 196617 pack store 1 "Preset 1"; > #P newex 65 99 27 196617 t b i; > #P message 50 162 95 196617 \$1 \, getslotname \$1; > #P inlet 50 30 15 0; > #P inlet 173 104 15 0; > #P outlet 50 182 15 0; > #P connect 2 0 6 0; > #P connect 6 0 3 0; > #P connect 3 0 0 0; > #P connect 5 0 0 0; > #P connect 6 1 7 0; > #P connect 8 0 7 0; > #P connect 7 0 4 0; > #P connect 4 0 5 0; > #P fasten 4 1 5 1 87 120 124 120; > #P connect 1 0 5 2; > #P pop; > #P newobj 342 388 68 196617 p storerecall; > #N vpatcher 10 59 416 296; > #P window setfont "Sans Serif" 9.; > #P message 263 89 75 196617 initialize menu; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 263 109 44 131137545 t b clear; > #P newex 262 151 114 131137545 sprintf append Preset%ld; > #P newex 264 130 40 131137545 uzi 32; > #P window linecount 0; > #P newex 94 109 59 131137545 prepend set; > #P newex 94 89 27 131137545 - 1; > #P button 42 131 15 0; > #P newex 42 154 101 131137545 pak setitem 0 ; > #P newex 168 91 59 131137545 prepend set; > #P newex 94 70 83 131137545 unpack 0 ; > #P newex 94 50 71 131137545 route slotname; > #P inlet 94 30 15 0; > #P inlet 181 35 15 0; > #P outlet 180 125 15 0; > #P outlet 42 175 15 0; > #P connect 8 0 7 0; > #P fasten 12 0 0 0 267 171 47 171; > #P fasten 13 1 0 0 302 150 47 150; > #P connect 7 0 0 0; > #P connect 10 0 0 0; > #P connect 10 0 7 1; > #P connect 3 0 4 0; > #P connect 4 0 5 0; > #P connect 5 0 9 0; > #P connect 9 0 10 0; > #P connect 2 0 7 2; > #P connect 5 1 6 0; > #P fasten 6 0 1 0 173 116 185 116; > #P connect 11 2 12 0; > #P connect 14 0 13 0; > #P connect 13 0 11 0; > #P pop; > #P newobj 81 235 69 196617 p menumaker; > #P window setfont Arial 9.; > #P newex 350 441 52 131137545 route read; > #N thispatcher; > #Q end; > #P newobj 81 397 56 131137545 thispatcher; > #P user ubutton 81 268 89 20 0 0; > #P objectname textbutton; > #P newex 350 461 19 131137545 t 1; > #P window setfont "Sans Serif" 9.; > #P message 469 379 30 196617 read; > #P message 429 379 35 196617 write; > #P number 284 297 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; > #P window setfont Arial 10.; > #P hidden user textedit 81 268 169 284 33020 2001 10 "Preset 1"; > #X setrgb 31 31 31 220 220 255; > #P objectname text; > #P user multiSlider 140 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[5]; > #P user multiSlider 120 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[4]; > #P user multiSlider 100 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[3]; > #P user multiSlider 80 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[2]; > #P user multiSlider 60 104 12 82 -1. 1. 1 2681 15 0 0 2 0 0 0; > #M frgb 0 0 0; > #M brgb 255 255 255; > #M rgb2 127 127 127; > #M rgb3 0 0 0; > #M rgb4 37 52 91; > #M rgb5 74 105 182; > #M rgb6 112 158 18; > #M rgb7 149 211 110; > #M rgb8 187 9 201; > #M rgb9 224 62 37; > #M rgb10 7 114 128; > #P objectname slider[1]; > #P window setfont Arial 9.; > #P newex 342 419 162 131137545 pattrstorage Interface @savemode 0; > #X client_rect 0 0 640 240; > #X storage_rect 0 0 640 240; > #P objectname Interface; > #P window setfont Arial 10.; > #P user ubumenu 81 268 105 131137546 0 1 1 0; > #X setrgb 31 31 31 255 255 255 234 234 234 4 4 4 141 141 141 112 112 > 112; > #X add Preset1; > #X add Preset2; > #X add Preset3; > #X add Preset4; > #X add Preset5; > #X add Preset6; > #X add Preset7; > #X add Preset8; > #X add Preset9; > #X add Preset10; > #X add Preset11; > #X add Preset12; > #X add Preset13; > #X add Preset14; > #X add Preset15; > #X add sixteen; > #X add Preset17; > #X add Preset18; > #X add Preset19; > #X add Preset20; > #X add Preset21; > #X add Preset22; > #X add Preset23; > #X add Preset24; > #X add Preset25; > #X add Preset26; > #X add Preset27; > #X add Preset28; > #X add Preset29; > #X add Preset30; > #X add Preset31; > #X add Preset32; > #X prefix_set 0 0 0; > #P window setfont Arial 9.; > #N vpatcher 40 55 355 388; > #P window setfont Arial 9.; > #P window linecount 1; > #P newex 55 223 24 131137545 t 32; > #P newex 57 200 30 131137545 sel 1; > #P newex 58 179 27 131137545 > 32; > #P newex 92 223 19 131137545 t 1; > #P newex 94 200 30 131137545 sel 1; > #P newex 95 179 27 131137545 < 1; > #P newex 165 167 19 131137545 t b; > #P newex 165 188 81 131137545 s ctlpsetchanged; > #P outlet 146 246 15 0; > #N comlet dec; > #P inlet 146 48 15 0; > #N comlet inc; > #P inlet 185 47 15 0; > #N comlet value; > #P inlet 107 49 15 0; > #P window linecount 0; > #P newex 146 117 34 131137545 t b -1; > #P newex 185 117 29 131137545 t b 1; > #P newex 146 146 40 131137545 accum; > #P window setfont "Sans Serif" 9.; > #P comment 54 255 70 196617 clipping to keep the accum in the proper > range; > #P connect 14 0 15 0; > #P connect 13 0 14 0; > #P fasten 1 0 13 0 151 170 63 170; > #P connect 11 0 12 0; > #P connect 10 0 11 0; > #P fasten 1 0 10 0 151 170 100 170; > #P connect 6 0 3 0; > #P fasten 4 0 1 0 112 141 151 141; > #P fasten 12 0 1 0 90 246 51 252 34 252 34 126 85 113; > #P fasten 15 0 1 0 52 246 42 246 42 137 93 124; > #P connect 3 0 1 0; > #P fasten 2 0 1 0 190 139 151 139; > #P connect 1 0 7 0; > #P fasten 3 1 1 1 175 139 166 139; > #P fasten 2 1 1 1 209 139 166 139; > #P fasten 1 0 9 0 151 164 170 164; > #P connect 9 0 8 0; > #P connect 5 0 2 0; > #P pop; > #P newobj 238 294 44 131137545 p incdec; > #P window setfont "Sans Serif" 10.; > #P comment 416 56 297 196618 a decent way of creating an interface > for pattrstorage.; > #P window setfont "Sans Serif" 9.; > #P comment 62 193 100 196617 your interface; > #P user panel 47 96 125 120; > #X brgb 191 191 191; > #X frgb 0 0 0; > #X border 1; > #X rounded 0; > #X shadow 0; > #X done; > #P connect 22 1 6 0; > #P connect 23 1 7 0; > #P connect 5 0 19 0; > #P fasten 19 1 11 0 145 258 86 258; > #P connect 19 0 4 0; > #P connect 11 0 21 0; > #P connect 21 1 17 0; > #P connect 24 1 8 0; > #P connect 11 1 21 1; > #P connect 25 1 9 0; > #P connect 16 0 21 2; > #P connect 26 1 10 0; > #P connect 21 0 19 1; > #P fasten 3 0 21 3 202 316 146 322; > #P fasten 4 0 34 0 86 305 158 305; > #P fasten 4 1 34 1 133 305 222 305; > #P fasten 35 0 3 0 355 506 313 506 313 421 335 283 243 283; > #P fasten 34 1 3 0 222 349 233 349 233 292 243 277; > #P fasten 28 0 3 1 63 288 260 288; > #P fasten 27 0 3 2 193 285 277 285; > #P connect 3 0 12 0; > #P fasten 3 0 20 0 243 317 347 317; > #P fasten 15 0 5 0 355 482 327 482 327 405; > #P connect 20 0 5 0; > #P fasten 14 0 5 0 474 418 347 418; > #P fasten 13 0 5 0 434 418 347 418; > #P connect 5 0 18 0; > #P connect 18 0 15 0; > #P connect 15 0 35 0; > #P fasten 21 0 20 1 86 371 405 371; > #P fasten 19 1 20 1 145 256 405 256; > #P fasten 34 0 20 1 158 366 405 366; > #P hidden connect 40 0 41 0; > #P hidden connect 41 0 39 0; > #P window clipboard copycount 44; > > > -- > * * * * > The Altamont > 2 oz light rum > 3/4 oz lime juice > 1/2 oz orange cura?ao > 1/4 oz orgeat > splash of pernod > handful of fresh mint leaves > shake contents vigorously with ice. > Strain well into a chilled cocktail glass. > * * * * > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp barry threw Media Art and Technology San Francisco, CA Work: 857-544-3967 Email: bthrew (at) gmail (dot) com Web: www.barrythrew.com From dkimcg at gmail.com Sat Mar 1 14:21:37 2008 From: dkimcg at gmail.com (Don K) Date: Sat Mar 1 14:21:41 2008 Subject: [maxmsp] Re: [sharingisfun] a decent pattrstorage interface In-Reply-To: <202ea.47c99432@www.cycling74.com> Message-ID: <20303.47c9c8e1@www.cycling74.com> I get desel: No such object And couldn't find it in the maxobjects database either. -- -DonK From kjg at msmrz.net Sat Mar 1 14:53:43 2008 From: kjg at msmrz.net (Klaas-Jan Govaart) Date: Sat Mar 1 14:53:49 2008 Subject: [maxmsp] Re: clumsy maths question In-Reply-To: <202cf.47c8fe68@www.cycling74.com> Message-ID: <20309.47c9d067@www.cycling74.com> Quote: s.k. wrote on Sat, 01 March 2008 07:57 ---------------------------------------------------- > so im trying to signal-control the cutoff of the svf~. since im new to scaling signals, i have a question which may sound funny to some of you but hey i'll take the chance to make a fool of myself :) > > basically what i need to know is: if i multiply a logarithmically decaying signal by whatever value, will the output still be logarithmic? yes > example: click~ + slide~ to make a simple logarithmic AD envelope, then multiply the outcoming signal by 200, then offset it by 20. if i connect that signal to the svf~'s cutoff input, does that mean the filter's cutoff freq. will go from 200Hz to 20Hz logarithmically? it will go to from 20 to 220Hz and yes the shape of the curve will remain the same. Just scaled/offset. From nik at limemachine.com Sat Mar 1 17:02:20 2008 From: nik at limemachine.com (Nick Inhofe) Date: Sat Mar 1 17:02:24 2008 Subject: [maxmsp] Re: Audio signal summation and level meters? In-Reply-To: <20300.47c9c786@www.cycling74.com> Message-ID: <20326.47c9ee8c@www.cycling74.com> multiply all of your signals by 1 / # of signals. In your example, multiply by 1/8 or 0.125. Its easiest to just sum all of the signals with one *~ box- #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 597 321 23 196617 bad; #P user ezdac~ 340 252 384 285 0; #P user meter~ 596 301 676 314 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P newex 596 244 35 196617 *~ 1.; #P flonum 113 245 89 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P user meter~ 84 301 164 314 50 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3; #P button 101 161 15 0; #P newex 596 80 67 196617 cycle~ 1000; #P newex 522 80 67 196617 cycle~ 1000; #P newex 449 80 67 196617 cycle~ 1000; #P newex 375 80 67 196617 cycle~ 1000; #P newex 305 80 67 196617 cycle~ 1000; #P newex 231 80 67 196617 cycle~ 1000; #P newex 158 80 67 196617 cycle~ 1000; #P newex 84 80 67 196617 cycle~ 1000; #P newex 101 188 60 196617 loadmess 8; #P newex 101 216 31 196617 !/ 1.; #P newex 84 244 27 196617 *~; #P comment 91 320 30 196617 good; #P fasten 11 0 1 0 601 126 89 126; #P fasten 11 0 15 0 601 170 601 170; #P fasten 10 0 1 0 527 126 89 126; #P fasten 10 0 15 0 527 126 601 126; #P fasten 9 0 1 0 454 126 89 126; #P fasten 9 0 15 0 454 126 601 126; #P fasten 8 0 1 0 380 126 89 126; #P fasten 8 0 15 0 380 126 601 126; #P fasten 7 0 1 0 310 126 89 126; #P fasten 7 0 15 0 310 126 601 126; #P fasten 6 0 1 0 236 125 89 125; #P fasten 6 0 15 0 236 126 601 126; #P fasten 5 0 1 0 163 126 89 126; #P fasten 5 0 15 0 163 126 601 126; #P fasten 4 0 1 0 89 170 89 170; #P fasten 4 0 15 0 89 126 601 126; #P connect 2 0 1 1; #P fasten 2 0 14 0 106 239 118 239; #P connect 15 0 16 0; #P connect 1 0 13 0; #P connect 12 0 3 0; #P connect 3 0 2 0; #P window clipboard copycount 19; From martini1 at gmx.at Sat Mar 1 18:45:29 2008 From: martini1 at gmx.at (Martin Ritter) Date: Sat Mar 1 18:45:32 2008 Subject: [maxmsp] Re: Switching a bpatcher: loading new bpatcher from a file In-Reply-To: <202eb.47c99b8f@www.cycling74.com> Message-ID: <20333.47ca06b8@www.cycling74.com> Not sure if this is what you mean... but this is from the tutorial... Hope this helps. #P window setfont "Fixedwidth Serif" 10.; #P window linecount 3; #P comment 156 42 171 1441802 2. click on the dump message to replace bpatch2 with bpatch1.; #P window linecount 1; #P message 192 82 38 1441802 write; #P message 158 82 32 1441802 dump; #N coll bpatch_replace; #T flags 1 0; #T 0 script delete mybpatcher; #T 1 script new mybpatcher bpatcher 8 71 105 90 0 0 bpatch1 1; #T 2 script connect num_topleft 0 mybpatcher 0; #T 3 script connect num_topright 0 mybpatcher 1; #T 4 script connect mybpatcher 0 num_bottom 0; #P newobj 158 104 122 1441802 coll bpatch_replace; #P window linecount 4; #P message 19 225 343 1441802 script delete mybpatcher \, script new mybpatcher bpatcher 8 71 105 90 0 0 bpatch2 1 \, script connect num_topleft 0 mybpatcher 0 \, script connect num_topright 0 mybpatcher 1 \, script connect mybpatcher 0 num_bottom 0; #P window linecount 1; #N thispatcher; #Q end; #P newobj 19 289 73 1441802 thispatcher; #B color 5; #P number 8 166 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname num_bottom; #P number 103 51 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname num_topright; #P number 8 51 35 10 0 0 0 22 0 0 0 221 221 221 222 222 222 0 0 0; #P objectname num_topleft; #P window linecount 5; #P comment 172 134 112 1441802 used colls to save screen space and reduce confusion when scripting.; #P window linecount 2; #P comment 20 198 198 1441802 1. click on the message box to replace bpatch 1 with bpatch2; #P bpatcher 8 71 105 90 0 0 bpatch1.pat 1; #P objectname mybpatcher; #P connect 0 0 5 0; #P connect 4 0 0 1; #P connect 3 0 0 0; #P connect 7 0 6 0; #P fasten 8 0 6 0 163 192 365 192 365 282 24 282; #P fasten 10 0 8 0 197 101 163 101; #P connect 9 0 8 0; #P window clipboard copycount 12; From arthur at sauer.demon.nl Sat Mar 1 21:06:18 2008 From: arthur at sauer.demon.nl (Arthur Sauer) Date: Sat Mar 1 21:06:23 2008 Subject: [maxmsp] Recallmulti bug or wish Message-ID: Is this a bug or is it a wish? I want to be able to use recallmulti while using the interpolation settings with pattrstorage. Now recallmulti uses only linear interpolation. At the moment a workaround is not possible especially since I use large numbers of faders that are created by a script. See the patch to understand why a workaround is not possible. Would it be possible to implement the other types of interpolation? max v2; #N vpatcher 14 59 864 456; #P origin -242 -6; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 520 39 55 196617 deactivate; #P toggle 503 39 15 0; #P message 503 60 117 196617 active slideorswitch \$1; #P window linecount 9; #P comment 401 39 100 196617 There is no workaround since you have to deactivate the slider to exclude it from recallmulti which makes it impossible to use it with crossfade...; #P window linecount 4; #P comment 198 39 100 196617 when you use recallmulti the threshold is not used.; #P window linecount 1; #P comment 341 39 55 196617 recallmulti; #P newex 293 111 54 196617 pack 0. 0.; #P newex 293 89 27 196617 + 1.; #P newex 337 89 27 196617 + 2.; #P newex 337 69 30 196617 !- 1.; #P flonum 303 39 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 664 128 43 196617 store 2; #P message 738 128 43 196617 store 1; #P message 710 128 26 196617 127; #P message 783 128 14 196617 0; #P number 735 315 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 102 39 35 9 1. 2. 3 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 510 103 48 196617 loadbang; #P message 510 128 151 196617 interp slideorswitch thresh 0.5; #P message 293 132 89 196617 recallmulti \$1 \$2; #P newex 503 201 67 196617 pattrstorage; #X interp slideorswitch 2 0.5; #X active slideorswitch 0; #X client_rect 668 76 1308 316; #X storage_rect 24 74 664 314; #P objectname u404000003; #P newex 661 337 170 196617 pattr slideorswitch @bindto slider1; #X prestore 1 0 102; #P objectname slideorswitch; #P user uslider 735 160 18 128 128 1 0 0; #P objectname slider1; #P comment 140 39 55 196617 crossfade; #P window linecount 3; #P comment 0 39 100 196617 when you crossfade between presets the threshold is used.; #P window linecount 1; #P comment 79 210 360 196617 how much better it would be if recallmulti would use the interpolationsettings!; #P window linecount 2; #P comment 539 149 100 196617 interpolationsetting: threshold = 0.5; #P window linecount 1; #P comment 665 108 100 196617 make two presets; #P window linecount 3; #P comment 639 218 94 196617 it should switch but it slides using recallmulti; #P connect 18 0 21 0; #P connect 21 0 22 0; #P connect 22 0 9 0; #P connect 18 0 19 0; #P connect 19 0 20 0; #P connect 20 0 22 1; #P connect 27 0 26 0; #P fasten 12 0 8 0 107 159 508 159; #P fasten 26 0 8 0 508 159 508 159; #P fasten 9 0 8 0 298 159 508 159; #P fasten 16 0 8 0 743 146 508 146; #P fasten 17 0 8 0 669 146 508 146; #P fasten 10 0 8 0 515 146 508 146; #P connect 11 0 10 0; #P fasten 11 0 17 0 515 123 669 123; #P fasten 11 0 15 0 515 123 715 123; #P connect 14 0 6 0; #P connect 15 0 6 0; #P connect 6 0 13 0; #P fasten 11 0 16 0 515 123 743 123; #P fasten 11 0 14 0 515 123 788 123; #P pop; > | Arthur Sauer | | < -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/maxmsp/attachments/20080302/282a9ea3/attachment.htm From alljvkr at jvkr.nl Sat Mar 1 23:38:35 2008 From: alljvkr at jvkr.nl (jvkr) Date: Sat Mar 1 23:38:39 2008 Subject: [maxmsp] Re: Re: Random count~ bangs? In-Reply-To: <202fc.47c9c601@www.cycling74.com> Message-ID: <2033c.47ca4b6a@www.cycling74.com> > its working now thanks for your help, i set the MAX SCHEDULER IN OVERDRIVE and SCHEDULE IN AUDIO INTERRUPT to on. but im unsure what these settings do and if they should be turned to on. The explanation of these concepts is covered in the msp-tutorials-and-topics. What happens in your patch is that before count~ has had the chance to evaluate the stop message, it has repeated its count to 255 a number of times. The simplest fix is to remove the upper boundary to the count~. In these cases the use of capture~ is helpful. _ johan From martini1 at gmx.at Sun Mar 2 00:01:01 2008 From: martini1 at gmx.at (Martin Ritter) Date: Sun Mar 2 00:01:08 2008 Subject: [maxmsp] Re: Comparing current value and previous value in a list In-Reply-To: <202da.47c947c9@www.cycling74.com> Message-ID: <2033d.47ca50ac@www.cycling74.com> I am not sure if you want to compare two consecutive numbers or all numbers of your list with the current one... comparing two numbers is easy (see patch), also the biggest number out of a list isn't that hard (patch again) - I am sure there is a more efficient way, but it's late... Hope this helps and gets you started. #P window setfont "Sans Serif" 9.; #P number 69 160 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P toggle 156 34 15 0; #P window linecount 1; #P newex 171 34 52 196617 metro 50; #P newex 171 53 65 196617 drunk 128 7; #P number 240 291 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 252 100 15 0; #P newex 220 168 30 196617 t b b; #P window linecount 2; #P comment 283 283 100 196617 output biggest number of last 30; #P window linecount 1; #P newex 240 270 27 196617 i; #P number 188 251 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P message 220 202 14 196617 0; #P newex 220 147 38 196617 sel 29; #P newex 188 222 42 196617 peak; #P newex 171 96 27 196617 t b i; #N counter 0 0 29; #X flags 0 0; #P newobj 220 126 77 196617 counter 0 0 29; #P number 171 75 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 39 210 31 0; #P newex 39 185 32 196617 sel 1; #P newex 39 160 30 196617 >= 4; #P newex 39 125 34 196617 abs 0; #P newex 39 97 27 196617 - 0; #P newex 39 65 48 196617 bucket 2; #P number 39 40 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P window linecount 4; #P comment 21 244 100 196617 bang if difference between two numbers is certain threshold; #P connect 23 0 5 1; #P connect 5 0 6 0; #P fasten 4 0 5 0 44 151 44 151; #P connect 11 0 14 0; #P fasten 11 0 15 1 193 247 262 247; #P connect 22 0 21 0; #P connect 21 0 20 0; #P connect 20 0 8 0; #P fasten 19 0 1 0 245 314 136 314 136 30 44 30; #P connect 15 0 19 0; #P connect 18 0 9 2; #P connect 1 0 2 0; #P connect 2 0 3 0; #P connect 3 0 4 0; #P connect 6 0 7 0; #P fasten 2 1 3 1 82 89 61 89; #P connect 8 0 10 0; #P connect 10 1 11 0; #P fasten 10 0 9 0 176 120 225 120; #P connect 9 0 12 0; #P connect 12 0 17 0; #P connect 17 0 13 0; #P connect 13 0 11 1; #P fasten 17 1 15 0 245 191 245 191; #P window clipboard copycount 24; From max at razorfrog.com Sun Mar 2 00:05:24 2008 From: max at razorfrog.com (max) Date: Sun Mar 2 00:05:31 2008 Subject: [maxmsp] An easy one - how to increase/decrease a variable Message-ID: <2033e.47ca51b2@www.cycling74.com> I'm fairly new to Max, and haven't worked any with variables in it before. So this should be pretty easy to anyone with some experience: I have two incoming bangs, I'm hoping to have one increase the amount of a integer variable, and the other decrease the integer. Probably pretty simple, right? Any help is appreciated. Cheers! From dmalone at roosevelt.edu Sun Mar 2 00:28:38 2008 From: dmalone at roosevelt.edu (don malone) Date: Sun Mar 2 00:28:45 2008 Subject: [maxmsp] Re: An easy one - how to increase/decrease a variable In-Reply-To: <2033e.47ca51b2@www.cycling74.com> Message-ID: <2033f.47ca5725@www.cycling74.com> look at the helpscreen for IncDec -- it takes all of us LoneMonad http://faculty.roosevelt.edu/malone/default.htm From max at razorfrog.com Sun Mar 2 00:44:57 2008 From: max at razorfrog.com (max) Date: Sun Mar 2 00:45:14 2008 Subject: [maxmsp] Re: An easy one - how to increase/decrease a variable In-Reply-To: <2033e.47ca51b2@www.cycling74.com> Message-ID: <20340.47ca5af9@www.cycling74.com> perfect! thank you! From spondoo at hotmail.com Sun Mar 2 04:54:49 2008 From: spondoo at hotmail.com (Adam) Date: Sun Mar 2 04:54:54 2008 Subject: [maxmsp] Re: Comparing current value and previous value in a list In-Reply-To: <2033d.47ca50ac@www.cycling74.com> Message-ID: <20343.47ca9588@www.cycling74.com> hi thanks, I'm having a look at your patch but I'm not 100% sure of what is going on? If you have time could you explain it please! Thanks! From spondoo at hotmail.com Sun Mar 2 05:49:10 2008 From: spondoo at hotmail.com (Adam) Date: Sun Mar 2 05:49:16 2008 Subject: [maxmsp] Re: Comparing current value and previous value in a list In-Reply-To: <20343.47ca9588@www.cycling74.com> Message-ID: <20345.47caa246@www.cycling74.com> Hi sorry just had a look and I understand what is going on now! Based on that patch, would it be possible to create something that takes in acceleration values and only sends an output if they fulfill a condition. That the acceleration value is between the maximum and minimum trigger threshold, e.g. >= 120 && <=130. If it is between the threshold, before the acceleration value is sent out, It needs to check if it has increased by more than 20 after less than 30 milliseconds since the last hit and if it has then, its value will be subtracted by a certain amount before being outputted! From notyouraveragejoe at gmail.com Sun Mar 2 05:56:44 2008 From: notyouraveragejoe at gmail.com (Joe Bicker) Date: Sun Mar 2 05:56:55 2008 Subject: [maxmsp] stop counter from reseting itself In-Reply-To: <33FE679F-A2AE-47F2-9C71-FC4C30C57E1F@well.com> References: <33FE679F-A2AE-47F2-9C71-FC4C30C57E1F@well.com> Message-ID: <9410d3a0803020456l5576c9fek4814658cad934da0@mail.gmail.com> just use the "finished" bang to trigger a gate. When you need to count again, use a bang to reset the gate and the counter. On 01/03/2008, Chris Muir wrote: > > > On Mar 1, 2008, at 12:05 PM, Wade wrote: > > > Is there a way to tell counter to NOT reset when it reaches its > > maximum? In other words, STOP counting bangs? > > > > I'm pretty sure there isn't. > > > Chris Muir > cbm@well.com > > > > > > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.cycling74.com/pipermail/maxmsp/attachments/20080302/b9978377/attachment.htm From Stefan-Tiedje at addcom.de Sun Mar 2 06:03:24 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sun Mar 2 06:03:28 2008 Subject: [maxmsp] Looping record In-Reply-To: <47C90CCA.2090102@addcom.de> References: <2025f.47c7afbd@www.cycling74.com> <47C90CCA.2090102@addcom.de> Message-ID: <47CAA59C.10905@addcom.de> Stefan Tiedje schrieb: > Dan schrieb: >> Is there a way to avoid this? I'd like to be able to record into a >> buffer like this, turn off the DAC, and then turn it back on and >> continue to hear my loop. > > look at append mode and loop mode, both explained in the help... > Switching audio on/off is like sending a new 1... Another note to your problem: Never use the audio on/off toggle as performance control. There are always other ways to achieve what you want to do... Better do it clean from ground up... Good luck -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From Stefan-Tiedje at addcom.de Sun Mar 2 06:03:40 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sun Mar 2 06:03:50 2008 Subject: [maxmsp] Conditional objects In-Reply-To: <202e8.47c98579@www.cycling74.com> References: <202e8.47c98579@www.cycling74.com> Message-ID: <47CAA5AC.10905@addcom.de> Adam schrieb: > Hi, I want to create a patch that constantly takes incoming > acceleration data as an input and only outputs the incoming > acceleration values that satisfy a number of conditions. Your two threads seem to adress the same problems, I'll stay here... There are all sorts of compare objects, and there is coll as simple data collector... > I'm not sure if there are ways to do this using existing max msp > objects. Yes Max is ideal. For sensor data the plain Max objects are fine. But how to do it is a bit your work. The ideas you outline seem reasonable. If you are not completely new to Max, have a look at the FTM library from Ircam, its free and deals a lot with these kind of problems... Good luck... -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From Stefan-Tiedje at addcom.de Sun Mar 2 06:06:33 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sun Mar 2 06:06:35 2008 Subject: [maxmsp] stop counter from reseting itself In-Reply-To: References: Message-ID: <47CAA659.9000602@addcom.de> Wade schrieb: > I could create a gate to stop it from counting bangs but I'm wondering > if that might superfluous if there's a simpler way. I'd say its absolutely simple enough, I would not want an overhead which I personally never use for such a thing. If needed, a gate is just one more object, don't be lazy... Stefan -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From spondoo at hotmail.com Sun Mar 2 06:06:37 2008 From: spondoo at hotmail.com (Adam) Date: Sun Mar 2 06:06:42 2008 Subject: [maxmsp] Comparison Operators Message-ID: <20349.47caa65c@www.cycling74.com> Hi, Maybe a simple question, but how would you create a comparison operator that could check if the number in a number box (in its left inlet)is >= 120 and <=130. Also, if the number in the numberbox meets the conditions how do you send that exact value as an output instead of just a 1 or 0 for true or false? Thanks From gary.nelson at oberlin.edu Sun Mar 2 06:18:12 2008 From: gary.nelson at oberlin.edu (Gary Lee Nelson) Date: Sun Mar 2 06:18:24 2008 Subject: [maxmsp] Reading Manuals: friendly advice - not complaint In-Reply-To: <20343.47ca9588@www.cycling74.com> Message-ID: I'm retired from Oberlin but the teacher in me still kicks in now and then. Reading manuals is not a waste of time. There have been several recent posts that are almost immediately answered by referring the questioner to a basic object. I love newbies but this makes learning max a very long and frustrating process. Here what I did/do... First, read the Max/MSP manuals from cover to cover without trying to get every detail. This gives a general understanding of what is there. Then, periodically, skim the manual reading only the headers. On the right is the name of the object and on the left is a brief description of the object. If the object has a graphic representation in the middle of the header. I do this about once a week and it takes 10-15 minutes - less each time I skim. I also skim the bookmarks in the PDF files stopping to read about objects that I don't recognize. What this does is remind me of what is in the toolkit. When a need arises for a particular function I can usually answer by telling myself that that function does exist. Saves me the time in trying to write it myself. I do the same thing - less perfectly (right, ej, st?) - with the third party packages that I use regularly. Another approach is to use maxobjects.com as a thesaurus. Try searching "increment decrement." I got seven items including IncDec with some descriptions running to more than 10 lines. It also included gak, a genetic algorithm kit that I did not know about. So (sorry to use my professor voice) but I learned something useful while looking for something else. Now THAT saves time! Cheers Gary Lee Nelson Oberlin College www.timara.oberlin.edu/GaryLeeNelson On 3/2/08 6:54 AM, "Adam" wrote: > > hi thanks, I'm having a look at your patch but I'm not 100% sure of what is > going on? If you have time could you explain it please! > > Thanks! > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp From c74-mailinglists at e--j.com Sun Mar 2 06:23:22 2008 From: c74-mailinglists at e--j.com (Emmanuel Jourdan) Date: Sun Mar 2 06:23:34 2008 Subject: [maxmsp] Comparison Operators In-Reply-To: <20349.47caa65c@www.cycling74.com> References: <20349.47caa65c@www.cycling74.com> Message-ID: <550DDF7E-1448-4458-90FA-4B7604B5D9E8@e--j.com> On 2 mars 08, at 14:06, Adam wrote: > Maybe a simple question, but how would you create a comparison > operator that could check if the number in a number box (in its left > inlet)is >= 120 and <=130. > > Also, if the number in the numberbox meets the conditions how do you > send that exact value as an output instead of just a 1 or 0 for true > or false? [>=] and <=] do comparaisons. [&&] is a logical and which is true when both input are true. You might have a look to the tutorials which cover those aspect pretty well. Cheers, ej From gusanomaxlist at googlemail.com Sun Mar 2 07:01:01 2008 From: gusanomaxlist at googlemail.com (gusanomaxlist) Date: Sun Mar 2 07:01:04 2008 Subject: [maxmsp] Re: Switching a bpatcher: loading new bpatcher from a file In-Reply-To: <202eb.47c99b8f@www.cycling74.com> Message-ID: <20352.47cab31d@www.cycling74.com> ---------------------------------------------------- >how to load a new bpatcher from a file. ---------------------------------------------------- Hi. Here it is: #P bpatcher 116 83 274 196 0 0 1; #P objectname mybpatcher; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 202 344 213 196617 script sendbox mybpatcher replace expr.help; #P comment 115 68 158 196617 scripting name: mybpatcher; #N thispatcher; #Q end; #P newobj 202 370 61 196617 thispatcher; #P message 156 325 213 196617 script sendbox mybpatcher replace mtof.help; #P comment 50 331 100 196617 try these ->; #P connect 4 0 2 0; #P connect 1 0 2 0; #P window clipboard copycount 6; ciao From larsull at web.de Sun Mar 2 07:44:07 2008 From: larsull at web.de (i.te) Date: Sun Mar 2 07:44:11 2008 Subject: [maxmsp] sample hold Message-ID: <20356.47cabd34@www.cycling74.com> I'm sure this is very simple, but i cant find the right object for this.. how can i sample and hold values and put them out only when a bang comes? thanks From gary.nelson at oberlin.edu Sun Mar 2 08:09:46 2008 From: gary.nelson at oberlin.edu (Gary Lee Nelson) Date: Sun Mar 2 08:09:51 2008 Subject: [maxmsp] sample hold In-Reply-To: <20356.47cabd34@www.cycling74.com> Message-ID: Case in point. See my recent post "Reading Manuals: friendly advice - not complaint." The object is, of course, sah~. Took me <= 15 seconds to find it in the MSP reference manual (pretending that I didn't already know). Cheers Gary Lee Nelson Oberlin College www.timara.oberlin.edu/GaryLeeNelson On 3/2/08 9:44 AM, "i.te" wrote: > > I'm sure this is very simple, but i cant find the right object for this.. how > can i sample and hold values and put them out only when a bang comes? > thanks > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp From dmalone at roosevelt.edu Sun Mar 2 08:20:35 2008 From: dmalone at roosevelt.edu (don malone) Date: Sun Mar 2 08:20:38 2008 Subject: [maxmsp] Re: Comparison Operators In-Reply-To: <20349.47caa65c@www.cycling74.com> Message-ID: <20358.47cac5c2@www.cycling74.com> take a look at [split] -- it takes all of us LoneMonad http://faculty.roosevelt.edu/malone/default.htm From pdelges at radiantslab.com Sun Mar 2 08:39:46 2008 From: pdelges at radiantslab.com (Patrick Delges) Date: Sun Mar 2 08:40:10 2008 Subject: [maxmsp] sample hold In-Reply-To: References: Message-ID: <3d75afc1291efadfd3574b2794b7835a@radiantslab.com> On 02-mars-08, at 16:09, Gary Lee Nelson wrote: > Case in point. See my recent post "Reading Manuals: friendly advice - > not > complaint." The object is, of course, sah~. Took me <= 15 seconds to > find > it in the MSP reference manual (pretending that I didn't already know). [sah~ ] is an MSP object, and doesn't respond to the bang message. [i ], [f ], [zl reg] or [pv ] are also sample and hold units. Choose the one you need. p >> I'm sure this is very simple, but i cant find the right object for >> this.. how >> can i sample and hold values and put them out only when a bang comes? >> thanks _____________________________ Patrick Delges Centre de Recherches et de Formation Musicales de Wallonie http://www.crfmw.be/max From cbm at well.com Sun Mar 2 10:05:13 2008 From: cbm at well.com (Chris Muir) Date: Sun Mar 2 10:05:19 2008 Subject: [maxmsp] stop counter from reseting itself In-Reply-To: <9410d3a0803020456l5576c9fek4814658cad934da0@mail.gmail.com> References: <33FE679F-A2AE-47F2-9C71-FC4C30C57E1F@well.com> <9410d3a0803020456l5576c9fek4814658cad934da0@mail.gmail.com> Message-ID: On Mar 2, 2008, at 4:56 AM, Joe Bicker wrote: > just use the "finished" bang to trigger a gate. When you need to > count again, use a bang to reset the gate and the counter. The original poster asked if it was possible to do this WITHOUT using a gate. Chris Muir cbm@well.com From larsull at web.de Sun Mar 2 11:19:46 2008 From: larsull at web.de (i.te) Date: Sun Mar 2 11:19:49 2008 Subject: [maxmsp] Re: sample hold In-Reply-To: <20356.47cabd34@www.cycling74.com> Message-ID: <2036c.47caefc2@www.cycling74.com> thanks for reply, i found the solution with the integer object. From pvillez at gmail.com Sun Mar 2 11:34:41 2008 From: pvillez at gmail.com (Pere Josep Villez) Date: Sun Mar 2 11:34:50 2008 Subject: [maxmsp] stop counter from reseting itself In-Reply-To: References: <33FE679F-A2AE-47F2-9C71-FC4C30C57E1F@well.com> <9410d3a0803020456l5576c9fek4814658cad934da0@mail.gmail.com> Message-ID: THis any good Doesn;t use counter but line Straight from the timing tricks in the help files max v2; #N vpatcher 10 59 695 585; #P window setfont "Sans Serif" 9.; #P window linecount 6; #P comment 287 262 142 196617 In this case the number 0 is sent out twice immediately (once for the int message and once for the list message) \, but the ramp arrives at the time specified.; #P window linecount 3; #P comment 255 140 171 196617 Or you can trick line by specifying a total time that is a little more than you want (less than one grain more).; #P number 232 323 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P number 242 262 42 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 232 140 15 0; #P window linecount 1; #P newex 232 298 34 196617 timer; #P message 242 206 82 196617 0 \, 10 5001 500; #P newex 242 235 40 196617 line; #P connect 3 0 2 0; #P connect 2 0 5 0; #P connect 3 0 1 0; #P connect 1 0 0 0; #P connect 0 0 4 0; #P connect 0 1 2 1; #P pop; On 02/03/2008, Chris Muir wrote: > > On Mar 2, 2008, at 4:56 AM, Joe Bicker wrote: > > > just use the "finished" bang to trigger a gate. When you need to > > count again, use a bang to reset the gate and the counter. > > > > The original poster asked if it was possible to do this WITHOUT using > a gate. > > > Chris Muir > cbm@well.com > > > > > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp > -- Today I have a pixel deficiency From Stefan-Tiedje at addcom.de Sun Mar 2 11:40:19 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sun Mar 2 11:40:37 2008 Subject: [maxmsp] Re: Audio signal summation and level meters? In-Reply-To: <20326.47c9ee8c@www.cycling74.com> References: <20326.47c9ee8c@www.cycling74.com> Message-ID: <47CAF493.4040600@addcom.de> Nick Inhofe schrieb: > multiply all of your signals by 1 / # of signals. In your example, > multiply by 1/8 or 0.125. Its easiest to just sum all of the signals > with one *~ box- This is a pretty bad advice, as it might be ok for two, but for more it will create much too low volume. If the signals are not correlated or syncronized, the likelyhood that all voices will show the maximum level at the same time is fast going to zero, this theoretical possibilty has no practical relevance... Usually each doubling of voices needs a decrease of 3 dB. But I wouldn't bother at all. It's much easier to just place a volume control before the dac~s. Let your ear decide... Internally you just can't clip, it will never... The volume control as last pass is all you need... By the way, the patch posted showed a lack of knowledge about the principle of poly~... I think the help file and the tutorials should be enough to get an idea what poly~ is about, just take your time and experiment... Stefan -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From Stefan-Tiedje at addcom.de Sun Mar 2 11:40:40 2008 From: Stefan-Tiedje at addcom.de (Stefan Tiedje) Date: Sun Mar 2 11:40:47 2008 Subject: [maxmsp] Comparison Operators In-Reply-To: <20349.47caa65c@www.cycling74.com> References: <20349.47caa65c@www.cycling74.com> Message-ID: <47CAF4A8.2030601@addcom.de> Adam schrieb: > Maybe a simple question, but how would you create a comparison > operator that could check if the number in a number box (in its left > inlet)is >= 120 and <=130. > > Also, if the number in the numberbox meets the conditions how do you > send that exact value as an output instead of just a 1 or 0 for true > or false? [split 120 130] -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|\-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com From ben_gilman at hotmail.com Sun Mar 2 12:04:25 2008 From: ben_gilman at hotmail.com (ben Gilman) Date: Sun Mar 2 12:04:33 2008 Subject: [maxmsp] Re: Re: Re: Re: IIR using buffir~ In-Reply-To: <2C3F466E-EC12-46FF-8C8A-A79A8B59E4D6@gmail.com> Message-ID: <20375.47cafa38@www.cycling74.com> > A time-domain convolution is actually combination of delay and gain. > (but with delay specified in samples, and all samples within the > window potentially represented) Buffir~ does a time-domain > convolution, so it is the same thing as a bunch of delay~ objects, > with the added benefit that you get gain control thrown in for free. excellent i suspected the buffir~ object performed as a multitap delay.does that mean that this patch describes the function of the filter at the following link. http://www.cycling74.com/forums/index.php?t=getfile&id=1231&rid=0&S=32e9fce9c159425eddbece03c5942629 #P window setfont "Sans Serif" 9.; #P window linecount 1; #P newex 90 59 61 196617 buffer~ ref; #P newex 9 5 48 196617 loadbang; #P message 9 33 85 196617 sizeinsamps 256; #P newex 9 59 79 196617 buffer~ CFw(k); #P newex 262 103 36 196617 edge~; #P newex 262 78 49 196617 ==~ 255; #P button 240 36 15 0; #P message 267 34 29 196617 stop; #P newex 250 56 70 196617 count~ 0 256; #P newex 195 328 27 196617 +~; #P newex 311 292 27 196617 +~; #P newex 104 292 27 196617 +~; #P newex 407 167 57 196617 index~ ref; #P newex 200 167 57 196617 index~ ref; #P newex 104 231 107 196617 buffir~ CFw(k) 0 255; #P newex 104 186 38 196617 sig~ 4; #P newex 104 208 106 196617 pow~; #P comment 211 194 51 196617 reference; #P newex 311 228 107 196617 buffir~ CFw(k) 0 255; #P newex 311 183 38 196617 sig~ 5; #P newex 311 205 106 196617 pow~; #P comment 419 190 51 196617 reference; #P comment 224 230 73 196617 control filter; #P comment 193 372 41 196617 output; #P window linecount 8; #P comment 10 81 100 196617 buffer~ CFw(k) is where 256 filter weights are stored these are calculated using a FXLMS algorithm that is not included in this patch.; #P connect 22 0 21 0; #P connect 22 0 24 0; #P fasten 16 0 11 0 255 144 205 144; #P connect 16 0 19 0; #P fasten 16 0 12 0 255 144 412 144; #P connect 23 0 22 0; #P connect 17 0 16 0; #P connect 18 0 16 0; #P connect 19 0 20 0; #P fasten 20 1 17 0 293 139 322 139 322 29 272 29; #P fasten 14 0 15 1 316 316 217 316; #P fasten 13 0 15 0 109 316 200 316; #P connect 10 0 13 0; #P connect 9 0 8 0; #P connect 8 0 10 0; #P connect 11 0 8 1; #P connect 6 0 14 0; #P connect 5 0 4 0; #P connect 4 0 6 0; #P connect 12 0 4 1; #P window clipboard copycount 25; > That all said, buffir~ is designed for very short IRs (256 samples or > less). Because it's so short, you're only going to hear its effects > in the frequency domain, rather than the time domain. All i need is 256 taps with 1 sample delays between, the effects of the filter do not need to be heard as it's a control filter. regards ben From spondoo at hotmail.com Sun Mar 2 12:12:33 2008 From: spondoo at hotmail.com (Adam) Date: Sun Mar 2 12:12:36 2008 Subject: [maxmsp] External objects Message-ID: <20376.47cafc20@www.cycling74.com> Hi I just downloaded "diff" an external max object, but I don't know where to put it. It came on its own, with no file extension, just as diff. The help file doesnt explain, I tried to put it inside the externals folder, but it just comes up with "no such object!" Any ideas? From gary.nelson at oberlin.edu Sun Mar 2 12:24:53 2008 From: gary.nelson at oberlin.edu (Gary Lee Nelson) Date: Sun Mar 2 12:25:01 2008 Subject: [maxmsp] sample hold In-Reply-To: <3d75afc1291efadfd3574b2794b7835a@radiantslab.com> Message-ID: I assumed he was sampling a signal. As for the bang, here is a modified sah~.help file complete with bang. #P button 255 186 15 0; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P message 256 209 74 196617 0 \, 1. 0.000001; #P newex 256 233 32 196617 line~; #P window setfont "Sans Serif" 18.; #P comment 15 25 106 196626 sah~; #B frgb 26 8 57; #P window setfont "Sans Serif" 9.; #P comment 15 51 292 196617 Sample-and-hold; #P user panel 10 21 400 50; #X brgb 226 250 200; #X frgb 0 0 0; #X border 0; #X rounded 0; #X shadow 0; #X done; #P message 180 375 27 196617 stop; #P message 106 375 65 196617 startwindow; #P newex 42 346 38 196617 cycle~; #P newex 42 318 48 196617 *~ 1000; #P newex 42 374 39 196617 *~ 0.2; #P flonum 42 179 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 42 212 39 196617 noise~; #P flonum 55 241 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 42 409 29 196617 dac~; #P newex 42 281 224 196617 sah~ 0.01; #B color 5; #P window linecount 5; #P comment 16 76 426 196617 The sah~ object accepts two signals. The left signal is the "input" and the right signal is the "control." When the control makes a transition from being at or below a the trigger value to being above the trigger value \, the input is sampled and its current value is output until another control transition occurs and the input is sampled again. The default threshold value is 0 \, but can be specified via a float in the left inlet or as an argument to sah~.; #P window linecount 2; #P comment 42 145 211 196617 You've heard it before: the classic arpeggiator \, made with two phasor~ objects; #P window linecount 1; #P comment 191 267 67 196617 control signal; #P comment 57 266 61 196617 input signal; #P window linecount 2; #P comment 94 318 129 196617 sah~ output used as the frequency of an oscillator; #P window linecount 1; #P comment 106 361 70 196617 ? start audio; #P comment 94 242 55 196617 set trigger; #P user panel 96 356 123 43; #X brgb 255 255 255; #X frgb 100 202 30; #X border 2; #X rounded 0; #X shadow 0; #X done; #P connect 12 0 11 0; #P connect 11 0 8 0; #P connect 10 0 8 0; #P connect 8 0 14 0; #P connect 14 0 15 0; #P connect 15 0 13 0; #P connect 13 0 9 0; #P fasten 16 0 9 0 111 403 47 403; #P fasten 17 0 9 0 185 403 47 403; #P connect 23 0 22 0; #P connect 22 0 21 0; #P connect 21 0 8 1; #P window clipboard copycount 24; On 3/2/08 10:39 AM, "Patrick Delges" wrote: > > On 02-mars-08, at 16:09, Gary Lee Nelson wrote: > >> Case in point. See my recent post "Reading Manuals: friendly advice - >> not >> complaint." The object is, of course, sah~. Took me <= 15 seconds to >> find >> it in the MSP reference manual (pretending that I didn't already know). > > [sah~ ] is an MSP object, and doesn't respond to the bang message. > [i ], [f ], [zl reg] or [pv ] are also sample and hold units. Choose > the one you need. > > p > >>> I'm sure this is very simple, but i cant find the right object for >>> this.. how >>> can i sample and hold values and put them out only when a bang comes? >>> thanks > > _____________________________ > Patrick Delges > > Centre de Recherches et de Formation Musicales de Wallonie > http://www.crfmw.be/max > > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp Cheers Gary Lee Nelson Oberlin College www.timara.oberlin.edu/GaryLeeNelson From themanwithnoname2006 at gmail.com Sun Mar 2 14:46:55 2008 From: themanwithnoname2006 at gmail.com (dx1200) Date: Sun Mar 2 14:47:00 2008 Subject: [maxmsp] Re: Ms.Pinky/Serato interface and Max In-Reply-To: <20223.47c71f39@www.cycling74.com> Message-ID: <2037e.47cb204e@www.cycling74.com> Thanks for the replies guys. I've got pretty much the same answers from the Serato forums. The interfaces will only work with Max on windows,boo to that shite. I'm using OSX though so that idea is out the window. Ms.Pinky do a nice little bundle on the M-audio conectiv and vinyl for $299. Think I'll go that route for the moment until I get the pennies together for something else. I may sell serato yet, although it'd be nice to keep it. Has any body links to or videos of Ms.Pinky controlling Max in other areas than a dj set up? Not the one's on the Ms.Pinky site,even though they are cool. I'm looking for more patches and ideas? I'm thinking of using it Ms.Pinky as part of my thesis and am looking for as much info as possible. Any more help appreciated... -- "between the notes that is where the music lives" Berlioz - genius! From smill at csf.edu Sun Mar 2 14:50:40 2008 From: smill at csf.edu (Steven Miller) Date: Sun Mar 2 14:51:21 2008 Subject: [maxmsp] Re: Re: Re: Re: IIR using buffir~ In-Reply-To: <20375.47cafa38@www.cycling74.com> References: <20375.47cafa38@www.cycling74.com> Message-ID: <7636528B-113E-4F8D-A04B-19C5C34400B4@csf.edu> Hi Ben, Just an FYI - A primary difference between a true multitap delay and convolution with [buffir~] is that each stage in convolution is a single-sample delay beyond the previous stage whereas with a multitap delay, each individual delay time is independently variable. It was unclear from the diagram and web-based info I could find how many taps were specified and what the delay times were intended to be. In retrospect, it could just as well have been a convolution with an unspecified number of stages. Best, Steven On Mar 2, 2008, at 7:04 PM, ben Gilman wrote: > > >> A time-domain convolution is actually combination of delay and gain. >> (but with delay specified in samples, and all samples within the >> window potentially represented) Buffir~ does a time-domain >> convolution, so it is the same thing as a bunch of delay~ objects, >> with the added benefit that you get gain control thrown in for free. > > excellent i suspected the buffir~ object performed as a multitap > delay.does that mean that this patch describes the function of the > filter at the following link. ---- Steven M. Miller Professor, Contemporary Music Program College of Santa Fe Home SFIFEM Atrium Sound Space OVOS CMP From martini1 at gmx.at Sun Mar 2 15:17:47 2008 From: martini1 at gmx.at (Martin) Date: Sun Mar 2 15:17:51 2008 Subject: [maxmsp] Re: Comparing current value and previous value in a list In-Reply-To: <20345.47caa246@www.cycling74.com> Message-ID: <20380.47cb278a@www.cycling74.com> Quote: spondoo@hotmail.com wrote on Sun, 02 March 2008 05:49 ---------------------------------------------------- > Hi sorry just had a look and I understand what is going on now! Based on that patch, would it be possible to create something that takes in acceleration values and only sends an output if they fulfill a condition. > > That the acceleration value is between the maximum and minimum trigger threshold, e.g. >= 120 && <=130. Your answer is in the question. Use >= and <=, or && or [split 120 130]. Look at the help-files for all of these and all the other associated objects. That should give you a good idea of what is possible... and you will have the satisfaction of having figured it out yourself rather than getting a patch from someone... > > If it is between the threshold, before the acceleration value is sent out, It needs to check if it has increased by more than 20 after less than 30 milliseconds since the last hit and if it has then, its value will be subtracted by a certain amount before being outputted! Maybe look at timer??? From dlehrich at gmail.com Sun Mar 2 15:37:10 2008 From: dlehrich at gmail.com (Dan) Date: Sun Mar 2 15:37:14 2008 Subject: [maxmsp] Re: Looping record In-Reply-To: <47CAA59C.10905@addcom.de> Message-ID: <20381.47cb2c15@www.cycling74.com> Thanks for the help, Stefan and avantronica.... i've got it working now. best, /dan From tomgalileo at mac.com Sun Mar 2 16:09:11 2008 From: tomgalileo at mac.com (TomGalileo) Date: Sun Mar 2 16:10:15 2008 Subject: [maxmsp] pmpd on max msp Message-ID: <21F9213E-9D82-4233-9337-AD2D7BC0FD49@mac.com> hello is there a way to have more information about pmpd objects argument in max/msp? i have studied and learned the documentation that refers to pd examples and in general...there are some examples patches provided with max/msp, and it looks that there is a different way of putting parameters in max/msp. it's quite long to figure it out. is there any doc related to arguments and parameters to be used in max/msp? any help appreciated regards tom From joe_perkins_1982 at hotmail.com Sun Mar 2 16:11:12 2008 From: joe_perkins_1982 at hotmail.com (Dchild) Date: Sun Mar 2 16:11:17 2008 Subject: [maxmsp] Re: Re: aka.iphone to control ableton In-Reply-To: <51058DAC-BF05-4A95-A2E9-35333163807D@mac.com> Message-ID: <20389.47cb3410@www.cycling74.com> Thanks tomgalileo How do i connect a noteout object to all the different buttons and sliders? Its fustrating cus i know exactly what i want to do but don't have any max experience. Could to post a step by step to asign a midi out message for one of the sliders. I normally pick things up when i have a working example. From dkimcg at gmail.com Sun Mar 2 16:29:48 2008 From: dkimcg at gmail.com (Don K) Date: Sun Mar 2 16:29:54 2008 Subject: [maxmsp] Re: Audio signal summation and level meters? In-Reply-To: <202fd.47c9c6ad@www.cycling74.com> Message-ID: <2038e.47cb386c@www.cycling74.com> Thanks Nick and Stefen. Nick's method is working well enough for the patch, but I was wondering about what Stefan brought up about it getting quiet. Thanks for the technical info and advice, Stefan. I'm still learning Max, still slowly going through tutorials, going off on a tangent for a while, then going back to where I left off in the tutorial, and repeat. So far, the "ah ha!" moments have come when I finally figure out what an object is capable of doing, but I'm still waiting for the "ah ha" for poly~. The instancing and voice allocation is still a bit confusing. But I just started playing around with poly this least week. At my current rate of an object per week, I should finish learning max some time in the 22nd century. :) I had a feeling I was using poly incorrectly...now I have to figure it out. -- -DonK From marius.schebella at gmail.com Sun Mar 2 17:11:52 2008 From: marius.schebella at gmail.com (marius schebella) Date: Sun Mar 2 17:12:01 2008 Subject: [maxmsp] pmpd on max msp In-Reply-To: <21F9213E-9D82-4233-9337-AD2D7BC0FD49@mac.com> References: <21F9213E-9D82-4233-9337-AD2D7BC0FD49@mac.com> Message-ID: <47CB4248.3070006@gmail.com> I used pmpd in max and had the impression that some settings, when given as arguments are just not working. I ended up sending the arguments with loadmess or loadbang on startup. also the "name" argument, to automatically link objects does not work, so you have to use line connections or send/recieves. there is also a similar library (msd) if you want to try, but it has less features. marius. TomGalileo wrote: > hello > is there a way to have more information about pmpd objects argument in > max/msp? > i have studied and learned the documentation that refers to pd examples > and in general...there are some examples patches provided with max/msp, > and it looks that there is a different way of putting parameters in > max/msp. > it's quite long to figure it out. > is there any doc related to arguments and parameters to be used in max/msp? > any help appreciated > > regards > > tom > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp > From cbm at well.com Sun Mar 2 17:16:13 2008 From: cbm at well.com (Chris Muir) Date: Sun Mar 2 17:16:19 2008 Subject: [maxmsp] Re: Audio signal summation and level meters? In-Reply-To: <2038e.47cb386c@www.cycling74.com> References: <2038e.47cb386c@www.cycling74.com> Message-ID: <4356FD4C-8378-4B0F-B240-D2D5D986B9B6@well.com> On Mar 2, 2008, at 3:29 PM, Don K wrote: > I had a feeling I was using poly incorrectly...now I have to figure > it out. I have a couple of simple examples of ways to use poly on my examples page: http://www.xfade.com/max/examples Chris Muir cbm@well.com From Thinksamuel at yahoo.com Sun Mar 2 17:23:33 2008 From: Thinksamuel at yahoo.com (Samuel Van Ransbeeck) Date: Sun Mar 2 17:23:38 2008 Subject: [maxmsp] how to make a list with notenames? Message-ID: <20394.47cb4504@www.cycling74.com> I want to output a list with random generated midinotes, but displayed as notenames, not as midinumbers (I want to use th list for an 'acustic' composition). I made a coll with a list of notenames (in the coll object). How do I do the lookup of it. I always get in the coll where I want to store the random list a bunch of zeros. max v2; #N vpatcher 77 44 1290 1014; #P origin 0 -196; #P window setfont "Sans Serif" 9.; #P window linecount 1; #N vtable 128 10 59 220 226 0 128; #P newobj 485 518 32 196617 table; #N coll names; #P newobj 664 578 57 196617 coll names; #P newex 664 558 30 196617 pack; #P newex 634 533 40 196617 unpack; #N coll ; #T flags 1 0; #T 0 C0; #T 1 C#0; #T 2 D0; #T 3 D#0; #T 4 E0; #T 5 F0; #T 6 F#0; #T 7 G0; #T 8 G#0; #T 9 A0; #T 10 A#0; #T 11 B0; #T 12 c1; #T 13 c#1; #T 14 D1; #T 15 D#1; #T 16 E1; #T 17 F1; #T 18 F#1; #T 19 G1; #T 20 G#1; #T 21 A1; #T 22 A#1; #T 23 B1; #T 24 C2; #T 25 C#2; #T 26 D2; #T 27 D#2; #P newobj 634 513 53 196617 coll; #P newex 100 613 58 196617 random 87; #P message 634 371 33 196617 set 0; #P button 71 614 15 0; #P newex 71 636 88 196617 0 + 24; #P number 72 715 35 9 0 0 256 3 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 149 760 54 196617 print note; #P user kslider 71 658 54 0 24 96 31 12 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0; #P number 628 411 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0; #P button 593 343 15 0; #N counter 10; #X flags 0 0; #P newobj 592 389 66 196617 counter 10; #P toggle 389 293 17 0; #P button 422 267 15 0; #P newex 389 317 52 196617 metro 50; #P window linecount 0; #P comment 603 56 100 196617; #P connect 1 0 11 0; #P connect 11 0 10 0; #P connect 13 0 10 0; #P connect 10 0 7 0; #P connect 7 0 9 0; #P connect 1 0 13 0; #P connect 2 0 3 0; #P connect 3 0 1 0; #P connect 6 0 2 0; #P connect 5 0 4 0; #P connect 1 0 5 0; #P connect 4 2 6 0; #P connect 12 0 4 3; #P connect 1 0 14 0; #P connect 14 0 15 0; #P connect 4 0 16 0; #P connect 16 0 17 0; #P connect 15 1 16 1; #P pop; From tomgalileo at mac.com Sun Mar 2 17:36:12 2008 From: tomgalileo at mac.com (TomGalileo) Date: Sun Mar 2 17:37:15 2008 Subject: [maxmsp] pmpd on max msp In-Reply-To: <47CB4248.3070006@gmail.com> References: <21F9213E-9D82-4233-9337-AD2D7BC0FD49@mac.com> <47CB4248.3070006@gmail.com> Message-ID: oh thank you marius. well..this is becoming a bit complicated i see... shall we ask mathieu if he can do something for us? ... cheers msd? do you mean mc.pmpd? On Mar 3, 2008, at 12:11 AM, marius schebella wrote: > I used pmpd in max and had the impression that some settings, when > given as arguments are just not working. I ended up sending the > arguments with loadmess or loadbang on startup. > also the "name" argument, to automatically link objects does not > work, so you have to use line connections or send/recieves. > there is also a similar library (msd) if you want to try, but it > has less features. > marius. > > TomGalileo wrote: >> hello >> is there a way to have more information about pmpd objects >> argument in max/msp? >> i have studied and learned the documentation that refers to pd >> examples and in general...there are some examples patches provided >> with max/msp, >> and it looks that there is a different way of putting parameters >> in max/msp. >> it's quite long to figure it out. >> is there any doc related to arguments and parameters to be used in >> max/msp? >> any help appreciated >> regards >> tom >> _______________________________________________ >> maxmsp mailing list >> maxmsp@cycling74.com >> http://www.cycling74.com/mailman/listinfo/maxmsp > > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp From nik at limemachine.com Sun Mar 2 17:39:18 2008 From: nik at limemachine.com (Nick Inhofe) Date: Sun Mar 2 17:39:23 2008 Subject: [maxmsp] Re: Re: Audio signal summation and level meters? In-Reply-To: <4356FD4C-8378-4B0F-B240-D2D5D986B9B6@well.com> Message-ID: <20396.47cb48b6@www.cycling74.com> Stefan has a good point. I made the post quickly, without thinking about it too much. Obviously, the best method is to just mix with your ears! If you have a lot of different sound sources which aren't necessarily going to be playing at the exact same time, its just a matter of balance. However, for something like the example I gave where you have multiple oscillators going at the same time, its a good quick fix to just multiply by the reciprocal of the number of oscs you have. It is better to mix each individually though, and have more control over timbre! From Thinksamuel at yahoo.com Sun Mar 2 17:40:49 2008 From: Thinksamuel at yahoo.com (Samuel Van Ransbeeck) Date: Sun Mar 2 17:40:54 2008 Subject: [maxmsp] Re: how to make a list with notenames? In-Reply-To: <20394.47cb4504@www.cycling74.com> Message-ID: <20397.47cb4911@www.cycling74.com> Ok, I used the patch in that was in the archives. However, in a further stage I would like to keep the data in the max program. Is that possible (I mean a list or so and not print in the max window)? Here goes the patch I found max v2; #N vpatcher 10 59 398 291; #P window setfont "Fixedwidth Serif" 18.; #P newex 119 146 64 1441810 print; #P newex 119 119 141 1441810 sprintf %s%d; #P newex 250 92 42 1441810 - 1; #P newex 250 65 53 1441810 / 12; #P newex 119 65 53 1441810 % 12; #P number 119 36 53 18 0 127 4099 22 0 0 0 221 221 221 222 222 222 0 0 0; #N coll ; #T flags 1 0; #T 0 C; #T 1 C#; #T 2 D; #T 3 Eb; #T 4 E; #T 5 F; #T 6 F#; #T 7 G; #T 8 Ab; #T 9 A; #T 10 Bb; #T 11 B; #P newobj 119 92 53 1441810 coll; #P connect 1 0 2 0; #P connect 2 0 0 0; #P connect 0 0 5 0; #P connect 5 0 6 0; #P fasten 1 0 3 0 124 60 255 60; #P connect 3 0 4 0; #P connect 4 0 5 1; #P pop; From marius.schebella at gmail.com Sun Mar 2 18:04:21 2008 From: marius.schebella at gmail.com (marius schebella) Date: Sun Mar 2 18:04:29 2008 Subject: [maxmsp] pmpd on max msp In-Reply-To: References: <21F9213E-9D82-4233-9337-AD2D7BC0FD49@mac.com> <47CB4248.3070006@gmail.com> Message-ID: <47CB4E95.7040608@gmail.com> msd can be found at http://nicomon.basseslumieres.org/ and/or http://www.parasitaere-kapazitaeten.net/~thomas/ext/msd/max a beta version is here: http://www.parasitaere-kapazitaeten.net/~thomas/ext/beta/max msd should run much faster, has a similar syntax, but does not have so many object classes. it is also possible to use a combination of msd and pmpd. I used pmpd for two big projects, so it is stable, just documentation is unreliable :) marius. TomGalileo wrote: > oh thank you marius. > well..this is becoming a bit complicated i see... > > shall we ask mathieu if he can do something for us? > > ... > > cheers > > msd? do you mean mc.pmpd? > > > > > On Mar 3, 2008, at 12:11 AM, marius schebella wrote: > >> I used pmpd in max and had the impression that some settings, when >> given as arguments are just not working. I ended up sending the >> arguments with loadmess or loadbang on startup. >> also the "name" argument, to automatically link objects does not work, >> so you have to use line connections or send/recieves. >> there is also a similar library (msd) if you want to try, but it has >> less features. >> marius. >> >> TomGalileo wrote: >>> hello >>> is there a way to have more information about pmpd objects argument >>> in max/msp? >>> i have studied and learned the documentation that refers to pd >>> examples and in general...there are some examples patches provided >>> with max/msp, >>> and it looks that there is a different way of putting parameters in >>> max/msp. >>> it's quite long to figure it out. >>> is there any doc related to arguments and parameters to be used in >>> max/msp? >>> any help appreciated >>> regards >>> tom >>> _______________________________________________ >>> maxmsp mailing list >>> maxmsp@cycling74.com >>> http://www.cycling74.com/mailman/listinfo/maxmsp >> >> _______________________________________________ >> maxmsp mailing list >> maxmsp@cycling74.com >> http://www.cycling74.com/mailman/listinfo/maxmsp > > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp > From martini1 at gmx.at Sun Mar 2 21:10:41 2008 From: martini1 at gmx.at (Martin) Date: Sun Mar 2 21:10:45 2008 Subject: [maxmsp] Re: how to make a list with notenames? In-Reply-To: <20397.47cb4911@www.cycling74.com> Message-ID: <2039e.47cb7a41@www.cycling74.com> not sure if that's what you want, but this way you don't have to print to the max window... #P window setfont "Sans Serif" 9.; #P user textedit 269 261 369 311 32896 3 9 Eb-1; #P window setfont "Sans Serif" 18.; #P window linecount 1; #P message 179 260 86 196626 Eb-1; #P window setfont "Fixedwidth Serif" 18.; #P newex 179 206 64 1441810 print; #P newex 179 179 186 1441810 sprintf set %s%d; #P newex 310 152 42 1441810 - 1; #P newex 310 125 53 1441810 / 12; #P newex 179 125 53 1441810 % 12; #P number 179 96 53 18 0 127 4099 22 0 0 0 221 221 221 222 222 222 0 0 0; #N coll ; #T flags 1 0; #T 0 C; #T 1 C#; #T 2 D; #T 3 Eb; #T 4 E; #T 5 F; #T 6 F#; #T 7 G; #T 8 Ab; #T 9 A; #T 10 Bb; #T 11 B; #P newobj 179 152 53 1441810 coll; #P connect 5 0 6 0; #P connect 5 0 7 0; #P fasten 5 0 8 0 184 242 274 242; #P connect 0 0 5 0; #P connect 4 0 5 1; #P connect 3 0 4 0; #P connect 1 0 2 0; #P fasten 1 0 3 0 184 120 315 120; #P connect 2 0 0 0; #P window clipboard copycount 9; From martini1 at gmx.at Sun Mar 2 21:22:06 2008 From: martini1 at gmx.at (Martin) Date: Sun Mar 2 21:22:10 2008 Subject: [maxmsp] Re: External objects In-Reply-To: <20376.47cafc20@www.cycling74.com> Message-ID: <2039f.47cb7ced@www.cycling74.com> Quote: spondoo@hotmail.com wrote on Sun, 02 March 2008 12:12 ---------------------------------------------------- > Hi I just downloaded "diff" an external max object, but I don't know where to put it. It came on its own, with no file extension, just as diff. The help file doesnt explain, I tried to put it inside the externals folder, but it just comes up with "no such object!" Any ideas? ---------------------------------------------------- It should go into the externals folder as you did (or any other folder within the search-path!!!) Did you restart Max after you put it there?? From nik at limemachine.com Sun Mar 2 22:26:51 2008 From: nik at limemachine.com (Nick Inhofe) Date: Sun Mar 2 22:26:54 2008 Subject: [maxmsp] Re: External objects In-Reply-To: <2039f.47cb7ced@www.cycling74.com> Message-ID: <203a6.47cb8c1b@www.cycling74.com> Are you on windows or os x? Which OS is the object compiled for? Putting it in your max search path should be fine if the object is compiled for your OS. See the topic 'Files: How Max Handles Search Paths and Files' in the Max tutorials pdf. From svtnkn at yahoo.com Mon Mar 3 01:10:35 2008 From: svtnkn at yahoo.com (sv k) Date: Mon Mar 3 01:10:39 2008 Subject: [maxmsp] Re: clumsy maths question In-Reply-To: <20309.47c9d067@www.cycling74.com> Message-ID: <203ae.47cbb27a@www.cycling74.com> thx kj, good to know that. aside from that, what envelopes do you guys find useful for controlling filters? i would imagine its better to be done with one that has exponential/logarithmic curves, but the curve object seems too clumsy for the task (it accepts tripples instead of pairs of numbers, and thus cant be controlled with the function object..or maybe theres a workaround?). the adsr~'s output is linear right? if the filter is set to radians mode, will connecting an adsr~ to it substitute for an exponential adsr~ envelope? i think this is one of the ways it "should" be done, but i prefer to work directly in hertz, as opposed to the "0. - 1." frequency range mode, i just think it gives me more control. please share some insights. From news at ostrowski.info Sat Mar 1 10:44:48 2008 From: news at ostrowski.info (mattyo) Date: Mon Mar 3 01:14:28 2008 Subject: [maxmsp] Re: Dialog crashes Max in two different patches - bug? In-Reply-To: <20243.47c750ae@www.cycling74.com> References: <20243.47c750ae@www.cycling74.com> Message-ID: <3CCC8145-FEE0-4BA5-886A-DEB6EB04D832@ostrowski.info> I've had dodgy experiences with [dialog] ever since OS X, with or without toolbox. I'd recommend avoiding it and rolling your own. \M On Feb 29, 2008, at 1:24, pelado wrote: > > I spent a while trying to find Roald's problem of p.storage crashing > when using dialog but couldn't reproduce it, however afer installing > maxtoolbox Max did indeed crash when I used the dialog object with > both p.storage and the dialog help file. > > I suppose this means that it's not a problem with p.storage. It's > simple to turn maxtoolbox off when its not being used through the > extra that's included with the package. I didn't get round to > trying Emmanuel's alternative. > > pelado > -- > http://www.pelado.co.uk > _______________________________________________ > maxmsp mailing list > maxmsp@cycling74.com > http://www.cycling74.com/mailman/listinfo/maxmsp From tomgalileo at mac.com Mon Mar 3 01:13:36 2008 From: tomgalileo at mac.com (TomGalileo) Date: Mon Mar 3 01:14:43 2008 Subject: [maxmsp] pmpd on max msp In-Reply-To: <47CB4E95.7040608@gmail.com> References: <21F9213E-9D82-4233-9337-AD2D7BC0FD49@mac.com> <47CB4248.3070006@gmail.com> <47CB4E95.7040608@gmail.com> Message-ID: <52747231-29CB-4811-BAC2-6C5BD03B88C3@mac.com> i appreciate! thanks a lot! ps im trying to write down a little "how to" on pmpd, at least for myself. i start today ill publish as it is finished ciao! On Mar 3, 2008, at 1:04 AM, marius schebella wrote: > msd can be found at > http://nicomon.basseslumieres.org/ > and/o