problem converting monomeserial app

  • docs say for /prefix/led_row or /prefix/led_col messages "offset now required, multiple d allowed"

    so what does "s mlr/led_row" convert to?

    or "prepend /mlr/led_col"?

    edit- found the solution- attached screenshot

  • yes but mlr/grid/led/row still requires an offset, no?

  • the updating-monomeserial-apps.maxpat just says "/led_row, /led_col, /frame all need extra arguments…" nothing really explains what to do in this situation.

  • ah, the question is about offsets.. sorry, my bad.

    take the monomeserial version of led_col as an example from here:
    http://monome.org/docs/tech:osc:monomeserial
    says:
    example:
    /40h/led_col 2 255
    turn on all values in row 2. this is true because 255 (decimal) is 0b11111111 (binary).


    the serialosc equivalent would be:

    /grid/led/col 2 0 255


    for /led/row, the first number will be the equivalent of the monomeserial row number(just as the first number for /led/col is the equivalent of monomeserial col number), the second number is an offset which can only be 0 or 8, for led/col, it represents how many columns offset to the right, for led/row, it represents how many rows offset down(this is because serialosc addresses quads 8x8 at a time).
    generally, you can leave the 2nd number at 0(no offset) for monomeserial conversion(especially if you're on a 64).

    the serialosc page gives more detail:
    http://monome.org/docs/tech:osc#grid
    but it depends on whether you're on a 64 or larger... you can use the 4 argument version(ex: 0 0 255 255) to update 16 leds at once, or the 3 argument version to update 8 leds at once... example from the serialosc page:

    /grid/led/col x y_offset s[..]

    Set a column in a quad in a single message.
    Each number in the list is a bitmask of the buttons in a column, one number in the list for each row being updated.

    examples (for 256)
    /grid/led/col 0 0 255 255 (updates quads 1 and 3)
    /grid/led/col 13 8 255 (updates quad 4 due to offset.)

    examples (for 64)
    /grid/led/col 0 0 232
    /grid/led/col 6 0 155
    Offsets must be mutliples of 8. Offsets for monome64 should always be zero.


    hope that helps.

  • so what would the message "s mlr/led_row" be in serialosc terms? Or "prepend /mlr/led_col"? the app im trying to convert was designed for all monome sizes.

  • you're not looking deep enough.

    [s mlr/led_row] goes to a receive somewhere, likely to a [prepend /mlr/led_col]

    raja gives a very good outline on the conversion.

    instead of the "prepend" box you'll need something like a message box with

    /mlr/grid/led/col $1 0 $2

  • @tehn

    so if I'm understanding this correctly, if i have [s mlr/led_row] going to [r mlr/led_row] then to a [prepend /mlr/led_row]...

    i don't change all three, just the [prepend /mlr/led_row] to [/mlr/grid/led/row $1 0 $2](message box)???

    edit- nope tried that- didn't work. im so confused!

  • you almost got it...

    here's a patch that might explain further:

    ----------begin_max5_patcher----------
    1375.3oc4Y00ahiCE8Y3WgUTkniDPy2.UyK6K6ehcFMxjX.2lXGY6Tfcz7ee
    u1NoMcJgltCgriVoVB1X668d702yAy2GOxYM+.Q5ftG8WnQi993QiLco6XTU
    6QN43CIYXoYXNI77bBS4L09YJxAko+OOa1eREREJYGI4QDuTgT6nxovqDFZK
    GwYHE+UeJAslqT77YB51cJTAVkrqdcynLRBujYV7fpNYk4TVFQY7DupN2vYJ
    FNmX7h+PPwYNuLbvP0i2spWiYnrseSPRT1HOJxat6Tjm6RyiHW8ivEycQesZ
    RzTyxyW+vrf.mFVdCNgzzE08Io+soOO+40FciX6ZiSL2U2wOFOV+xzNh44Do
    Duk7FL+FOjK5FemSAO9eP3wqc3INvfKgdFboBqVdZzweoy4QBqIUGKH1E2wA
    80e+fjEdgcGRVbcfDFYOXt2fHEBRAgkhtKOSb2VAM8tLR5cI7LmKwopNfQAw
    FzIXk9guaKfTz+AAIAeeeCR0msVZRj7BCNKHENnfj.VdhEh.z4a.57Ri1xmB
    9fPUv6BUAK8MP0BuyBUAeXnZZ0+Wz5QMAHjOxOJp2qVuxdPaQnkSK5r0l7uN
    YTsqZPKR.A+okCfSTk3LTBm8DQHofhAohTLGsiHHSQ1zu8zrLTJQAwqYNU.O
    L2DtHEfBsJC8G.Go2POLiKSPXw1Rs4mhVCBOnJ6hHUBZgtEeyFTFA+jdxbV1
    QXepdFxakzbZFVnW086vfMI6.2BSSQTlwNpcBBN8SSQ3rL9d8ZbjWpG9CkfZ
    nRIAAbRXn1xM9V6iyj75H.D.sC8HkkJAunNVzfADra2AdCAIg5R2AauD5SDD
    in1yEONe97SJTJpmEJsLNtwQvfPSQKch1oxs7dupU+ZhhZMkJIiBRLgsFIjz
    rWGD1cN81jrdWqNsAbT89.1lLAocGqDkNHBQWE317r64Eh5E6bEEc1yhKi7r
    pDVs7bkq7FX0kuh66pTMeo2hWUMe0YgmUCq9.D.OmDPbu34KAgqrONqH.2AE
    OjshGWxRx1Dj.64GqV6VwCu1viqLk9TfLDJAiYvfvORLibhOKcxyDunMBdto
    eJCrjlVMiJU.wmldcBPey3JZhcpd.Q6ySD3QMNPAV.CnTycqmo1grNCPv+Em
    FGj+hidUelwWyPfsSAKzzuvBgUjTz5iHYA708k5ganQfkLACD7ZB+BAeMdMr
    16wLKYBDhFZ+fAgp1u5ngkiNHH5rT0ACBU8sedFrKRt2RVafainoIZMOSLn2
    jJkOSpXpsWnTcZkFiPobhjMQgxwJEQfvRTFGRWvlDvilUUOEodr5IbK4v8PB
    YYFrkBocRz9RUswLu+SsIupuo+8VXNK6EupwdVqz+9Co7Jqj7euTW4aueuUw
    cQbkqyPbidu49GzUQbaTCouzYrJpQ0hp6poMYFwChHr9Jx8b8aPf9NBPi9+l
    9SadQ0Qlyq9Lb3EeViM8sHTKp3YgE6U20plqgWB5YQkK42dMpA6k8JBZCU5h
    PTy7LLD+zOPkwz59eMdH4khjZTr92h.8h4SIREkgUfHzlCJ7UCZGMMkvZFno
    TInqiX78SWpuy9SPW7mkWO+YQW7mnqK938d9yhqm+D0A7QekDMb525O4zzBN
    kopRhW3GLOBzcDGZOkD+bqWLzkKBB6gHHFzLA9bjaPiHvzpOh.2tjiFb8xI7
    6h+38N9yOmS.BSALLv0jZTgnlV8.hpujne8H3x4Owcvch9XYndtgFDDHTfG9
    qbetUejg1A+O9pglc5.++RuwRHiKJptJGiqncDPJxCbgtY7TSSJy1zHtvQPd
    hVO9kldvBP6f9G.oTXEbbXYryXsc9w3+ALLXUU.
    -----------end_max5_patcher-----------

    (or let us know what app you're trying to convert, maybe we can point it out from the same exact patch...)

  • @raja
    thanks for that. the app is mlr_cyst-the [p 40h_osc] patcher is whats giving me problems.

  • @Raja

    i tried doing what u described, but when i go through mlr_cyst's pages the left half of my 256 doesn't get any led feedback now. here is the 'p 40_osc' subpatch if u want to check it out.


    ----------begin_max5_patcher----------
    1330.3oc6atsjhqBEF953SQpT8kNs.4fw8c6Gf8SPWcYgIzJyDAq.1Glo528
    g.IJZGsyD6IGpZeQaGgDXwG+rV.F90DGuU7WIBO2+w8AWGmeMwwQmTQBNke2
    waK90jLrPeadLxK7Ue2apIKI4UoN4ctAfMK4hjpbdhyjL7VhN2+Mmhypxgse
    KkkQj5xCdLQ9dYUp.qBQP+otPVbeUp6vxjMT15k4jDow18CQprcCQ95+EU7I
    b98.2GKelDdFO2buvhLA2Gu..WDUbEn7Jn08ugllRX1VHMU2TTM9u466YaJj
    7RdUBLkcSyHOSxETtcQ33g2syJYGqGofxe2XgQSOjDkYRBdHobxyzpmO7Pp3
    bEPjJZrO2.7Wii7LY99jpJ+HslGEqATPASci.ZhDrH9X6WoBVmwS9AI0p6vw
    iuivnrc4DAgIwxR63P1ojmv6yjKs61fn6qM+mvIjK9v0Jbb7VmSS4rBi3jmr
    H4ppS08Fpaag1MF8cvv6p4gEp1wdwJbdAWWkoKDTUlRNO6zrNzUpFkfYzsXI
    QRMFKBbnPoa2kSYxSpHBCqJiMhjbdV1IEkImmqImTUucB4EZpbitrrQo51o6
    p5B7NvnT5ZhPdZZR7ZwoobxvdaYn8v+SR+ZtAN0UPt6Cayxe7ob91uIN5QnF
    uBrTbFw8+T8J12yI9G.VYXbPHeaWYOsm2gd3O5BAdVsVid7B9RVnGN.qFiT.
    cUeqkb5LuAnPupzeexjpKl90CVgArR9siU3E4Fn0byGoG44Ga79hh9Lv4C+J
    A2VhPfWSpkb2AcAt2gbuy+xTy1SyG3Ep6kgAEwul5tPiwH80v3qnBC9eX9ov
    zGzPX52QCoUgRUAjRcmoFXOqHJ0rLR5LbVVKQK7qFsK9zQ8.MSg.CTAgmO0q
    5mN04DG1Q.O2sfzIYDbdKQLnGPrdxsQlO8aGfQcVPJwahYZjb6R3lEZ5SAHb
    tdhtn4Feof1QP+NUhpn3nQfFfzSYx2+Bq9pY78KM.lFG+cQTMf.s.XO2wOtR
    jyZxg1VXBe6VBqbp68P3GYw5FFKgcBPZR6qC86tHncRtnNcH8M.XPeAXTrVJ
    GF2N.OuODxhM6ko7WXiGwrY1onxX6vVB63tM.0sQYPuQYe8jAhQsCxK5CEMk
    IILAU91nSRa7OCgsbNAPPmpouUN2ahZnwMcbKmZKD1qq2UPjiMgMLxrKgfV5
    qFh5TgshxiNIsu9egsb8tvdYKbTbdYN+kQmZ1LYOHrsvNnqUy2.k6MEsYWHl
    OukLNruDzI7rwlfNL717NG04541C49SOq+nkyiF1UKMT5tx8uh9cEls1a50Q
    Lp864qYK0PAlctrkPNty102BcbwKFfX3rsuleH2pc8sk+vDnNaEHplLwZhw+
    f7l4a3zD2Y23lpGbUeDSs96Jh4fariv23pHrs8D0tHkiujGYT1kdmFz1TQ90
    2EI36ySpngYQ9ScO05RIBIkc3Ud4gpcb476q9VQJUT7JdXdYZZjb5O0hianE
    CGNl77FZxQCFKN5q.xfN0jCanI6CGLlbv3ixnlhYzvAynFy4fgiM62TaNZ3X
    yEc4nlLDbXYxMRNCFL9lQMUYLXnr1+Ebb4aF1zf1H+Aix.FM9laDrwATBFN1
    bvHjyMNfBZ3XynQHmaZDE3vIhRMlxvmyc8bmcebh8oLwSfeljtTUEpE+uDKk
    4zU6klkkae.Yt0SBxmeRS9CNdD0ZDWoxuTktNiuBmUdjfN7r0bJLlbDh5OK2
    EiyOdPEv5riEzYGInOdbftzQARUOuO42.ENFtQ.
    -----------end_max5_patcher-----------



  • ----------begin_max5_patcher----------
    1332.3oc4a1sjaxBFG+XyUgiydX5FA+HZO68B38JXmcxPT1DZMXFgrezN68d
    QPMnqI59goF6AM0ED3we7mGd.keOyvZc5yXlk42Muyzv32yLLjIkmfQweaXs
    C8bTBhIuMKJ9oz0+vZtJKN9YtL48lt1aWkxhJy4gTJmQ9ENO2vasKRMJMIMS
    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.bJJrETdnIri7+75b8t.m+EjzYoOMz.WEwG.zsSD2Ipjd0vSY0VQrbYmL
    16eAUcTZx.yaOO8sm7b.2epJpGdHq9oyHpASrEIxMWa9QQ6ZDci07ds6upMW
    C5p1CyNg7kZwgvK09+lqiy+DAXe3M.V8hcK2+2NeEEP6I1F.KZRrlm2eheQ8
    Wn3HyEuusW+s9Hlq8u98F1gNJWEdc2Sb5kq39k1S31ROwwO2iDB8TecCxGx7
    7auKhkdHKpDUkumVy5OuwXFmPq95Wt6XPVMtwiOH58HwDV9m6Qb+ETuWaFza
    aN3L1L3hZy4uB29Yy9iGN6e8wYvWgIegwr8UHl6MmsGO1L7Jjy81sAb7Xyd8
    zlgtiGadYesYmwiMmKSA8vlc.iFec8dH33wh6qmN33wSmzlg8QYLdvbucZLd
    jFtWewZzWJOhbY3e8Q49NYh+nwiQv0WnQg8zj+prXy6moedSrXnGwwqDs.Nh
    uBw4Yj0G3pkkqeTY9rmIjtOyIuiCJQqFwYZ7S0naRRWiRJNbPUkskyiwriPT
    9awtXz7fBkCqFGPnFGNn2dvfN0gBRzNuN6OPK8qK9
    -----------end_max5_patcher-----------

  • oops, didn't catch that. tried your edit. unfortunately though, the led feedback in the mlr_cyst's pages is somehow worse now.

    the patch i'm working on is basically mlr_cyst ported to m4l with a few additions. i have the patch complete and working under monomeserial protocol. nearly finished the serialosc version, except this one issue.

    if you can take a look at the overall patch that would be great, but do you have m4l?

  • "if you can take a look at the overall patch that would be great, but do you have m4l?"

    no sorry, i don't have ableton/m4l... (but i'll take a closer look later tonight).

  • weird, wasn't using monomeserial. i have the latest version 256 so i have to use Pages for monomeserial apps, but i don't think i was using Pages at that point either.

    i just tested the version u just posted, and it has the same led problems with mlr_cyst's pages i mentioned earlier.

    heres a rundown of the controls in the cyst edit. at the bottom it explains the pages.

    top row controls:
    1-6 stop playback for groups 1-6
    7-8 modifier 1 and 2
    9-12 start/stop+erase pattern record
    13 previous preset
    14 next preset
    15 set tempo (light indicates a mismatch between current and preset tempos)
    16 tap tempo

    1-6 (with mod 1 held) decrease volume for group 1-6
    1-6 (with mod 2 held) increase volume for group 1-6
    1-6 (with both mods held) mute/unmute group 1-6

    9-12 (with mod 1 held) stop pattern without erasing
    9-12 (with mod 2 held) overdub pattern (only works if pattern already recorded)
    9-12 (with both mods held) erase pattern (even if pattern is stopped)

    13 (with mod 1 held) toggle loop length page
    14 (with mod 1 held) toggle group page
    15 (with mod 1 held) toggle reverse page
    13 (with mod 2 held) toggle octave page
    14 (with mod 2 held) toggle file page
    15 (with mod 2 held) OR pushing both mods at the same time go back to the main page



  • bump for anyone else... my bad for not getting it entirely.


  • Weird, tap tempo is button 16. I have no idea why its not paging for u, because even the one u posted pages for me. The reverse page is supposed to be blank, then when u press a button on a row the whole row lights up to show reverse is on for that row.

  • bump

    still don't know what to do with the /mlr/led_col and /mlr/led_row commands.

    this is the patch I'm dealing with
    http://monome.org/community/uploads/FileUpload/4d/3afd95ae0c0a4ff9d964819b3583b2.zip

  • check this.

    there's no /led/col messages to worry about, and updating old /led_row to /grid/led/row just requires adding a leading 0 before the numbers – it's an optional 'x-offset' that the old protocol didn't account for.

  • wow its that simple. thank you so much galapagoose!