Complex Breakpoint Generator


    Mar 18 2013 | 9:35 pm
    I've been trying to put together an automatic breakpoint generator, a bit like the one in Absynth. I've got somewhere with it - if you put the patch into presentation and flick through the presets you should get the idea pretty quickly.
    The trouble is I now want to be able to scale the whole lot using the function furthest left, so the rhythm gradually speeds up or slows down dependent on the curve. This messes up the offset feature as each division is now a different size. I know what needs to happen - the space between the points needs to be calculated and then each offset scaled accordingly, but I've been trying for a good few hours and I can't work out how to do it.
    So any help appreciated. Also let me know what you think, I imagine this may be generally useful, so I'm up for sharing the whole thing if it get finished.
    I'd also like to make it all operate in curve mode later, with another control on each set of points for curvature.
    Ta,
    Mark
    ----------begin_max5_patcher----------
    8422.3oc6c0rbijii9bOQLuCJ70oFsDD7OrwdomYOr21GfN5nCU1ppRyTVtB
    YU8zcOw9tuj4eJkkRKvrXRlxkhIlxtkYpD7KA.A+H.x+8e9O8C289m9s0Oe2
    h+yE+zhe3G929O4Gp9rvm7CsevOb2iq9s6+7pmqF3c2+ziOtd696dWyeb+5e
    ae0e3+ZwGeZ8yK9W6dZ6GWrZ+hura8yq2uv0MxO7z18aW835pQ+i61r5yc+o
    se8wMa+758U2Bn8S27P0Pe58+i+pRzM1pu2s6WseySa+kcquees7Cnao3cK.
    a0+pEgeH8+6het2M4outu8tH5KVOu4OpDKPtr6y+xp82+oMa+X+6gyT80JG7
    dzW3NZt7gce78U21khpO4+6O+mB+z+i2wF5qQT9fF5tDnghdXln5+P8JXlp8
    iq+r8+9WVW+8zIZKtay1peb7GzCfNEUcUO3Zd7cNgXPPs9l7KOrZ+pVk3CXW
    sz+9065eI9O7vn0uqFmHEFDzO74m7WPyusJH6pfrzNJP.v4GlXoT2ebhA95f
    poV6MkpG0W2de07x+62+40q14+E6vCY0COTcCEs+CuQaPxZB+ly+Szw85.ma
    TWW.NhP7PXbhmBGm3EmzoGI3YFI3YiS7biD7nQAdPeMO8vi9gmdb0lssWfY3
    Ata01OttUkFV95eqO9zCUi8HiR6PFkGMLoH7G+7lec8xGp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B.Ce
    VhDuYXIxu1ixuycyMphxJUQp2dTEAQPUjVBFcsf5Cfhedy.JS80ggHYYusWv
    ZatenwOL1a7RhTy8SII9aqrl5F96mDEsvgObcmh8txQSKbnUNIwV9TxV3vHr
    VMetTbsvgQaPGEEWJZ9bhH6jNuIE6qyzobn0HvdS4lNcCs.TQjVIGzMTje27
    wQsA+M+65TN7qSJA17G55TNPkQymNVpS4PRJhOGEc5FREhvatzCAXy0vIaOe
    dlfHFu8BXYR4ficc737ZaJCSFG.gI8TNviugTVFO.6x34k5F2JjmyUSYuFKC
    unjxdEdFj90NHfGYCndty1f3MCaCharMje1FTNTacQlNIWKLMzD5AClFLVm8
    VdkbwUDGlr.R6.xdirfgHKvhAyEFjEnE90PYRVf9667JQnHYMSojeVvOAQPk
    JTgagXRcRK+hABMsLyJsHn4SpQ3P4q23D.7IYPXrp54meKaZf3m.LFpY94TN
    UDE6jyTO+b9c6H4m.LRp44f0u2e9EN.nolmCDVukClWmokgbi0.7yTDn534q
    OrNTw+4G3iisd94uaHxu3pjPyyAu4O43WLWRr44fVK3mJF0jKoCY8Av+ZZMg
    TNqkOASRWqIDQjgeZeHcslPJohTN9Dg0ZBY.sg3W3YPqIj28KvmKF+dUot4m
    Hlqq0DRFnSjubZaMg7O60FfeRS0YBQtXRZJn0DBrn0n4mrUslPVuJMeWmJUq
    IDD1IJeBIsclPj0wm6Nks0DJvFLe8Sc8tNkjhOqjcqBI.UDzDp6VExOyT7kv
    tEgD15LNfK4osVPNoQw2BR2sHDDCwtcKAQZPXj7utN6G+J5B15WltkfjFDAj
    eZu0Y+3M73illtkfPolu6AS2JPFzH3uRooaEHz6lNhJiraEH+NgP9TKa6VAx
    iND+TZ01P6sQYif16V6GMH8gAv955VBxYbDeWs1tkfzVu6L9zl2sDjRo07yq
    UW2RP9m4ZcD4RXWTb9XUb7kytkfL9XN3a545VBxZhwEM0sDjC7ST9WW2RPNo
    eY5HJS0VaHukmfOtPcKA4bZjedBScKA01uK3dcs1P0m+6sy8XV28xBTMqXWU
    rH67rzJUJ1cuLQx6dYmb5HeycvrWbPR48rOzUcCNlG.hk8IfbLJ8JmBh.OB4
    SvQgfRVmEBvMYKeAX9JGCB3W+yw6TPjby4xF7IYGEhf6QgDVUVTstvsSO41o
    m7sb5IRk22uictZdHQAsuX6CW3DTBa7to3zly8Ss5fst7InHc9ciJSXtZ52s
    u4EEE2vWgTCpvcGXmhmJRXfFxi8QIaXdYjiZiFz5ZiR9VybazmeS3AgOvK0o
    dbtkdnm6DeLeemdnRsfbwcInrZO99c0hVG+irwTQMPL2He7dwJaday3kMeDv
    tHkspfxhY7ZQr3bSzjwNWbPr3rzOYnXuDZD3rTgwhyQBywNbas1eLE+saLZ+
    nnV6Ol1iOVq8GyknFi1OZp09i4FYiCm8ajHVbVIFi1uBgXwYkQFKNqLiQ6WQ
    Xr3bbnbjiVFstudTd905n080tn080ixyuAhV22DoOFiNZceyn77abQq6agn0
    8sixyuUEstejtXhc31ni6wNJO+NQzw83vni6wMJO+NSzw83hDmIQzw8PixyO
    gQG2CYhNtGZTd9IJx3dfnhh+7DFcqxNxPkcznFv5LNHK+WPKjwo4dDGl2LsR
    hI3.N.1E2wIZbe6sPh2RmsgSTkelbNaCOJWnC23VWk31IUL9Sp3MW++rJVka
    s+yQx0+weQynN+YflKgSRi4JDruB+Fj.icLWwasJMoI58KctCP3kWJqibv88
    cQlfFRPwQquwHOWGZ9UOI.cUmJMFB2AqLR1P.oxER7snn0WIE13tDGpQHVN8
    cgL3LlKAUZJxNgpppKIDEi6fVD2SRTbdmcuJ24BPG2iEzfjNNLVY.SUSsMhK
    gb9G+wweXH6qiCwrFqUZhjzEIBQSQwsVW4ahVWYaKtkEeCVco5iDNKV0Tmmy
    MShIgug4Z6j3ZglgaLLbsxvPUA9T2ltVhR.kxaLS7FfYhlfMtQMwnSCQancu
    qd6vOwaUtCjHpwn4Nn428+V3mMjITyjvcu+oeKPXvApEt6wU+18ed0yOG936
    1t9e4uQ20vvvc6W+a6q97mWrd6u9K6Vue2lO9w065FvGdZ69sqdbc0f9wcUq
    w17m7x3lsed89puXn8S27P0PqlMh9i8outucvh9e6Ou4Op91gvx0Me9WVs+9
    OsY6G8Bz86q4+PB9HKURBBMWQ.cUUlY0NkopGHgJl3a.Wd+W2uO77i8bCFXt
    0M35Oa+u+k00Sf6duWI5tE+L+4nh5li00Cx23bb3m8e5Wt+S+y2qRyScYJep
    KTAZDDUMGivqxlNDwnS.hzZokhoMNvzVdoo8IJJsV8bzXNFe5own6owb3KXm
    e1se8teY81Uu+yU2Owr.7TkG77FcKUBsLz6BldvaHawc01hwaJJNGrpujSJ1
    vZTHoAOfj1DXl935medUXA3WhVMwmDITIOGTYxFTQtPq4jB8bDPB5kNEAg5j
    FqfJv8s4QqKRjW01qIvmvGs7rZN1tufura8yq2teU3as27vQlkXyzPJqxiQH
    zsQAsZYHqICspDu6ZUn8YfGPjiAW0kMia++wZNKUdXV6bgt.zEjo9yviPoyZ
    x29G8AZ9km1rsdh7SGGB7og3dZHr8BQ8JIdNoLswy4NDqiPpVZEBSn4HWj34
    j3zDO2g4HQX2TLKgygo4gtJsgygGLQERWGhL2BmSpKTDIGvm9JLWUQyIMEG6
    b9e2B0jYW5X4vjDKmzluX45giBaGNdkDIWfs67.Tf.5hjyYBsIw5DFeNEHWf
    FwWOPNiS283d1DHWOMPuWvPuwzfEHNtquXz.UZiQS0E+h0qs2tqthDhFnmlP
    zNLEMVQ2TLKgnISyybSRCQCoNiOqP2AHysHz.aYhxnG7zWe4pJBMvUbrSKqd
    cgipYPDZxjDgFPYKBsd3nJrPXCNdsDglHebsY6hPyGrvxPiZzM2hPCtTDZJK
    M6hPqukrgBu6yI8avHzte0mW6ug96P8+Fs9u4bNJxk9OfTUdCBBkJ7psyF7R
    PxILvlci9nDOqGUH6.EnWZkNc3sllAmVfJQXjLWXj2M5RG.5Zt65ATHL8gJm
    lylFvDFobqRCYNXboooDJlDuQ45fu7ZNTYbFkFB3rYGmxnunz.Q4h4sPaI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V+5DZxi9M5iFPLEmfFX7d26R8WoEV5gBBRUucZvHPfzD8Q9prtiw
    IxFJXdqQV8tpSOYmx7+geQxDgToK6zpsuhwtxiQM1U0n0UU4bP.lsPbAaWyH
    7Hkrjv7UuWu.M+4ec0tNTo6u9SteNBuR85lICDvKYOzgEAkcokBsZh2sPU8l
    dx+AhgB0U9pYYDG0vi.zptXWCfdtadTA018Ged0ut9geY098613cou9vu8by
    yht2MVd39yec8Sen8y68Ry5vcncRJd2Y9iO+om1cPO9+8Ce3406u6bCzuv7G
    OySVP7ymc3ec6l8Ou+26ujVmJ1geIs6F+ozTJrTR6ZLGqvfnNzGhMgWWTHl0
    .l7W1lG8C83cZx.MJR2j4ENtBI0WicF63n5l3a11Nw8Wzj6qSEkuNWLcS1b6
    qygh2t959eVu4ieJNecv7wW2mRjuNoHoGpj1dny01Oz+qDecRnLGXRe6r4fu
    t6e5wG81xmp389UOudQCiaoQ+SdYGfXG3n0czIZkmBMIPC152NwgGEg1X4qb
    +Fzk2G18w2+s9LXXa+sox1Oo87CqF5081cgjdSqvra5yXZqhQky4VRuh0XVY
    V5HcyK4lHJ9zStV5eIUzLXRXoSxIlmlBMk7tj6JY8ojggjQRtwjsh6GcUYIh
    GcVZbBvN0k0+WVc++bwGV7gznPQtLWA2fvI6NF1Is1t9qIypinRX0U0UUaOZ
    pTX0kv0Mpd4fV.u9sPCRGRc7I+nDFjkcQRTur4i.TUcMao89pNVyZh3WOYmn
    mExVZFoEt.hnkGZWkWGm5oewmr4KGqNYXkQlGLZ+h2u38IwwkKgGDZk+Jl9s
    zU6XRAtCFdpIDv95erII9lbC1DRwuM3x+yMaYtPXe2USZ2w4uLlyz5rvlwVh
    HFLNYZiXXhW4yYnLG8oNbneobkuDFSU0ak8BDSkhp1.iQbXAu4W5Y3HyTjdF
    My89KjMwIlQhbvju8s0.QZQu05m1bxPkJLJuaaqEnL3K.pIKvwwkmwmmujrU
    f7tpHg.v5wFATASJ0UR2+yXRYdo6jttbdBMPd5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TnJu+m
    hkT7Rya10MiOo3UynjhOYqaBoscya5RJ997UcsrtopLugxNxLaFrtY9RJdgB
    iw+WFRJdo6viB+91Qovu4q4URwmLaeURSJd6ghXqf19bl25Xz4lSIEeekyK4
    mnrIEehS+TYtxVoltxyUY1mlv23n76eQy6jOUVj2UVsPyaqbOUlqbugbYO0S
    S0Vcy2qJcgN6odZp.ILWmKryc8l4oHTfLO0QWqIdJJK2w903t+ZLuSQr.gLj
    uzNMc3Tli+bdm1ontHzjHvqhzNEmjtDdyj+JLsSQa1hIBuZS6TLuY.VKRk5z
    Nk6gjfQcHI8dmnN.gMRqt54reRnTVgDxy4iXIboQYTtPFRYsKc93Pje2d9H3
    b47Q1s3SPh1qBPY97ckvRxQRsa56HCICixEw.N3Pyp2ea0GZ5Ro.oF7TON1R
    3aL1IPmTR266.RI5NcDk9z3hl1SkXDZSC.PloBfPqZo5p58esGMrkozK5Can
    4UOAjRlIO9sBmj.vnDVNzWju.ip9EwFoyyKokjdVLjKaY7Tcm+OeGEytEaSy
    RhjKWa4QCpoKimhcqujilfc91zA9kjHSk+z3dU8bVakrUwksuQij98bfVntY
    gW29pb4UGflhBgqa5ITsuE6ShNvG9516q1O1qO+d3oGWsY6KV79nIMxbCpn2
    mlrIA9bPcNkfgBvBM.Nz9TUWdI81++kgxv6wnvNk8QQyQRhKMBZ+iqd3glrD
    p5dV8np9ep9IZnpFF1gOwXjA2689DRqC6A5vmDJQMx0+6wqs6b3QiQqjB6Qe
    hC0Hz+SjfeSCli9DToIc+uYoRBGcykdaJwQBHJ7qKczj.Qev8GINnAI8Q2be
    3mFD6eqTjyKz8Gie.vwfg0XsxiDYRHw9RHb.gm24nfnDu7fl24nvfsf8IMD+
    Vn4sUNJHT480AmVoxVNJjJ5ZD4pfY89GqSQAY1RQgjgQYaSNM6EzqN0lpoWM
    onfvVfTTnY6.J.t1RQgA635YHEEZ7122c00RJJHnBDwfwpyVJJzKsM+1PJPj
    WlYz81R97KIEfhz2QcfoNGEjy5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nF1
    F+RU0W3cq9xW9006dt46tVrt6wU+im1E9uMuq9+dy15+65u461s9W2zdIN+m
    T8s5+m+e.13AX9C
    -----------end_max5_patcher-----------
    

    • Mar 18 2013 | 10:19 pm
      Have you looked at the 7-segment gen~ example of an envelope generator? It's even got curvy stuff *and* velocity scaling.
      gen~.7_segment_envelope.maxpat (it's in the gen examples folder)
    • Mar 19 2013 | 11:42 am
      Thanks for the suggestion. I've not delved into the delights of gen yet, so it's a bit out of my comfort zone right now. I'll put in a concerted effort sometime soon though!
      But after lots of tinkering I think I've solved the issue, though it's very convoluted.
      For the record here's my solution:
      `
      I'd be interested if anyone has a simpler way.
      And here's a picture of what I'm talking about below. I'll post the completed device when it's finished
    • Mar 19 2013 | 12:11 pm
      nice!