Smoothing out numbers

Jul 28, 2008 at 12:54pm

Smoothing out numbers

Hello,

I’m just a newbie with Max/msp, and trying to figure out something.
I’m working with the wiiRemote in max/msp by using the tk.wii.
The output data of the axes of the Wiimote are, how shut I put it, very nervous and not stable. The data is not steady even when I’m holding the Wiimote still (just lying it on the table). What I want is to get steady numbers.
For example. the output is just jumping from 51-50-51-49-50-52-51-50 etc. And I just wane to have the number 50 as output, so the numbers 51-52-49 are just forgotten. And when the number is close by 55 the output have to shown 55 en not 53-55-54-53-55 etc. Clear?
Is there a solution for my problem. Could somebody give me a hint/starter of something. I don’t know how to begin.

Thank You

Nicolette

#39027
Jul 28, 2008 at 1:03pm

my guess would be that u need to average the values, but it could also be that the wii remote is not properly calibrated…

as a starting point, u should look at the “sensor-tamer.maxpat” abstraction, which u will find in the extras menu / examples overview (max 5 only).

hth,

j

#136845
Jul 28, 2008 at 1:42pm

Try doing a search for hysteresis which may give you a starting point. You could try using objects such as ‘change’ and ‘timer’ for doing things like debouncing.

#136846
Jul 28, 2008 at 1:42pm

I’d say you could start by looking up message-domain lowpass filterings
-using [line] as a filter thanks the ramp time basically : sending
input values to a simple [$1 200] message going to a [line] object,
the longer duration, the smoother output)
-you could also convert your input stream to signal and lowpass it,
then sample it back to message domain.
-otherwise Tristan’s library has a ready-made filter called
[smoother] …

then if you need values to stick to specific intervals I would
downscale the input to the total number of intervals and then upscale
it back to your output range. Like if you want values to stick to
5-10-15-20-25-30 etc. with an input range of say 100 , you could map
the input from 100 to 20 and then map it back to 100. With the line
at the output you’ll get a smooth ramp but values would stabilize on
5 – 10 -15 etc.

The tricky part is then both to keep something responsive enough,
it’s always a delicate compromise with filtering.

im not either a huge master in programming so please someone correct
me if im saying crap.
but that should work.

O.

On 28 juil. 08, at 14:54, Nicolette wrote:

>
> Hello,
>
> I’m just a newbie with Max/msp, and trying to figure out something.
> I’m working with the wiiRemote in max/msp by using the tk.wii.
> The output data of the axes of the Wiimote are, how shut I put it,
> very nervous and not stable. The data is not steady even when I’m
> holding the Wiimote still (just lying it on the table). What I want
> is to get steady numbers.
> For example. the output is just jumping from
> 51-50-51-49-50-52-51-50 etc. And I just wane to have the number 50
> as output, so the numbers 51-52-49 are just forgotten. And when the
> number is close by 55 the output have to shown 55 en not
> 53-55-54-53-55 etc. Clear?
> Is there a solution for my problem. Could somebody give me a hint/
> starter of something. I don’t know how to begin.
>
> Thank You
>
> Nicolette
>

#136847
Jul 28, 2008 at 4:52pm

On Jul 28, 2008, at 5:54 AM, Nicolette wrote:

> The output data of the axes of the Wiimote are, how shut I put it,
> very nervous and not stable.

There are many ways to smooth a number stream. This is a sort of heavy
handed method:

– Pasted Max Patch, click to expand. –

Chris Muir
cbm@well.com

http://www.xfade.com

#136848
Jul 28, 2008 at 7:54pm

I don’t remember whether I’ve put this patch up before.
A number of beginner workshop students have found it
useful. It lets you set the amount of smoothing you
want.

gregory

– Pasted Max Patch, click to expand. –
#136849
Jul 28, 2008 at 8:44pm

#136850
Jul 28, 2008 at 9:36pm

On 28 juil. 08, at 14:54, Nicolette wrote:

> Hello,
>
> I’m just a newbie with Max/msp, and trying to figure out something.
> I’m working with the wiiRemote in max/msp by using the tk.wii.
> The output data of the axes of the Wiimote are, how shut I put it,
> very nervous and not stable. The data is not steady even when I’m
> holding the Wiimote still (just lying it on the table). What I want
> is to get steady numbers.
> For example. the output is just jumping from 51-50-51-49-50-52-51-50
> etc. And I just wane to have the number 50 as output, so the numbers
> 51-52-49 are just forgotten. And when the number is close by 55 the
> output have to shown 55 en not 53-55-54-53-55 etc. Clear?
> Is there a solution for my problem. Could somebody give me a hint/
> starter of something. I don’t know how to begin.

In Max 5 you can use [zl stream] + [zl median] for instance:

– Pasted Max Patch, click to expand. –

ej

#136851
Jul 28, 2008 at 10:42pm

Lovely patch Emmanuel !

If only I had this one year ago when I started my wii project…

Quote: Emmanuel Jourdan wrote on Mon, 28 July 2008 23:36
—————————————————-

>
> In Max 5 you can use [zl stream] + [zl median] for instance:
>
>

– Pasted Max Patch, click to expand. –

>
> ej
>
>
>
—————————————————-

#136852
Jul 28, 2008 at 10:52pm

the [slide] object may help.

On Mon, Jul 28, 2008 at 8:54 AM, Nicolette wrote:
>
> Hello,
>
> I’m just a newbie with Max/msp, and trying to figure out something.
> I’m working with the wiiRemote in max/msp by using the tk.wii.
> The output data of the axes of the Wiimote are, how shut I put it, very nervous and not stable. The data is not steady even when I’m holding the Wiimote still (just lying it on the table). What I want is to get steady numbers.
> For example. the output is just jumping from 51-50-51-49-50-52-51-50 etc. And I just wane to have the number 50 as output, so the numbers 51-52-49 are just forgotten. And when the number is close by 55 the output have to shown 55 en not 53-55-54-53-55 etc. Clear?
> Is there a solution for my problem. Could somebody give me a hint/starter of something. I don’t know how to begin.
>
> Thank You
>
> Nicolette
>
>


Morgan Sutherland

#136853
Jul 29, 2008 at 1:31am

I thought that it might be interesting to gather the various solutions
to this data reduction problem together in one patcher so that they
can all be run on the same data. It’s clear that they all have their
plusses and minuses, depending on what your goals are:

– Pasted Max Patch, click to expand. –
#136854
Jul 29, 2008 at 8:30am

Very good Chris !

this will go to my max extra menu right now.

This should part of the Max bundle IMO.

Quote: Chris Muir wrote on Tue, 29 July 2008 03:31
—————————————————-
>
> I thought that it might be interesting to gather the various solutions
> to this data reduction problem together in one patcher so that they
> can all be run on the same data. It’s clear that they all have their
> plusses and minuses, depending on what your goals are:
>
—————————————————-

#136855
Jul 29, 2008 at 12:07pm

Thanks for all your reaction. I’m only working in Max/msp 4.5 for Windows and I don’t know how to read the patchers of Max 5 :S

Nicolette

#136856
Jul 29, 2008 at 4:40pm

Chris’ patch with the simple solution, [slide] added:

– Pasted Max Patch, click to expand. –

On Mon, Jul 28, 2008 at 9:31 PM, Chris Muir wrote:
>
> I thought that it might be interesting to gather the various solutions to
> this data reduction problem together in one patcher so that they can all be
> run on the same data. It’s clear that they all have their plusses and
> minuses, depending on what your goals are:
>
> [code deleted]
>
>

--
Morgan Sutherland

#136857
Jul 29, 2008 at 5:35pm

And, as always, lp.stacey is your friend for averaging.

There is an example patch called “Smoothing Sensor Data” included with the Litter Power Extras/X-Amples/. I can include it here, but you’ll still need to grab the Litter Starter Pack to use it. URI in the .sig.

In Max 4 format, because that’s the machine I’m on right now:

#P window setfont “Sans Serif” 18.;
#P window linecount 1;
#P comment 112 10 290 196626 Smoothing (Sensor) Data;
#B frgb 205 154 102;
#P window setfont “Sans Serif” 9.;
#P hidden newex 2 62 46 196617 lp.argus;
#N vpatcher 384 252 572 380;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P newex 10 51 29 196617 gate;
#P window linecount 1;
#P newex 10 74 83 196617 lp.mrsnorris lpo;
#P inlet 29 24 15 0;
#P inlet 74 23 15 0;
#P fasten 0 0 3 0 79 45 15 45;
#P connect 3 0 2 0;
#P connect 1 0 3 1;
#P pop;
#P hidden newobj 2 41 106 196617 p OverviewLoader;
#P user ubutton 2 2 107 33 0 0;
#N picture;
#K replace 1215;
#K set 0 318373891 38 7077905 50269184 -131072 4718592 4718592 196608 2490476 0 1966081 655364 37 7078042 255 -2119958528 32 6881280 262144 72 72 16 2097156 524288 2097279 -245890945 -252444672 32 6881284 36 6881280 3442943 63743 10092031 -122093374 -134282270 2053549503 -16776968 -16737795 -483072 -1359479037 -649251951 -1073807360 -117505895 -1275133890 -1996554240 -134283264 -16842353 1895523841 2058221567 8060518 12763391 63487 65279 23740923 855723409 -134283187 -30211922 -1057030144 -134283264 -1258356666 -1996554240 -234946387 -43646772 -167772826 12188671 66435450 -486801661 -172393758 -721485824 -234946415 -46989125 -167772877 10615807 66232653 -637796605 -224309799 -721485824 -1442906018 -1744896000 -201392128 -234946366 -43646762 -167836499 1717989612 -33619476 -1879153152 -167903487 -326107546 16114687 62463 61951 11468083 13235711 76624691 1105591807 31812350 855700221 -16652950 -30211854 -469827584 -201392128 -1442906034 -1728118784 -218169344 -234946346 -43646750 -184614206 -1175651073 14089574 -50396970 -43588609 62207 61951 13237555 14284031 44999141 -50396983 -46924545 13237555 -469827584 -218169344 -1442906054 -1912668160 -16777626 -218169130 -43586817 -26869648;
#K set 128 -67109274 7395583 65279 -30149889 13237555 -352321997 4324351 -30212031 -654376960 -1526792122 -1895890944 -16841626 -872362906 -201391914 -43586817 -26869617 -67109274 9427455 65279 70490368 -1724648449 13237555 -352321997 7011327 -30211990 -637599744 -50397184 -1442905980 -1812004711 -83949978 -859045684 -865667841 14089574 -201391146 -1384455428 -104960 -1879310338 1711312889 -16255559 -2090441094 -1376977921 131509626 -21146 1727856384 -1711603962 865704192 -1718012940 -16725507 871628547 -913224231 -50332109 7011327 -30211990 -100726798 -1587924173 1301407227 -16266863 1308622737 859045119 10090495 43519 10130687 10091263 73845760 -872350004 6747647 14089574 -151060081 1895654912 -687931647 -695207322 44291727 -93978461 -16839220 2053546937 -1889114512 -486539377 1895654916 -6068634 2063466240 -1711603964 865665177 16685312 871759616 -906152970 -16684479 -46989111 -16842295 1794781954 -2050397446 855672318 -15877299 864395626 858997209 -38335 -46988033 -2060242099 -33619815 -117505536 -16733697 10259711 6749900 65228 6747647 14089574 -151060039 -1375902208 -167837951 -1886388634 7405199 46960527 -26869648 -24181044 -23706 1723465471 126838374 2063597497 -1375902208 -1023515136 -1879703808 872323328 16685312 871759616 -906152970 -16670319 -46989070 -16842390 1795044096;
#K set 256 1107192322 -1150653698 855654910 1778826239 -8047821 -1577124089 1781740365 -24175 -46989138 -30211990 -234946560 -1442905958 -1728118119 -6686465 6749900 65228 6749951 63999 14089574 -184614769 -26805249 -26869617 -67109274 9436415 14089830 -33619774 -26869546 -16842609 -26867856 -1026120817 -1711302152 -16763906 -1728052994 -1728039938 -16776967 -16725507 871694080 1795044347 -118016 1794899966 855665404 -16725506 872283904 -1359072512 -906035456 1795044103 1101973893 1788477337 -184614912 -83951616 -1308688248 -1912668058 -36961024 -872362804 1727463168 -688036108 -16740354 1727791102 1711312891 -104960 -1879245053 -1553570173 -33619754 -26869575 -16842609 -26869546 -16842516 -151060429 -40303360 -1728013927 871825152 -906152972 -16749826 872153086 855665403 -118016 1794965251 -2060242086 -33619767 -30211935 -16842646 -30211895 -16842523 -234946048 -16733185 8031743 6749644 83938508 -3381514 -16722179 1727332096 -1879152901 -104960 -1879310338 1711312892 -16549274 1719336377 10747494 12189439 9436774 -234946509 -40303360 -1717973863 871825152 -906152972 -16749826 872153086 855665403 -118016 1794965251 1295201101 -39780219 -30211935 -16842646 -30151425 43519 7966463 40304639 -20185088 -20184321 -10029057 14089574 -184614769 -26805249 -26869617 -67109274 9436415 -144309638;
#K set 384 -1713963265 9436774 -67174196 -50395700 -3394612 -855729920 16685314 -859032585 -16725507 871694080 1795044347 -118016 1794899966 855665404 -576766 1299696126 -16749826 871169792 11140864 -2054226162 1724697855 -859045633 -3355495 1728027129 -16722179 1727332096 -1879152900 -16722178 1711312892 -16722178 1711312892 -104960 -1879703808 -1879152906 -16724738 -16239719 -1714644583 13421822 -1727908865 -1711669504 -906152972 -16749826 872218368 -906087680 1794965248 -906087680 1794965502 855665397 -16749826 871169792 16645891 -1711276135 -1308688244 -1879113626 -36961537 -855638580 67174246 -16712961 14089574 -100728350 -318832896 -1879152900 -16722178 1711312892 -16722178 1711312892 -170496 -168362240 -1879152903 -16724740 -16763907 -1727869799 -855795452 16724991 16449280 -906152967 -16655899 -16842646 -30147329 13237811 7011583 13237811 7011583 -46989070 -151060374 -30152705 65279 45823 8949759 6749388 33489149 -872218625 1727594240 -688036103 -16682823 -16842609 -26804993 14089830 9436415 14089830 9436415 9436774 12777215 9436774 -201392077 -57081396 16619779 -52276 -16841268 -3342337 -906152967 -16694879 -16842646 -30147329 13237811 7011583 13237811 7011583 7011891 11466495 7011891 -318832640 -1442905964 -1862335386 -859006567 -20185088 -36961281 -16750855;
#K set 512 -16724739 1727725314 -328804610 -16740354 1727856384 -687970816 2063400704 -687970816 2063400704 -1174510079 1893922815 9436774 -184614861 -90636288 -40303361 -16763956 -83951429 -46925057 48575433 -16842646 -30147329 13237811 5111039 13237811 5111039 10616371 21092855 -16749826 871497473 -1717960961 64511 45311 10457343 6749644 -57016628 -16842650 -100728647 -43582721 44918479 -19267400 -22019619 -385941760 -688036347 -1177107713 -2687642 112842434 -2694 -26867856 -1024655371 -1030755074 -16743426 1727332096 871733758 -16763911 -16735747 872087298 -1858885890 -1258256130 2097265616 -16842551 -46987871 -911278081 -906153210 -1580617985 -897538 856113582 -436211026 1793457919 5963315 -268436327 -452986481 26851793 -16726891 -16776962 -16423220 13421568 -20185088 -36897281 6749183 32872957 1727827712 2063492618 -169554740 -1333688150 -858990594 -16748292 1711318014 -16748292 1711318014 -16653712 -110754673 -10558 -43646301 -689111809 65279 87267584 -1718025986 -1728052995 -1711407360 872152833 -227017421 -60161971 -30209294 -929457795 1314224025 -1716388097 4324403 8781567 4324403 8781567 31015417 855927551 -3559683 855803337 -436404480 16580355 16776960 -16842752 -486602323 1717997526 -862362010 -1881997568 -1601044736 1727646721 13434521 -33619866 -67174288 -211417857;
#K set 640 -238236523 -26867784 -858982913 -1934594 1711312893 -16653702 -26869617 -50396427 -1552876186 75151861 -1690 12187903 3406233 64921 -33619917 -67174335 -214760193 -459695774 -30210171 -1717965569 -2535938 855665405 -16656051 -30211990 -50396430 -2059272909 72196594 -1741 10612735 16842750 -1712914685 -697932103 -16841853 1718018771 -16745582 -16488756 -862348804 -872414979 -855834880 1726807811 -238236440 -16841752 -858983939 -16588074 -688193790 -489236744 -16522538 -688526337 3405977 64921 -50397133 -318831644 -1717972738 -16527207 -1713046017 47827401 -83950887 -909510401 64604617 -219611391 -1717961473 58111 64382566 -1174470909 -1184471338 -738262843 -1812004762 -137625600 -36897793 6745599 66178252 -385941747 -456340228 -789 -387388423 -783 133824511 -336461825 -167841536 -100794621 -286725899 -50395652 -335545112 -235077888 871864576 16620027 -16763923 -16522087 -1714356481 231250329 -100663303 -674180905 -218103812 -469241089 -2628353 -1245468 15924735 64868560 -318963963 -103284743 -790302209 58111 64382566 -1174470899 -1385797899 -2622 -1179008276 -810 132972543 -1026097153 -486615552 -318898429 -860243486 -50395659 -1023412807 -704587627 -16685466 -154402816 -36898049 23488239 -13045300 -857145345 -53228316 -5940 -806821684 -856948760 -808661792 -234881841;
#K set 768 -738197525 -573776399 -3629 -622275636 -452984870 -808661764 -741544962 -16698573 -157745152 -40240385 20132847 -13048679 -1714356225 -106522168 -12135 -1596931431 -1713897520 -1600546366 -452986464 -1493172265 -1147552796 -7002 -1244617063 -922746955 -1600546311 -1499867151 -16776990 -13052314 1723465727 -176527699 -18074 1891214182 1724055481 1885759139 -687868560 2063597506 -1721329194 -10630 -1883669914 -1375731825 1885759221 2053554688 -342294530 1727319040 16632842 -13057 -3355648 -10066191 -13045300 -857150488 -741547780 -1127220 -167772184 -858983937 -389231375 -5940 -856555521 -288555777 -930602 -3636 -856293377 -456340266 -623906306 871667968 16619786 -26113 -6711023 -13421583 -13048679 -1714366512 -1499872519 -2254439 -318767152 -1717967617 -795239964 -12135 -1713045505 -577111553 -1795667 -7015 -1712521217 -929457747 -1247746831 -16776965 -16423169 -10066432 -285263658 1718008258 -1183160669 -167785370 1726152703 -1184471338 -4626842 -687865927 1718015743 -3381515 -10650 -2080374826 1718018815 -5413274 -2087751466 14391551 -335543092 -872362804 -67108660 -234944527 -858986251 -387385858 -16590132 -687931630 -238236444 -406324 -452985649 -858989057 -2039554 -16589364 -453050613 -858986241 -1520436 -234883588 -335543143 -1728013927 -67108711 -234944540 -1717972756 -791614210 -16599655 -1375797486;
#K set 896 -459695672 -878183 -922748512 -1717978113 -4013314 -16598119 -922812661 -1717972737 -3106407 -452989703 -335543194 1711302246 -50331375 1727135495 -697932103 -491144734 -16842097 1719926527 316040806 -1375736730 1722679285 1885759129 -23645 -16842087 1722679039 191260345 -18074 1725366242 -184502647 -78845 -3355410 -402717711 -858986246 -16593716 -620888303 -858989825 -2700074 -1322016 -858981889 -806420737 46976211 -19265588 -857145345 -389231378 -91901 -6710802 -402717724 -1717972742 -16606823 -1241645295 -1717979649 -5400147 -2644286 -1717964033 -1596064001 43620774 -21690471 -1714356225 -795239954 -104957 -10066194 -402717738 1718008314 -16619930 -1879179503 1717997567 -8165757 -4031837 1718021375 1892482815 40265338 -24180890 1723465727 -1184471299 -16728936 -16724747 -16397108 -16711732 -453049359 -858986246 -16593716 -620888304 -858989825 -1782580 -53220359 -858988306 -805437694 -858988291 -251594242 -16586548 -855769344 -1711931643 -1717960960 -6691585 65313177 -788857086 -1717979651 -15689319 -1241514040 -1717962330 -671966823 -1025662723 -16606823 -1023548416 -218169598 -795239939 -16750859 -16423322 -16711834 -453049386 1718008314 -16619930 -1879179504 1717997567 -5413274 -176504084 1718002636 1895694082 1718002685 -704582402 -16598682 1727921920 -1231552768 -855965949 -858980404 -16842752 -486603791 -858986246;
#K set 1024 -16592948 -687997168 -858988289 -930612 -623640577 -523449123 -520225022 -808659207 -16586548 -855834880 -1711603965 -1717960807 -16842752 -486603804 -1717972742 -16605031 -1375863024 -1717976321 -1795687 -1247346689 -1030121029 -1023541502 -1600541191 -16592743 -1711472896 1727725315 1718026086 -16842752 -486603818 1718008314 -16617370 -2080506096 1718002687 -2726298 -1887764481 -1553570151 -1543635198 1885766649 -16598682 1727921920 -828965111 -859045633 -3355393 -3342849 65279 59135 66178252 -386203895 -573780740 -1588 -856948993 114281676 -335544335 -20184850 -33618979 -858983942 -16586548 -855900407 -1718025985 -6710785 -6685185 65279 59135 65313177 -788857079 -1147561479 -3431 -1713897729 111188377 -671088668 -23527203 -33619013 -1717967622 -16592743 -1711538423 1717960959 -10066177 -10027521 65279 59135 64382566 -1174733047 -1721342219 -5018 1724055295 108029542 -1023410218 -26869556 -33619047 1718015738 -16598682 1727921920 -980090882 -856097024 16580352 16646142 -1712324861 -338899744 -83949323 -858986241 -1520422 -33619235 -858784257 47631567 -50393355 -858992664 -236003079 -6964 -855835905 -23463681 64767 65023 -23465985 64461209 -1023738104 -325477936 -12135 -1241645310 -1147559683 -16601703 -1594032370 -325477984 -790307390 -218103864 -1717962246 -104712 -16776964 -16776963;
#K set 1152 -91665 -16530842 1722022655 149055078 -1174405191 1720712703 43607664 -33619325 1718680831 249718374 1891227340 -1544749057 -1385797899 -16842561 -1828782080 -117506048 -117506048 -302054950 -805385215 -689177601 133288908 -690565916 -50462974 -389225219 -16585780 -520356095 -237764916 164620543 -2437172 -858528519 -16776968 -16776968 -16776979 -16665184 -23526995 -671351033 -458843731 -1382430471 -33619248 -1714881025 47684034 -67173916 -1493264119 -1596915713 -1247766119 -1496778241 63743 63743 60927 26177790 1711375298 -67172394 2053538691 1722676733 -16598682 -1375863038 -1033460741 -16656774 -26866832 -1174405233 1885759098 -1375731968 16711680;
#P vpicture 0 0 110 37;
#P hidden newex 220 305 27 196617 0;
#P hidden newex 220 284 48 196617 loadbang;
#P toggle 220 329 15 0;
#P window linecount 2;
#P comment 184 192 339 196617 The AutoScaler takes a little while to adjust (how long depends on the arguments of snaphot~ and lp.stacey);
#P window linecount 1;
#P message 64 359 65 196617 startwindow;
#P user ezdac~ 130 386 174 419 0;
#P comment 305 354 100 196617 Scaled values;
#N vpatcher 401 77 752 421;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 82 171 92 196617 lp.stacey 50;
#P inlet 238 66 15 0;
#P user gswitch 54 203 41 32 0 0;
#P window linecount 0;
#P comment 7 48 223 196617 mean value + 3 standard deviations = 1.;
#P outlet 54 280 15 0;
#P inlet 69 72 15 0;
#P newex 199 171 29 196617 * 3.;
#P newex 182 193 27 196617 + 0.;
#P newex 182 214 130 196617 if $f1==0. then 1. else $f1;
#P newex 54 242 138 196617 / 1.;
#P newex 131 144 113 196617 lp.stacey 500;
#P comment 7 32 223 196617 Input signal is auto-scaled so that;
#P fasten 10 0 9 0 243 93 59 93;
#P lcolor 7;
#P connect 9 0 2 0;
#P connect 2 0 7 0;
#P connect 6 0 9 1;
#P fasten 6 0 11 0 74 159 87 159;
#P fasten 11 3 9 2 126 195 89 195;
#P fasten 6 0 1 0 74 122 136 122;
#P connect 1 3 4 0;
#P connect 4 0 3 0;
#P connect 3 0 2 1;
#P connect 1 4 5 0;
#P connect 5 0 4 1;
#P pop;
#P newobj 165 348 65 196617 p AutoScaler;
#P user meter~ 152 164 165 237 100 0 168 0 103 103 103 255 153 0 255 0 0 217 217 0 153 186 0 12 3 3 3 3;
#P user gain~ 130 164 21 51 158 0 1.071519 7.94321 10.;
#P toggle 186 87 15 0;
#P message 186 107 42 196617 loop $1;
#P toggle 165 87 15 0;
#P message 130 87 29 196617 open;
#N sfplay~ 1 120960 0 ;
#P newobj 130 132 43 196617 sfplay~;
#P user multiSlider 305 273 320 56 0. 1. 1 3449 15 0 0 2 0 0 1;
#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;
#N vpatcher 10 59 410 359;
#P outlet 84 230 15 0;
#P window setfont “Sans Serif” 9.;
#P newex 84 198 27 196617 sqrt;
#P newex 84 167 69 196617 snapshot~ 20;
#P newex 84 136 63 196617 onepole~ 20;
#P newex 84 109 27 196617 *~;
#P inlet 84 70 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 0 0 1 1;
#P pop;
#P newobj 165 251 92 196617 p EnvelopeTracker;
#P user multiSlider 305 370 320 56 0. 1. 1 3449 15 0 0 2 0 0 1;
#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 comment 305 257 100 196617 Unscaled values;
#P comment 171 180 404 196617 < - Try changing volumes , and see how it's affecting the envelope tracking;
#P window setfont “Sans Serif” 12.;
#P window linecount 2;
#P comment 112 36 546 196620 lp.stacey can be used for normalizing and smoothing sensor and analysis data etc. , reducing the need of calibration and making a sensor system more predictable.;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 238 333 207 196617 Turn on toggle for additional data smoothing;
#P comment 10 466 454 196617 Demo by Trond Lossius , minor mods by Peter Castine. Distributed as part of Litter Power. Enjoy.;
#P fasten 15 0 5 0 170 368 310 368;
#P connect 6 0 15 0;
#P fasten 6 0 7 0 170 271 310 271;
#P connect 20 0 15 1;
#P hidden connect 22 0 20 0;
#P hidden connect 21 0 22 0;
#P connect 12 0 11 0;
#P fasten 13 0 6 0 135 245 170 245;
#P fasten 13 0 17 1 135 379 169 379;
#P hidden connect 13 0 14 0;
#P connect 13 0 17 0;
#P fasten 18 0 17 0 69 378 135 378;
#P connect 8 0 13 0;
#P fasten 11 0 8 0 191 127 135 127;
#P fasten 10 0 8 0 170 127 135 127;
#P connect 9 0 8 0;
#P hidden connect 24 3 25 1;
#P hidden connect 24 0 25 0;
#P window clipboard copycount 28;

#136858

You must be logged in to reply to this topic.