<div dir="ltr"><div>I just checked the patch again, cause it's been years since I made and used it. In the [pd dec2hex] subpatch there's a list with some hexadecimal values where the third and second from last take values from an input list. From what I remember I had hardcoded the channels and played with their values only.<br></div>Can't remember which value sets the channel, just play around with it and you'll probably find it..<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 5, 2015 at 9:11 AM, school shoes <span dir="ltr"><<a href="mailto:schoolshoes@outlook.com" target="_blank">schoolshoes@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">great, sorry i somehow missed your reply on the forum - thanks very much for sharing your patch!<br><br>i had a go and some lights in the theatre are definitely coming up, which is exciting. however i’m still unsure about how to address specific channels.<br><br>in your dec2hex abstraction i noticed that the 4th last number in the list changes which light comes up, though the actual number is not the channel number (as i know that i have lights on channels 1 - 5 but using those numbers doesn’t bring any lights up). sorry if i am missing something obvious with the number conversions, this is all quite new. <br><br>many thanks, <br><br>s<br><br><div><hr>Date: Fri, 4 Dec 2015 15:43:56 +0200<br>Subject: Re: [PD] Lanbox<br>From: <a href="mailto:adrcki@gmail.com" target="_blank">adrcki@gmail.com</a><br>CC: <a href="mailto:schoolshoes@outlook.com" target="_blank">schoolshoes@outlook.com</a>; <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><div><div class="h5"><br><br><div dir="ltr"><div>Maybe I'm that someone from the old forum post. I use the lanbox with [comport], not via UDP. I copied the messages output by the [lanbox] external in Max, which used hexadecimal number (if I remember correctly) where one of them was the channel and another the value (among other values).<br></div>The patch I sent you on the forum did exactly that.<br></div><div><br><div>On Fri, Dec 4, 2015 at 3:25 PM, Martin Peach <span dir="ltr"><<a href="mailto:chakekatzil@gmail.com" target="_blank">chakekatzil@gmail.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span>On Fri, Dec 4, 2015 at 2:22 AM, school shoes <span dir="ltr"><<a href="mailto:schoolshoes@outlook.com" target="_blank">schoolshoes@outlook.com</a>></span> wrote:<br></span><div><div><span><blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello, <br><br>I was wondering if anyone on the list has successfully used pd with a Lanbox dmx controller and is able to tell me how i should format the messages to communicate via mrpeach/udpsend? <br><br>It works with Max Msp using the [lcudp-pack] object (from the lanbox website) which packs data so that it can be sent as a LanBox UDP packet by the udpsend object.<br><br>as suggested by someone in an old post on the pd forum, i have tried in Max to print the msgs that come out of the [lcudp-pack] object - i get “FullPacket 260 203381508” . however this doesn’t seem to change no matter what the input (even though the dmx controlled lights are fading in and out) so not quite sure how to decipher that.<br><br></div></div></blockquote></span>Try sending it to a [udpreceive] in a Pd patch and see what comes out?<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>Martin<br><br></div><div><br></div></font></span></div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div></div></div></div>                                       </div></div>
</blockquote></div><br></div>