Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread Marco Hugo Schretter
i use 2 options: A) for osx and linux with ggee's shell [curl -s http://192.168.1.123/relay/0/?turn=on( | [ggee/shell] B) for win/lin/osx i prefer [http://192.168.1.123/relay/0/?turn=on( | [mrpeach/httpreq] | | [connect 192.168.1.123 80( | / [mrpeach/tcpclient] liebe grüße marco Am

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread RT
Thanks I made those changes. I thought I would be able to pick up Pd again after several years of not using it. CLEARLY I was wrong :-) . I'm going to go back and re-watch Rafael Hernandez Pd tutorials again https://www.youtube.com/playlist?list=PL12DC9A161D8DC5DC They where very helpful several

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread Christof Ressi
you can actually use [fudiformat -u] to omit the separator (; + newline), so you wouldn't need [list split] > Gesendet: Donnerstag, 24. Januar 2019 um 20:41 Uhr > Von: "IOhannes m zmölnig" > An: pd-list@lists.iem.at > Betreff: Re: [PD] Using netsend to send url / text to turn a device on and

Re: [PD] PdDroidParty questions

2019-01-24 Thread oliver
Chris McCormick wrote: Hi Oliver, On 7/1/19 10:03 am, Chris McCormick wrote: your latest build. seems to work alright, but the background is rendered as black (!), making many example patches unusable unless they have a coloured canvas or a png file as background ! I've filed an issue for

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread IOhannes m zmölnig
On 1/24/19 10:14 PM, RT wrote: > Thanks all this really helps, my toggle / select is a little messy please don't! switching the toggle to 1 will: - send an "ON" message to the device - send an "OFF" message to the device - send a "connect" message to netsend - send an "ON" message to the device

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread RT
Thanks all this really helps, my toggle / select is a little messy but it turns my Shelly1 device on and off from PureData. Thanks #N canvas 300 179 710 697 10; #X msg 241 261 disconnect; #X floatatom 303 622 0 0 0 0 - - -; #X obj 329 203 fudiformat; #X obj 331 255 t l l; #X obj 359 293 list

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread Martin Peach
On Thu, Jan 24, 2019 at 11:36 AM RT wrote: > > I'm trying to turn on and off a device using Pd by sending a URL. At the > moment to turn the device on I just type in a url in the browser and to > turn it off I type in another one url . > To turn the device on I send

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread IOhannes m zmölnig
On 1/24/19 8:20 PM, RT wrote: > This is what I'm using I can connect and disconnect but the command syntax > coming out of Pd seems to be incorrect. that patch misses the argument to [list split]. the purpose of [list split] is to remove the ";\n" at the end of the FUDI-message, so we calculate

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread IOhannes m zmölnig
On 1/24/19 7:35 PM, Roman Haefeli wrote: > On Thu, 2019-01-24 at 18:24 +0100, Jack wrote: > >> I guess you mean [list fromsymbol] to convert symbols to their >> byte-representation ? ;) yes, of course i meant [list fromsymbol] instead of the non-existing [list totext], for converting symbols to

Re: [PD] hid

2019-01-24 Thread noxidgerg
Thanks for all the help, everyone. It appears our problems with hid stem from trying to install it on a recent Mac OS (High Sierra). In the meantime, I will look at joyosc and HIDIO as an alternative solution. -Greg Dixon > On Jan 24, 2019, at 2:23 AM, Dan Wilcox wrote: > > An alternate

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread RT
This is what I'm using I can connect and disconnect but the command syntax coming out of Pd seems to be incorrect. #N canvas 293 155 710 697 10; #X msg 241 186 disconnect; #X floatatom 303 547 0 0 0 0 - - -; #X obj 378 555 print; #X obj 329 128 fudiformat; #X obj 329 53 symbol on; #X obj 331 180

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread Roman Haefeli
On Thu, 2019-01-24 at 18:24 +0100, Jack wrote: > I guess you mean [list fromsymbol] to convert symbols to their > byte-representation ? ;) Have you tried [fudiformat]? I think IOhannes actually meant it. Roman signature.asc Description: This is a digitally signed message part

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread Jack
Hey Johannes, I guess you mean [list fromsymbol] to convert symbols to their byte-representation ? ;) ++ Jack Le 24/01/2019 à 18:07, IOhannes m zmölnig a écrit : > On 1/24/19 5:33 PM, RT wrote: >> I'm trying to turn on and off a device using Pd by sending a URL. At the >> moment to turn the

Re: [PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread IOhannes m zmölnig
On 1/24/19 5:33 PM, RT wrote: > I'm trying to turn on and off a device using Pd by sending a URL. At the > moment to turn the device on I just type in a url in the browser and to > turn it off I type in another one url . > To turn the device on I send http://192.168.1.123/relay/0/?turn=on > To

[PD] Using netsend to send url / text to turn a device on and off

2019-01-24 Thread RT
I'm trying to turn on and off a device using Pd by sending a URL. At the moment to turn the device on I just type in a url in the browser and to turn it off I type in another one url . To turn the device on I send http://192.168.1.123/relay/0/?turn=on To turn the device off I send

Re: [PD] Adjusting swept / chirp signal logarithmically or exponentially

2019-01-24 Thread Roman Haefeli
On Thu, 2019-01-24 at 07:04 -0500, RT wrote: > I know we can create a swept / chirp signal with the code below but > how does one adjusting the signal logarithmically or exponentially [69, 81 1000( | [line~] | [mtof~] | [osc~] | \ [dac~] Roman signature.asc Description: This is a digitally

[PD] Adjusting swept / chirp signal logarithmically or exponentially

2019-01-24 Thread RT
I know we can create a swept / chirp signal with the code below but how does one adjusting the signal logarithmically or exponentially [440, 880 1000( | [line~] | [osc~] | \ [dac~] -- -- ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and

Re: [PD] hid

2019-01-24 Thread Dan Wilcox
Does [hid] use IOKit? If not, then it's most likely *very* old. I can take a look sometime over the next month to see what's up. I've never used [hid] myself as I came up with an alternate solution (see last email) but I know it's generally useful to many... On Thu, 2019-01-24 at 11:00 +0100,

Re: [PD] hid

2019-01-24 Thread Dan Wilcox
An alternate solution, which I've use for a decade now, is *not* to do this in Pd, but to simply forward gamepad/joystick events over OSC: https://github.com/danomatika/joyosc > Greetings, > > My students are working on projects where they want to use game > controllers with Pd. > > We can

Re: [PD] hid

2019-01-24 Thread Roman Haefeli
On Thu, 2019-01-24 at 11:00 +0100, IOhannes m zmoelnig wrote: > On 24.01.19 10:46, Raphael Isdant wrote: > > I didn't tried it yet, but you can find a compiled version > > you could also just try to compile [hid] (and upload it to deken). > i don't think it's super hard. I tried with hid-0.7

Re: [PD] hid

2019-01-24 Thread IOhannes m zmoelnig
On 24.01.19 10:46, Raphael Isdant wrote: > I didn't tried it yet, but you can find a compiled version you could also just try to compile [hid] (and upload it to deken). i don't think it's super hard. fgamf IOhannes signature.asc Description: OpenPGP digital signature

Re: [PD] hid

2019-01-24 Thread Raphael Isdant
I didn't tried it yet, but you can find a compiled version of the forked [HIDIO] object here: https://github.com/Benitoite/hidio Cheers Le jeu. 24 janv. 2019 à 09:40, IOhannes m zmoelnig a écrit : > On 23.01.19 23:24, noxidgerg wrote: > > Greetings, > > > > My students are working on projects

Re: [PD] hid

2019-01-24 Thread IOhannes m zmoelnig
On 23.01.19 23:24, noxidgerg wrote: > Greetings, > > My students are working on projects where they want to use game controllers > with Pd. > > We can currently get the hid object to run in Pd-extended on Mac OS High > Sierra, but I would like to encourage my students to use a newer version of