[sharing] 6 modalities for Arc LED mapping

  • So I had started another thread (http://post.monome.org/comments.php?DiscussionID=14473) after getting stumped on some arc mapping stuff. GTZ chimed in some super handy examples.

    I took those examples and tweaked/simplified stuff to come up with 6 ways to control LED mapping. All using the same 'ID section' type approach (similar to tehn's arccc app).

    The modalities are:

    1) normal fader
    2) normal fader 2 (uzi based method for dynamic control)
    3) static image
    4) moving image
    5) position/window (rslider type control)
    6) fade in

    I tried to keep them all compact/efficient so barring a few examples, it's just list rotation/trimming stuff.

    You can change the 'ID' by editing the 'append' object. I found a 9 LED ID with 2 empty LEDs on either side (so 11 total) looks good and works well. That section could be dynamic too.

    Here is the patch:

  • ----------begin_max5_patcher----------
    6076.3oc6c0saiqij95zOEZBlKNmYR6lE+Sj6cKvdy9Lbvh.GGkz5zN1F1Jc
    e5dv7tuRjTxxN1NThhxjYDbP9Q1wt3mJVrXwupp+0mt41GV+WY6tM4+J4ORt
    4l+0mt4F0kptvMl+9laeY9esX47cpW1sqx9w5G9yauS+TEY+Ug5xa1lsIa0i
    IeYy7sE+7KayW87WdY9lDn9Ut50WxWsLqP8t.lK9z5UE6x+Ul5Z3YHyk2LuX
    wWKeGtea1hBsvIAd4SmvoP0O.pn5GXzLTx+29Of0uVb7mP9iJwqTj+LfqkE8
    qq3maxzu42day6RkDsZ9Kpm31+6s4yWda0S7u+zmp91ctAR+Z4rsqKRv3SBJ
    3NCJobrBT.Z0OXj2ASvuES3mGRtazfkkqm+3KY61kfFHkEAUAEzTE7n+d2zU
    Hxqstx1j06V7vIADTmADNCOiUonjpvERO.DVP.HCDd.kyXJwCBQYTgj1C7f9
    QBOHBgBOn7YDDEjxdBJjORfBShcUIA+wBOjU3AE2a3.9HAGX85JN.GnqMbr6
    rvQ2WykiPUZGoZjfHeG7.8V7.2rlarsNR+0Avhq9ThxO3ry34Uu8HMEuegj2
    0U8S3VJNMD7KUCMlczjsZwWdLaYw7AFoP5Mzf6gy63fv68cKlurTAZVBLKAk
    fYmVUh2aeVonYXfB.bWhT1ic8Qkimc1pcwL+4r2hQYEI+cXfzbpAFd4bLABv
    o0dzChNALLT5013yhk4atfRCouqBwExFrg2is+UhMWcCyl4UUfid10PMuxrP
    MPlwXoBdemWwPW88HWj7PR9.4+Rk2sRFkIOzjCoG1kAFbdSNOLe0yUVmyWUL
    Rnz7EKd8kAd9UosmZDhx6ixCb98B3Aj4b1k+xtet6Ka1l8T9eYVmefrQKQrV
    QlSJ5t4Y73EvkEqe4krRP+MwzMew2Rdd67MeMeQxWy1lMTgmiwTdMKUZN.B2
    i8JPF18J7ZI.7Z8aYdQ1KlXhe6p0aeo7srbB6SyeLaa0ubW02d60w0O0th4E
    4KTyweQozYt9Kq+dtYt+AWey5c4E4qW8keju5w0+n45UuwZKE21FXFf.ixp.
    6RjGdO69jSf7MSbKmuTh6EYauOa07GVl09V0ImTe2n5W5+LAFVW0KWsTsMOk
    2WczdmXLs1cNGJ9Qd4PKgeFbIs23hTqM0m8+BWcWPaN7gg5jpX.qUXC6ygO.
    7QCT1sLWY8R+TMCvlw2IwhKLn4jl88C5ipCy6xPuQc3ox6KEku1MuVb3GcGr
    4TBVC3pgUliSJsE2B+eZ9hr1R26p4nr6ddPjCJPDolHkp7f.K6xxhhaGEGC9
    e+eR1UJ0kqYMTAOD3pQtjq2xe2cHXuG290W5MpS4F07.X6+ig0.BEqhsHv6i
    Y0qdj12jTMe497UCrUUiFBpGXROObp1xTooRMRXfhx+g7kYeOa6tp4B6+buo
    RQo0kuo0+RE98mq21Zy6UWJek9RnlKsM6640++L8EKuq7o5mrFXzq8xUdxwY
    f1QkV.S48umWtdw2xdr8a+sqK0iyWUt0mckSvmWX9bZd5GydZ9qKKt+z2fN7
    4qsBdxm7jf4M29717GWupRHN3+r5x0eb+Q4bK0Xi0dvndEqlu4D+yU9c+5tG
    lusB2LqMfqexh0qWd3S0bqpT+d9pRWxKxJxewXlt4MM+kMaUtn05CRuzyW2s
    X65kKO3sR+Le+DOyik2MWj8i7GK9p58pMTV9xy2TeK31FL5w7my1Ub30Jl+7
    tCuxAD3osZV6ItGb8KZj+swsrT07Kk+CIU54K20defmcd8Elaet42TBsd4tS
    5J44WE3btPbIab2TamyLqpmP2A19NeTwgRc3yBY7dCYDse25ckHwVfXvoQLd
    ag67FGut.5uVNawWmu54yq7g6MRBBku5TMCp31.k3SCkR7kwx6BF77Iefi53
    JjRO89jsWijbQTTs2fwDFOL7gGhi.0C.oYpMHRqvPF53vGZOR1bn5W+I2WBE
    O3.xFRjjRTwdkPTws9smSVGPRVLXlrlGt.1GKRi0yr0K4jB8eIGLIRVy44sq
    ecSBi3uI4X8deSQ8eUGbzrpyq+J2qfIvzbTiaAXRNCXBWDLqO+tScNdW8khR
    B3uZKxKyWksX8q58Uw7lCcXlZ8SLQ6VBoOVpf3XATTxn73r2DIdXoa8pMX8T
    ZLVsbCk2qah3XX4FEcFZHzvPtvsw5nYaNtXbzJailC6ajMMdQj0O3ZpxqRrg
    +m1rgmyrBN.nKhr+GChBDhBE0GMsSPJRFWP5trkklXuf2QDmWOTGD82lnX1a
    .Px5j2QgBztYYdQBjvv9.bMrovD7coCQOhFWZrkdy6inHA5sBkhc0UdAMjck
    +B.qgWr9wVfQcU6cEi0+MwmJhAupZGIdF4PWXGnHwWCoHjqghmwio3h3uI+D
    p8qTcFioLHVBJhGgS1fglnHBM+y0M7NvCfYpJdcTvg30EVf4ne7FFfDoS5X0
    x78Kl7fHNBNiGMTN.fHMNBNhm1voYsaAy88vGWdu+29reBEuInH.QeVQN3Lz
    6hmej2FDyrKHgqwrKnOOCERcVzyt4tTMRwp+dOLAR5x4QVyXpp+6usZ8CIee
    9xWyR9sx8X74xcY76CI9nEEqr6c939vP3YRLKU.VBSnyASGr8j13voFy6YsW
    0QEbFRpoj5pm+zfwt0utcQ8sg5.Pkbnr+X1th7UMjX7O1evMG8B+Z9iOdHoA
    07raWEq8z7izpac8RlAajYb3HyTKk4SbC4pJyVoa.giLisUlql7EHBsvZflF
    LxbUzprRlkgiLysTjCGyFLaE4Sb63pIyfsvL5M1DuZxLpKxbffyVacNbjYhk
    xLKbLNik1pZDNlMv1pafIgiLaqtgLfvYbW7dNLL0gs17b33wOFEg5FVJxjfR
    hAaULf3RjYQmdAFhNEipyOHPTL.Y7Yw.rcKUrvwgNv1stxBG0YU3IsRn4QnL
    GNqm.33yKT8lk.amDBAjPakenADPaqgivRjsZcPT3357ojkSK0BZfIzfsKqD
    HyBscN3PEpt8GHziprTLa0hed+h4K9pQpz0qmlxbws6l+8rGuuTDxVTb+7hh
    s4O7Zg9fjZWCNd+hUwYpvBmr5UzqRdwaqKCmp5MXSgwX45GluzTrQZdMGHwm
    5vX0fbWqJhkxR9QU.p8G6I5nhBEmdoJ4h9sYw5k5xXxenpgTInYbBCKo2YJS
    IspWKkeRkuMkxS6xXRqSk7RUFGtgkF55CB.cq3bZS8qqT51U7yCJTHmkmV8.
    4entZxboBT25mdpTLzeVeVSCfOWUaBtDBU2QX35dVfteePftTf+ZJSNM5Y6x
    pTzVuawrxAQ4G5Eq5zGvmflO04aetthJ9k4aWrXQ+vsN17gFpJxTMp5RyGJ5
    Joal9a.W5VEcCZnzb.VS2zUwSUopZaB1ik1MrfpKrMsUf5TocCXrHs3tQzUx
    tp57ZeKtaLZjN1MoylKicZ5siSAaSOY3dS8rcXt0iZM5kPepd+hOjUsMMKrz
    UsMhNgQXnop11TUaa.niZUEsU6E1fSVZgtu5oK1fn9yrWfZQhjOhrP8R0.OF
    IopffmrLeWgO3etgfuZLUz+5dGbXxPbESYDbR.+0YqfEzgmB25oKkt+T6Asg

  • M279ktkQSQr3IeTBKTHmTNST2fBcHUMdmDvpdOridgl6xo011rmu0WJoktX2
    frTGJEUPZDkmfdqfRpwTBOsYluKEURRr.o4qJ7QltwzaaBP6aNoNTaIoQRVE
    cXeU6BUtBtqHKHnMHqKIuNLUS+LS7KWrpFPcot9whlY9+iDvenI.6aljRGRm
    PbHMyezyWXSGlLUdjUz9kzvz3nr34OsxACHSihhnhp.Jg7SATx.nz8dK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VTFDgScVSFeVL.a2fBKfJMbzHrOlSrU
    nCHcCBI9Z9533yKT8lk.amDBAjPakenADPaqgivRjgQsUwODM3daWITPCLgF
    rcYk.YVnsyAES0FzOh0FzUu9xC6KKSCSAJgKcpVFJOUoLrWkqJC4NNeYLjMU
    ECU0FDQ+KzURd.Tmqd2RvyrgsFNoSsnTV2qwL7znqRzYFyslUCFZVx6zHmOU
    I557Lz5ZFlSyP83DTkTbHQIz2GN1ODyci2Y6V1r6v252wwkkcIVqvpaccooP
    yes+y4XuTdihjsC.tEx+QCx2c.TKx5t3b8vgj5kA.jZwHf+NCfQFOGMoAF.s
    ygSZjVANU2Ow1qrgEJkMrPNKs7mB.MSPHDfTeMOnycHYENWPNOHVE9EXQVHO
    Lw3ci116yD6uOyLbnq99rt163sawBgM2hoiFjZk7.rwyPm.a6MYVmmLyDD8M
    4Rm1pmLqulOtSaiQRAdz.VaVOCFOi1bqVecDWf0pEQnrQSfXVYoX7.HFxJEH
    4nIPDaVN.OdNEQXVoAczhpdUhrweB1HJODq1Uv3oSSrYwlzwSbfvxlHAEXNG
    Xi9yHp9fsy4owaMdrUKxy.Tu13cJisuDayDyjooX4Etd0Vyw.E.n72QxYTFk
    IaeYO30E1lkwwi2TZLyCAxAn5P2fOHPNXuDGDrM1j.Q2FABlJ0UYTQqQf5u7
    QjbD1tihQJ3I7fZQmiseegnNLVBDw1aXf8pbl7JzrM+TILC3btH0i60+XK+m
    yiPwHBsfUSmYnQUlryMC.FaYBrSlfwRlBLuMJUSrZKXxwThrykLTHJSocaQT
    ttnZjV9CIvQ.updtQmQEHIK87WuxQAJkJvzFWH1eIuXEDkNLyuOd7aDdASMN
    SqFaT4LFVTNRuv04zYbnbWlUWWCg6ujeF+VM7IinFosqux6bbzaBwpPtOhq9
    .UoRjelUseJQpLE.4cu8RdY7XoQhwSKgZkZBZLkHHrhmEXUHHUsYwQShnCRH
    1N14YghEGDNeFEggpVTgT2GF0WvGSHrLXgzNNRnh1B9c0GMjWGIV43FgNhZI
    1IQi3RRVEpQwHtC.qz9FQ4wp.aogwQZ+HXp0RzHgQ1sAowSdryw2pWDsqAxn
    wOKFpIPF9yYKjctBLhAsBYi8h9tIOM88NpSDVIJG0ABOp6CdbmGr7c6e+o+e
    .xhMA7B
    -----------end_max5_patcher-----------

  • (you have to copy/paste both posts worth of code)

  • coool. great work rodrigo/gtz. will definately come back to this.

  • Yeah hats off to GTZ for the help. I'm shit at [zl] objects, but seeing a few of his examples helped me figure out ways to do things.

  • thanks a whole lot..

    thanks for going* out of the way to post these examples..

    types of stuff that really helps a lot...

  • @rodrigo,
    yes, gtz has a way of providing great examples...

    beers for gtz!

  • I added a 7th modality (I'll post it soon as I'm in the middle of school hand-in stuff) but it looks the same as position/window, but is control by start/end instead.