waveform~ and presets in maxforlive


    May 13 2013 | 11:28 am
    Could anyone offer some guidance on how i can make the waveform~ objects graphically set loop points stored using preset, pattr, autopattr etc. I want to make a patch in maxforlive where i can change between loop points using presets. I tried looking at loopshifter for ideas but got a bit lost.
    thanks
    ned

    • May 13 2013 | 5:00 pm
      This is a very strange behavior of the preset object. However, I managed to overcome this with little utility I made that allows you to connect object in a "loop" to themselves without the overflow. This way you can force the Preset object to save the value of two floats that receive and send their values from andto the waveform~. Since the preset do react to number objects- it works.
      here it is:
      ----------begin_max5_patcher----------
      2239.3oc6asziaaCD9rCP9OHnyacEodWDTfDjKAnEEnWCBVHaQ6kIxhFRTNI
      Mn42d4CIKQYpG9wJ6z3CqsVRJxgeblgy7Q5u8xWLybA4KnbSiey38Fyl8MVI
      yDkwKYVUAyL2D8kkIQ4hFZtJgjVrw7gx5vwhRIK93uDFruTVKvoIHp3U.Ukt
      hjRyw+CRTHbtUU4jBJqszutEIEE9XDQMevvbQT5ZSiOznaksUzuvph2FQW9D
      Nc8iYnkTYW34Cm69fgqUHaXXew+Dx9rtu1FkEsAQQYOhRiVjHFZqlRZJqZwb
      60Y3nDSQM+6KeA+a1WOLZ.KE8YF5rGZnnuHjQysFoncnr+h8Ga99YsHZ3kBQ
      6DDA8AhtdbbyyV7UXvgfnFbRo+PYkHSEzvdEbBeZmiIoMG+YlQa21n7YMeIN
      h9Qhnu7dntLbprLPcYYnc3ptvpt3nL1bixlXEYRY8KAdlk0xWLqjg54tPiQ7
      gmi3Kmflyb1p95DxxOghUFISxVTJNcaFJGkRinskDyXzpnhD5icrvo1fUQKQ
      c+55w8YlqyvwjTtfn9t7xqFx2a.b4SJ9mMlShljFsU2qmylNE4Khx3.bo8Bb
      esTBIQst5EVl8QTJdSDEQwRQFZU2u3MayvoT0ASZR9T9xLRRhZuIqZmtphYK
      9KQeFGSeRzcJvJ6EvaqVPLqgqX7ZTNsUgzn04sJRwUohxYSO.pUzqm.UuATi
      UFXkpZ5G.pTiVeA84OX.urB3+CsFAMNZ6xOAvV3kEXILTrEddU7SzqO0Y09U
      qLGeVP30LEvt.3fd.X3ICv8BpfA.UWaAlF.EXpyA9duIvzkjhT1VnFVFftfV
      +ftgV2SFZ4prOvMOk+MjFryPfsPyE.Eaw4ae8.aA1zoa.6tgxwXpeNpik13x
      8BgtUep1kKIa1fRKcldwwFoz1I33LRejpyaqQYFB8fm67tw1rI3zN2JQHB7F
      zAhjSJxVVsrV45xnk7v1sihS2G9w6qQn1s7Ibbbqc5kaJly2kUFby3WHOZgm
      qQORgGd6I7iF4EqQfaOgGLFgm6.+FC40IR8f7WNg23Cx+oNmAy7ncn3GYiEy
      kwiQTZFdQAUZdqj2y4GX+Hxc3nBxUujzmDz4HyxEZQTRYJe6eacwSuG+N47o
      6g.B+aGBH7c8++.ADtWUBHBg1MHf..f2Yf3NCD2Yf3NCD2Yf3NCD2Yf3NCD2
      Yf3FfAhqV1X+zmG7O1LP7iL2OWMV2ty.w0mAhD7NzblSbdypVD1EUOp5puw9
      DtCQSwggw8vAafdDTQv4ffEOLvSFbr2AocokJBfp50d8p9zv1EkTfHqzj8b8
      HTMsZjabck4OQxn8giJsNgjtdzMtHESyoesjmk5LuOe0gt3WgZrP6xu8wvoh
      UObpzK4T8wqhSnTIHTFSQYb98SqhwaHIwWdRn9UVRx5PImNLRfGMJ0ugyHfI
      HzoNqxmYXpaxMcrtTpMmO4lNkAgKAlxTWBNCxMOSTi4Mhx1wQCpY6dr9ZOYi
      JaYtaktYgMX78hazfSWQ9tQBgrU2bFZew0TRv4z5MgF4CGjVbKvLbXvDZUlV
      r+D3h5yrM5VQx17c8ap2Ds4TTRIJfZyEf8b4XRVsJGIoVbdUYbNNWRRjLGy4
      4E563B3b8ZCccB4O3HX9sdtlDs.knjsnHEtg6EfhQYCRgaFe.P5eqJCS4k9y
      o4axEYA22befUX.htgDqFqfVtUXlmqVg5.IEyrEqUlIt9Uy.OfqWfm3I2f.X
      aXoaE1ddnRWtgdYVQh7bBrzqo502kjz1kuufCvsSzaAIKFkcjK4sYvuFiIBw
      cYBd4mTpXGkURKkDN5xcanL3xyU.D5YEHdxOvwFzZ3yQIroHarUdyPfumiOu
      ogNgVPw63V8j6Y3oaCJOOZM5PWcYnsI7LDzYlAtTgHbZ9688av4riLhJuqRP
      TRCL4NBbAxx.pCv.g2NgPTgdxPH.VvIvAuvjhV6DeazRLW706Eu91r2geS9c
      LWXJIRtpbyeetYP+n7lnr03zChHpB3g8A7USg87OqVPWqDN8rRDHcYArjqDZ
      mHc5LZQwBVzcUhtikxKPeLNhF0flw57A4IpIc4Vy.uYcqYH59fdqCJtVuiqi
      KB87g5TpakBXiF6U0zWgSYonhi+c88JyM3bOeaWn8nZtsuy7POOKKVy8Z27r
      b1SrYX8FNbWrgd0xbnu9t02IbdnMKxG+FsMPeacB4sED56UwKTCBtzg1d+u.
      sGBBCXsMHLvB7Lffg20W6BAGFssAv4N9LeLiDrAfSBsc+wCs8r3psiEVb9ov
      L1KvetisuWf8vZV0IZ2jl7SIJgpiR6fnrdkwaJvIwFekTjYfSyoYE7FZ7DJq
      N9TYZYExihCpiGmSLFL8GZn4pr0KTupIZuHUdM1aOPloR3yZrVchh+s1P4cu
      FnRYTmPotNPCGCGj5jsHmMGcYW2ADZ7NJybX4y.R9VwkMxXGJik3GazRvavT
      s2huSDbqOlJvEAukTh4KiyDLJJcdFfsWWDiIFThwev77oCtNpaQJ3BoKJOVF
      nsv1L.Hom+GFUw+7cu8cFqxHa5DT8tJfpj8PI0LAA2lfZmWO2jh0ro9205u7
      Rw7QNdcJ+7U2+zIcb.AMbi5dMOMoM3XLV6AA.tTTezWZ1fAAIfzN2wZB.I9A
      0Vf0dVRdWJzXXnfKExa+HmC4QbZakDP3dcgHWqq.DUdrB8w1rSnjlYqoCj5j
      a1kInnrnjDsG71Qc9sW7e4.kjZ424ATNbnFx1pdU4JAr1WWnJX6v63Tnxk+o
      iqHD+7hLf0s5vqGjlqFj1UxQKXsGxNt6RpW4soPvZOjcHXgSuf4N5kR6oeoz
      dPDye5QL+QsT5N4Bl8nDroW2mefVCKWfoW2WLjfA08sm9UxwYTN8BlXH8FRv
      DL0MsBFOzuQ5FahELqwHXNSuaLmQ4snMtNABlq0M5Roq8M5R4HEro2pz0ezH
      F3FTvbOOGrkQZ25meqPlZ+yts8O4VM+ba67mZqX.Ye7e.fD8DO.
      -----------end_max5_patcher-----------