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. Can't remember which value sets the channel, just play around with it and you'll probably find it..
On Sat, Dec 5, 2015 at 9:11 AM, school shoes schoolshoes@outlook.com wrote:
great, sorry i somehow missed your reply on the forum - thanks very much for sharing your patch!
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.
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.
many thanks,
s
Date: Fri, 4 Dec 2015 15:43:56 +0200 Subject: Re: [PD] Lanbox From: adrcki@gmail.com CC: schoolshoes@outlook.com; pd-list@lists.iem.at
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). The patch I sent you on the forum did exactly that.
On Fri, Dec 4, 2015 at 3:25 PM, Martin Peach chakekatzil@gmail.com wrote:
On Fri, Dec 4, 2015 at 2:22 AM, school shoes schoolshoes@outlook.com wrote:
Hello,
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?
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.
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.
Try sending it to a [udpreceive] in a Pd patch and see what comes out?
Martin
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list