Re: [PD] Installing PD on OpenSUSE

2014-05-11 Thread Martin Peach
On 2014-05-11 12:45, Andrew Faraday wrote: Hi All I've been trying to install pd-extended on OpenSUSE but whatever I do `make install` fails. It looks like it's trying to find pdlua_stack_dump but it's not defined... The latest code should compile for Lua5.2 as well as 5.1, do you have this

Re: [PD] Installing PD on OpenSUSE

2014-05-11 Thread Martin Peach
I removed the requirement for 5.1 in the makkefile, this was in January of this year. I don't know when the pd-extended externals source was last updated from svn, maybe it needs refreshing. From the diff: - LUACFLAGS += -I/usr/include/lua5.1 # lua is named differently on every platform,

Re: [PD] How to read I2C sensors?

2014-04-27 Thread Martin Peach
On 2014-04-27 13:52, Ingo wrote: Thanks! Could be a possibility but I was hoping for an object that would be able to read I2C directly without adding an arduino since most smaller arm boards do have some I2C pins onboard. If the machine Pd is running on has an I2C port and is running linux

Re: [PD] [PD-dev] oggread~ not working on pd-extended or libpd on windows.

2014-04-05 Thread Martin Peach
-0400, Martin Peach wrote: I think it's here: http://sourceforge.net/p/pure-data/patches/ Martin On 2014-04-04 21:49, Rafael Vega wrote: Even more stuff ;) In the same file, oggread~.c there is a line

Re: [PD] [PD-dev] oggread~ not working on pd-extended or libpd on windows.

2014-04-04 Thread Martin Peach
I think it's here: http://sourceforge.net/p/pure-data/patches/ Martin On 2014-04-04 21:49, Rafael Vega wrote: Even more stuff ;) In the same file, oggread~.c there is a line that reads: if((x-x_file = sys_fopen(filename-s_name, r)) 0) But it should be: if((x-x_file =

Re: [PD] arduino/comport load hang

2014-02-25 Thread Martin Peach
On 2014-02-25 23:11, Allen, Michael wrote: I've had issues getting an arduino to work right with PD on my Raspberry Pi. Basically PD won't start up right with the arduino plugged in from the command line without some finesse. I turn the Pi on, start Jack, then start PD-Extended to open a patch.

Re: [PD] smooth random numbers

2014-02-22 Thread Martin Peach
On 2014-02-22 16:54, Pagano, Patrick wrote: Hello i have asked this is a few different ways and experimented but i am wondering, how does one create smooth random numbers that flow between each number instead of hoping from number to number? One way is to do a random walk, where you would

Re: [PD] mrpeach/net iemnet and other way to get file from the net

2014-02-12 Thread Martin Peach
On 2014-02-12 11:13, Cyrille Henry wrote: hello, We are trying to get small text file from the internet using mrpeach net objects. there is some few crash. gdb backtrace gives : Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff8cf81700 (LWP 31771)]

Re: [PD] mrpeach/net iemnet and other way to get file from the net

2014-02-12 Thread Martin Peach
On 2014-02-12 11:51, Martin Peach wrote: It looks like a 64-bit issue. If it really crashes at x-x_addr = ntohl(*(long *)hp-h_addr); then possibly the long type is too long or the h_addr field is not a long in 64-bit or h_addr is not properly initialized, so ntohl() looks in the wrong place

Re: [PD] [PD - 2] check mail with pd ?

2014-02-09 Thread Martin Peach
Did you try [pyext gmail.box] | [t b f] | | [bng] [nbx\ ? Martin On 2014-02-09 17:19, Fero Kiraly wrote: I think I have found an interesting theme about strings. ;) but the content of email dont really interest me. I actually need to get a bang when an mail with some subject is found,

Re: [PD] [PD - 2] check mail with pd ?

2014-02-09 Thread Martin Peach
it really is outputting and go from there. Martin On Feb 10, 2014 12:09 AM, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote: Did you try [pyext gmail.box] | [t b f] | | [bng] [nbx\ ? Martin On 2014-02-09 17:19, Fero Kiraly

Re: [PD] check mail with pd ?

2014-02-08 Thread Martin Peach
, Jonathan Wilkes wrote: On 02/08/2014 01:26 AM, Martin Peach wrote: You can manipulate strings in pdlua and only export the symbols you want; yes you need to learn lua but it's not very hard. That's good practical advice for getting work done with strings atm. But it's irrelevant to getting

Re: [PD] check mail with pd ?

2014-02-07 Thread Martin Peach
You can manipulate strings in pdlua and only export the symbols you want; yes you need to learn lua but it's not very hard. Martin On 2014-02-08 01:10, Jonathan Wilkes wrote: On 02/06/2014 01:53 AM, Chris McCormick wrote: On 06/02/14 06:29, pured...@11h11.com wrote: but pd is not really

Re: [PD] OSC server to many clients

2014-02-02 Thread Martin Peach
On 2014-02-02 11:37, Atte wrote: Hi Basic OSC confusion here: I'd like to run a server that keeps track of time and shares that to a number of clients, each of which run on their own, but with access to this common, global time. However all the examples I found with [sendOSC] or [tcpsend]

Re: [PD] relative paths with mrpeach [midifile] in abstraction

2014-01-26 Thread Martin Peach
On 2014-01-25 03:10, Dan Wilcox wrote: Is there some way to modify mrpeach [midifile] so that it will correctly handle relative paths while it's in an abstraction? I notice that soundfiler does this. I could probably do that by copying the way [soundfiler] does it. I need to look at the code.

Re: [PD] read first bytes of a file with [binfile]

2014-01-25 Thread Martin Peach
On 2014-01-25 12:03, Jack wrote: It looks like that is not possible. Would it be doable to add that feature to [binfile] because I need to read the first bytes of files 3 Gigabytes ? For example a message like [read file.ext 200{ | [binfile] would read only the first 200 bytes? That should

Re: [PD] signal math explanation

2014-01-18 Thread Martin Peach
On 2014-01-18 12:49, IOhannes m zmölnig wrote: On 01/18/2014 06:24 PM, Pall Thayer wrote: Can anyone tell me what one is accomplishing when doing something like this: [osc~ 440] | [+~] |\ x1 [+~] |\ x2 [+~] |\ x3 [+~] x4 ... so you could write the patch as: [osc~ 440]

Re: [PD] headroom in Pd

2014-01-01 Thread Martin Peach
On 2013-12-31 19:32, Chris Clepper wrote: It's very, very easy to avoid any sort of clipping processing by using hardware with drivers that don't have any! Avid, Apogee, MOTU, RME, and many others have bit transparent OSX CoreAudio drivers. Also, any DAC worth it's using can reconstruct far

Re: [PD] headroom in Pd

2014-01-01 Thread Martin Peach
bits full scale are the same 0dBFS signal. The bits are added at the bottom not the top. On Wed, Jan 1, 2014 at 1:34 PM, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote: On 2013-12-31 19:32, Chris Clepper wrote: It's very, very easy to avoid any sort

Re: [PD] AM by keeping the Carrier (Not Ring Mod)

2013-12-31 Thread Martin Peach
On 2013-12-31 06:50, Arda Eden wrote: Hi, Most of the AM examples are simply multiplying carrier and modulator outputs, which is also known as Ring Modulation. But in the resulting spectrum the carrier is gone and only the side bands appear. I couldn’t figure out a way to keep the carrier

Re: [PD] headroom in Pd

2013-12-29 Thread Martin Peach
On 2013-12-29 10:08, Alexandre Torres Porres wrote: here's the deal, if I have a square wave in Pd running at 1 -1 peak to peak, then you say that should be my maximum output, right? Thing is that if I give it an extra boost (say, multiply it by 2) I can clearly listen an increase in loudness.

Re: [PD] headroom in Pd

2013-12-20 Thread Martin Peach
On 2013-12-20 16:55, Alexandre Torres Porres wrote: Hi there, where can I find info about headroom and clipping on Pd. Or can anyone tell me quickly how it goes? Does it always really clip over a maximum of 1, or is there some headroom? Does it depend on the audiocard or something? The

Re: [PD] ordering stream

2013-12-12 Thread Martin Peach
On 2013-12-12 07:41, David Welch wrote: say I have a stream of ASCII numbers coming in from an Arduino device. It contains a letter indicating the beginning of the stream, something like (when you translate from ASCII): B 1023 1022 1021 1023 1021 etc. Does anyone know how one can process this

Re: [PD] Connect Bluetooth devices

2013-11-26 Thread Martin Peach
the [devices] message to comport, what i got in the console was: /[comport]: available serial ports:/ Any ideas? I just need to detect the bluetooth device and get the signal strength... Thanks you!! 2013/11/25 Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca If you send

Re: [PD] Connect Bluetooth devices

2013-11-25 Thread Martin Peach
If you send a [devices( message to [comport] it will print a list of available ports in the console. If your bluetooth device is in the list you can open it using the name it has in the list. Martin On 2013-11-25 17:00, sebaroc...@gmail.com wrote: Hi everybody, I would like to connect my

Re: [PD] how to install and use GPIO external

2013-11-12 Thread Martin Peach
The rpi uses arm architecture so you should be building for .l_arm Martin On 2013-11-12 15:00, Ingirafn Steinarsson wrote: Hi, I would like to ask about the compiling. I belived I compiled the code. No warning came up while doing it. I took out the -m32 with the # symbol, like here. #

Re: [PD] Strip file name from path (alternative to [stripfilename])?

2013-10-30 Thread Martin Peach
On 2013-10-30 11:07, peiman khosravi wrote: Hello, I don't have windows to test this. Is it that the external is not loading at all or there is a problem with the format of the path? The source code for [basedir] is only compiled if _WIN32 is not defined. Martin

Re: [PD] Building externals on OSX

2013-10-22 Thread Martin Peach
On 2013-10-22 13:14, Jonathan Wilkes wrote: On 10/21/2013 09:38 PM, Dan Wilcox wrote: Errr. That's not so easy. You need the 10.5 SDK which you can only get with a *really* old version of Xcode which you probably can't install on anything newer than OSX 10.6. It's possible to put older SDK's

Re: [PD] Help with OSX App minefield

2013-10-10 Thread Martin Peach
On 2013-10-09 22:45, Jonathan Wilkes wrote: Update-- I've got a working Pd-l2ork, tkpath based App running on OSX. (No ppc support, unfortunately.) Audio is running. Minefields: ... * I can't figure out how to build the externals in extra. If I do make the linker doesn't find any of the

Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-17 Thread Martin Peach
that.. a |bang( crashes routeOSC :-) and a bang is sent to the outlet of routeOSC if a message has no argument... On 9/16/13 11:51 PM, Martin Peach wrote: OK, thanks for this. Any idea what the message is that is causing the crash? Is it valid OSC? Martin

Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Martin Peach
, I'm writting another mail to list. 2013/9/15 Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca On 2013-09-15 16:12, Mario Mey wrote: I just downloaded complete PureData from svn... but I want to compile only your externals. Is that possible? I

Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Martin Peach
and OSC) Matthias On 9/16/13 7:46 PM, Martin Peach wrote: It sounds like you have two issues: one is that the new external crashes Pd as soon as it is instantiated, the other is that some OSC messages do the same thing when [routeOSC] is involved. For the second thing, just use [udpreceive

Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-15 Thread Martin Peach
On 2013-09-14 19:28, Mario Mey wrote: Martin Peach, I read somewhere that changing pages in TouchOSC makes Pd (or Pd-Ext) to crash. My Pd-Extended doesn't crash, but this error is shown: * routeOSC: ignoring empty list…. That doesn't happen here. There is no such message in the source code

Re: [PD] Wish Error : Unable to alloc xxx bytes

2013-09-07 Thread Martin Peach
Without seeing the patch I can't say but it sounds like something is receiving too much too fast. Martin On 2013-09-07 01:17, jim wrote: Hello , I keep getting an error that is crashing a patch. As shown above it is Unable to alloc xxx bytes where xxx seems to be different each time it

Re: [PD] MIDIFILE read Tempo

2013-09-05 Thread Martin Peach
On 2013-09-05 07:04, Maciej Sledziecki wrote: Hello, ist there any way to read the tempo information contained in a midi file? Or do I really have to set up a metro for mrpeach/midifile everytime ? It's been a while since I worked on that but I think you can dump the info and use that to

Re: [PD] MIDIFILE read Tempo

2013-09-05 Thread Martin Peach
On 2013-09-05 09:29, Martin Peach wrote: On 2013-09-05 07:04, Maciej Sledziecki wrote: Hello, ist there any way to read the tempo information contained in a midi file? Or do I really have to set up a metro for mrpeach/midifile everytime ? It's been a while since I worked on that but I think

Re: [PD] routeOSC crash

2013-08-29 Thread Martin Peach
On 2013-08-28 19:21, Martin Peach wrote: So that translates as #bundle, timetag=0, size of first element = 12 / ,f 0 So it's opening a bundle with an element whose path is just / and a float equal to zero. It could be that totalMix opens the bundle and only closes it at the end, which would

Re: [PD] routeOSC crash

2013-08-29 Thread Martin Peach
On 2013-08-29 12:20, Max wrote: Am 29.08.2013 um 18:17 schrieb Martin Peach martin.pe...@sympatico.ca: On 2013-08-28 19:21, Martin Peach wrote: So that translates as #bundle, timetag=0, size of first element = 12 / ,f 0 So it's opening a bundle with an element whose path is just

Re: [PD] routeOSC crash

2013-08-29 Thread Martin Peach
On 2013-08-29 12:20, Max wrote: Am 29.08.2013 um 18:17 schrieb Martin Peach martin.pe...@sympatico.ca: On 2013-08-28 19:21, Martin Peach wrote: So that translates as #bundle, timetag=0, size of first element = 12 / ,f 0 So it's opening a bundle with an element whose path is just

Re: [PD] RME TotalMix controlled with OSC

2013-08-28 Thread Martin Peach
You can send ambiguous floats like this: [sendtyped /to/totalmix f 1{ | [packOSC] Martin On 2013-08-28 14:33, Max wrote: Hi List, has anyone used OSC o control RME's TotalMix application? The OSC support in there seems rather flawed, for instance the float messages seem to require 1.0

Re: [PD] RME TotalMix controlled with OSC

2013-08-28 Thread Martin Peach
On 2013-08-28 16:44, Claude Heiland-Allen wrote: Looking at the source, there seems to be a way to set explicit type tags. I haven't checked the help patch, maybe it is documented there. On 28/08/13 21:26, Dan Wilcox wrote: I was thinking that [packOSC] might be interpreting a non-decimal

Re: [PD] routeOSC crash

2013-08-28 Thread Martin Peach
It sounds like TotalMix is sending something that is not OSC when it shuts down. Can you provide the output of udpreceive when that happens? Maybe put a [print] after [udpreceive]. Martin On 2013-08-28 17:35, Max wrote: when closing the sending TotalMix application Pd crashes because of

Re: [PD] routeOSC crash

2013-08-28 Thread Martin Peach
12 47 0 0 0 44 102 0 0 0 0 0 0 Am 29.08.2013 um 00:12 schrieb Martin Peach martin.pe...@sympatico.ca: It sounds like TotalMix is sending something that is not OSC when it shuts down. Can you provide the output of udpreceive when that happens? Maybe put a [print] after

Re: [PD] Pd to Raspberry Pi SPI

2013-08-25 Thread Martin Peach
It might be better to extend [comport] to handle SPI devices. Assuming you have a /dev/spidev* already existing (I just spent a couple of days getting that far on a Beaglebone Black), the rest of it is quite similar to ordinary asynchronous serial communications. Martin On 2013-08-23 16:21,

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-08-07 Thread Martin Peach
It depends on the colour and the LED technology. The energy of red light is about 1.5eV and blue is 3eV. Add to that internal resistance of the device. An ordinary diode (not a LED) emits infrared around .6eV, which is the voltage drop of a silicon junction. Martin On 2013-08-07 20:02, Ed

Re: [PD] Reverse Kickstarter Update

2013-07-31 Thread Martin Peach
On 2013-07-31 11:59, Jamie Bullock wrote: On 31 Jul 2013, at 16:46, Jonathan Wilkes jancs...@yahoo.com wrote: Actually, I don't think I expressed myself very well as I was arguing the opposite. I think the settings should take effect immediately and there shouldn't be an apply or connect

Re: [PD] Raspberry Pi Behringer UCA222 boot problems

2013-07-27 Thread Martin Peach
Maybe your power supply can't handle the load? 2 Amps regulated 5V is good, 1 Amp might not do it. Martin On 2013-07-27 05:51, John Canning wrote: Hi Dan, I have done some more hunting around and on the Pd FrontPage site it says that my Behringer soundcard has been proven to work with the

Re: [PD] pd-extended crashes sending data to SSR with tcpclient

2013-07-02 Thread Martin Peach
On 2013-07-02 16:13, Roman Haefeli wrote: On Die, 2013-07-02 at 17:07 +0200, Matthias Geier wrote: Hi Iain. To be honest, I didn't think about the problem that a message could need more than one packet. It's good to know that iemnet/tcpclient can handle that. It's not that [iemnet/tcpclient]

Re: [PD] pd-extended crashes sending data to SSR with tcpclient

2013-07-01 Thread Martin Peach
It could be that you are overloading Pd with too many messages. If you are wildly moving the slider and [tcpclient] is sending one TCP packet per value you can add messages to the queue faster than they will be sent out and Pd will eventually run out of resources. Maybe put a [speedlim] after

Re: [PD] pd-extended crashes sending data to SSR with tcpclient

2013-07-01 Thread Martin Peach
for a given source looks something like the following: requestsource id=1position x=1.234 y=-0.234//source/request Does this seem excessive? Cheers, Iain Em Mon, 2013-07-01 às 13:20 -0400, Martin Peach escreveu: It could be that you are overloading Pd with too many messages. If you are wildly

Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue

2013-06-26 Thread Martin Peach
On 2013-06-26 03:51, Charles Goyard wrote: Hi, this is largely off-topic, but there you go :) Epic Jefferson wrote: I've had progress building an Arduino-powered solenoid system for a controlling a piano's hammer mechanism (removing the keys) via pd. So far I've found the solenoid I want to

Re: [PD] High CPU usage when tracks are muted (Raspberry Pi)

2013-05-05 Thread Martin Peach
On 2013-05-05 13:52, Halfdan Mouritzen wrote: Yes, what I don't understand though is _why_ we see such an increase in CPU load, when the channels are muted. Could it be that denormals are produced when the line gets close to 0? Depending on how the floating point is set up that could cause a

Re: [PD] UA-25 on RPI

2013-05-04 Thread Martin Peach
On 2013-05-04 12:50, Dan Wilcox wrote: No thanks. The UA-25 is bus powered, has two XLR+jack inputs, phantom power, rca/jack outputs, direct monitor, individual channel gain control, master gain control, and in a road tuff metal case. I have two of them, so it makes sense to dump the PI if I

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-05-03 Thread Martin Peach
On 2013-05-03 12:34, Julian Brooks wrote: Ok - thanks for that, makes more sense now. When I run the C code this happens: ./jb_d6t_reader_ic3 0 ...export file accessed, new pin now accessible ...direction set to output ./jb_d6t_reader_ic3: initialized:0 Write failed (5) Input/output error

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Martin Peach
. Martin On 2013-04-25 20:04, Julian Brooks wrote: Just spotted this: https://github.com/kadamski/i2c-gpio-param Could be useful On 25 April 2013 15:54, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote: On 2013-04-25 10:37, Julian Brooks wrote: 'Nother 2

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Martin Peach
as we are getting them very regularly. I had been thinking it was the soldering of those pernickety sensors but could it also be the cheap 4k resistors currently on our board? Cheers, Julian On 29 April 2013 16:38, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-29 Thread Martin Peach
On 2013-04-29 17:59, Julian Brooks wrote: BTW This is the multiplexer: http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1106109 and the housing: http://uk.farnell.com/jsp/search/productdetail.jsp?sku=1103846 Think these are right? Yes. Martin

Re: [PD] Dspstate~ in puredata

2013-04-28 Thread Martin Peach
[bang] | [samplerate~] | [44100\ Martin On 2013-04-28 14:08, Olivier Baudry wrote: Dear all My idea is to get sampling rate in pd ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Martin Peach
On 2013-04-25 07:10, Julian Brooks wrote: I'm trying to think how this could be generalized into a useful Pd external but it seems very specific to a particular setup. I do think a more general [i2c] object would be super-useful. Particularly if it could directly open up and access the i2c

Re: [PD] direct connection from pd to webrowser, low latency

2013-04-25 Thread Martin Peach
Well, [udpsend~] is meant to work with [udpreceive~], so you really have to run Pd on both ends of the connection. Of course you are free to modify the code to make it work with your setup -- that would mean integrating [udpsend~] into the server and [udpreceive~] into the clients' browsers,

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Martin Peach
On 2013-04-25 10:37, Julian Brooks wrote: 'Nother 2 dumb questions: What's the difference between the ones that have spider/centipede type legs and the straight ones (which would be best to get). The PDIP package is what you want, not the SOIC. The only difference is size. DIP packages are

Re: [PD] direct connection from pd to webrowser, low latency

2013-04-25 Thread Martin Peach
On 2013-04-25 10:36, o...@onyx-ashanti.com wrote: Thanks for getting back to me do quickly. Is there a network audio object (s) that can output standard formatted audio? I don't know. netjack? The thing with browsers is they run TCP, which is not good for low-latency audio. Maybe you want

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
all ok so far. Thanks again for everything Martin, Julian On 21 April 2013 06:45, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote: On 2013-04-20 21:09, Julian Brooks wrote: Oh and btw Still don't know why I can't

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
with the compile for the C code. Anyway - code runs and I can compile C files too so all ok so far. Thanks again for everything Martin, Julian On 21 April 2013 06:45, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
On 2013-04-23 09:32, Julian Brooks wrote: ... Maybe there's something I'm missing here then: The average temp that comes out of [unpack 1] is way higher than the rest of the readings. At the moment [unpack 1] says '212' yet a quick averaging of the other 16 readings is around '180'?

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
the pins and also easy-access to setting the baud rate too (amongst other stuff). Julian On 19 April 2013 14:36, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
Oh sorry, it segfaults if you don't pass an argument at startup. (1 if it's already initialized, 0 if not) The line begining if (argc 0) should say if (argc 1). Martin On 2013-04-20 13:30, Martin Peach wrote: Well that looks a total mess... I did sudo apt-get install i2c-dev before all

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
:17, Martin Peach wrote: Oh sorry, it segfaults if you don't pass an argument at startup. (1 if it's already initialized, 0 if not) The line begining if (argc 0) should say if (argc 1). Martin On 2013-04-20 13:30, Martin Peach wrote: Well that looks a total mess... I did sudo apt-get install

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
On 2013-04-20 21:09, Julian Brooks wrote: Oh and btw Still don't know why I can't compile the .c files on the pi with libi2c-dev installed but I can't. Presuming the compiling is working for you Martin? Yes it works for me. I don't have the same /usr/include/linux/i2c-dev.h as you so no

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Martin Peach
: Re: [PD] Sensors GPIO Raspberry Pi Pd To: Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca Cc: PD List pd-list@iem.at mailto:pd-list@iem.at Hey Martin / list, Finally got all the stuff and ... It’s not working! We

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-11 Thread Martin Peach
On 2013-04-11 14:24, Julian Brooks wrote: Hey Martin / list, Finally got all the stuff and ... It’s not working! We spent the day soldering cables and connecting stuff up as per the Omron ‘App Note 01’ spec sheet. Started off super-conservative using the I2C level converter (case 3 page 4)

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
On 2013-04-07 04:30, Julian Brooks wrote: Hey Martin / list, This is all marvellous news. Going a bit slower at our end, not helped by Easter holidays, trips to the seaside (bit chilly) and the plethora of children that require our undivided attention. ebay parts arrived today and don't fit

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
Also check this out: it seems to have everything except how to make a pd external from it. http://www.instructables.com/id/Raspberry-Pi-I2C-Python/ Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
On 2013-04-07 04:30, Julian Brooks wrote: ... Also got a voltage transformer that works with i2c as the rpi is 3.5v and sensors 5v. You can use the 5V from the GPIO header on the pi. From the schematic pin 2 is 5V. Ground is on pin 6. Pin 3 is the i2c data and pin 5 is the clock. Pullup

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
On 2013-04-07 17:42, Julian Brooks wrote: Thanks Martin, really useful stuff. I've got i2cdetect on the RPi which is how I knew that [gpio] was setting hi lo. And good to hear you'll be wrestling with this on the Pi as well. In some ways this is good news as we've setup everything from the

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-03-30 Thread Martin Peach
On 2013-03-27 18:31, Martin Peach wrote: On 2013-03-27 17:17, Julian Brooks wrote: Hey Martin, Good to hear you've got one of these too. Yes I meant [comport] with the xbee rather than [hid] sorry, getting my physical input objects confused. Will check out the links you provided as part

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-03-27 Thread Martin Peach
On 2013-03-27 06:31, Julian Brooks wrote: Hi all, We've been after some sensors for motion detection on the RPi and Martin Peach spotted these (thanks again Martin!) http://uk.farnell.com/omron-electronic-components/d6t-44l-06/sensor-thermal-mems-4x4/dp/2218000 They're fairly new and I've

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-03-27 Thread Martin Peach
On 2013-03-27 17:17, Julian Brooks wrote: Hey Martin, Good to hear you've got one of these too. Yes I meant [comport] with the xbee rather than [hid] sorry, getting my physical input objects confused. Will check out the links you provided as part of my getting up to speed. So, managed to

Re: [PD] TCP/IP communication from the unix server to the Pure Data

2013-03-14 Thread Martin Peach
Convert floating point number from binary to a decimal number http://stackoverflow.com/questions/15393113/convert-floating-point-number-from-binary-to-a-decimal-number/ Good luck ^^ //Petar On 13/3/13 1:51 PM, Martin Peach wrote: I attached a patch that should reconstruct a long if it's bigendian

Re: [PD] TCP/IP communication from the unix server to the Pure Data

2013-03-13 Thread Martin Peach
patch to demonstrate the problem, maybe you can show me by modifying it? //Petar On 11/3/13 2:31 PM, Martin Peach wrote: On 2013-03-10 17:58, Petar Jercic wrote: Sorry, I can't use ASCII text as communication method, since I plan to send large quantities of data at high speed rates, I need

Re: [PD] Ultrasonic Range Finder

2013-03-12 Thread Martin Peach
On 2013-03-12 08:58, Julian Brooks wrote: Hi, I'm after some advice: For an installation piece I'd like to do I'm investigating range finder sensors (for outdoors). Has anyone experience of the Maxbotic URF's and any tips they'd like to share for getting the data into Pd? I connect them to

Re: [PD] Ultrasonic Range Finder

2013-03-12 Thread Martin Peach
letting me have a look at a patch for translating the input data (if you use/need one). I know from utilising xbees that the input data was tricky to parse - to me anyway. Cheers, Julian On 12 March 2013 13:23, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote: On 2013

Re: [PD] TCP/IP communication from the unix server to the Pure Data

2013-03-11 Thread Martin Peach
, Martin Peach wrote: It's probably safer to get the server to send the numbers as ASCII text, to avoid disagreements about endianness and floating-point representation. Then, to extract the numbers, you could use [moocow/bytes2any] or make a custom parser using [pdlua]. Martin On 2013-03-09 10:55

Re: [PD] TCP/IP communication from the unix server to the Pure Data

2013-03-09 Thread Martin Peach
It's probably safer to get the server to send the numbers as ASCII text, to avoid disagreements about endianness and floating-point representation. Then, to extract the numbers, you could use [moocow/bytes2any] or make a custom parser using [pdlua]. Martin On 2013-03-09 10:55, Petar Jercic

Re: [PD] measuring entropy of a signal?

2013-02-27 Thread Martin Peach
Why not do an FFT and measure the variance of the channels? For instance white noise has maximum entropy and all the bins of its FFT will be more or less the same, while a sine wave has low entropy and one bin will be much larger than the others. Martin On 2013-02-27 08:40, ronni montoya

Re: [PD] Solution for deleting files via pd?

2013-01-27 Thread Martin Peach
-262144 -1 -1 1 1; #X text 175 142 outputs 1 on success; #X connect 0 0 2 0; #X connect 1 0 0 0; --[[ --deletefile -- Symbol input is name of file to delete -- Martin Peach 20130127 --]] -- Pd class local deletefile = pd.Class:new():register(deletefile) function deletefile:initialize(name

Re: [PD] GUI toolkits and custom GUIs WAS: Integra Live 1.5 released

2013-01-21 Thread Martin Peach
Wouldn't it be a good idea to settle on a graphics metalanguage rather than translating tcl code to qt or whatever? Martin On 2013-01-21 15:11, Leandro da Mota Damasceno wrote: so let's see...Who´s working with what so far? I´d love to join a team and start learning how to code with one

Re: [PD] changing timestamp of noteout midi message

2013-01-15 Thread Martin Peach
There is no timestamp in the MIDI spec. A noteout message sends three bytes: status+channel, number, velocity. Martin On 2013-01-15 08:02, Panagiotis Melidis wrote: as it seems the problem would be solved if i could find a way to add a timestamp each time noteout sends a message... but is

Re: [PD] libPd PdDroidParty comport ?

2013-01-06 Thread Martin Peach
On 2013-01-06 15:13, Maurin Donneaud wrote: Im trying to connect Arduino via bluetooth to libPd / PdDroidParty running on my android. Does the comport could be used for that communication ? Do anyone already try this combination? If you give the [devices( message to [comport] you will get a

Re: [PD] translate the Start Here! page

2013-01-05 Thread Martin Peach
On 2013-01-05 22:36, Hans-Christoph Steiner wrote: On Jan 5, 2013, at 6:22 PM, Jonathan Wilkes wrote: - Original Message - From: Ed Kelly morph_2...@yahoo.co.uk To: Jonathan Wilkes jancs...@yahoo.com; Hans-Christoph Steiner h...@at.or.at Cc: Pd List pd-list@iem.at Sent: Saturday,

Re: [PD] comport questions

2012-12-03 Thread Martin Peach
On 2012-12-03 13:45, Pagano, Patrick wrote: Does not work either. Are you using the right cable? Does it work with any other program? Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] comport questions

2012-12-03 Thread Martin Peach
On 2012-12-03 14:41, Pagano, Patrick wrote: I tried with two separate cables, to make sure One was a gigaware usb-A-serial cable 26-949, the other was a simple dongle one that windows 7 setup automatically I have even hooked it up to an XP box that had 2 dedicated serial ports, changed the

Re: [PD] Browse/Search plugin update

2012-12-01 Thread Martin Peach
On 2012-12-01 13:50, Jonathan Wilkes wrote: Added a little documentation on puredata.info: https://puredata.info/Members/jancsika/helpbrowser2.0/ -Jonathan That's nice but you still don't say how to install it. Martin ___ Pd-list@iem.at mailing

Re: [PD] Browse/Search plugin update

2012-12-01 Thread Martin Peach
On 2012-12-01 15:40, Jonathan Wilkes wrote: From: Martin Peach martin.pe...@sympatico.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at pd-list@iem.at Sent: Saturday, December 1, 2012 2:36 PM Subject: Re: [PD] Browse/Search plugin update On 2012-12-01

Re: [PD] can i bypass comport?

2012-11-30 Thread Martin Peach
with in a few hours On Sun, Nov 25, 2012 at 10:59 PM, Martin Peach martin.pe...@sympatico.ca mailto:martin.pe...@sympatico.ca wrote: On 2012-11-25 15:51, o...@onyx-ashanti.com mailto:o...@onyx-ashanti.com wrote: if comport could accept an ip port argument, as well

Re: [PD] comport questions

2012-11-29 Thread Martin Peach
On 2012-11-29 11:49, Pagano, Patrick wrote: Hello I have now tried with a projection Design f1 projector and I still cannot get comport to talk to the projector I can open the port, I see the device, it accepts settings but when I send the ascii it still has no effect. The f1 command is

Re: [PD] comport questions

2012-11-28 Thread Martin Peach
It should work. You could try using a terminal program to manually connect. From skimming the manual for that projector it says the RS-232 is for firmware upgrades only... Martin On 2012-11-28 14:34, Pagano, Patrick wrote: Hi With the recent talk about comport I have tried to use it to

Re: [PD] comport questions

2012-11-28 Thread Martin Peach
) Martin On Nov 28, 2012, at 3:47 PM, Martin Peach martin.pe...@sympatico.ca wrote: It should work. You could try using a terminal program to manually connect. From skimming the manual for that projector it says the RS-232 is for firmware upgrades only... Martin On 2012-11-28 14:34, Pagano

Re: [PD] comport questions

2012-11-28 Thread Martin Peach
On 2012-11-28 18:41, Pagano, Patrick wrote: Benq says the rs232 is for control this is from the manual Type OperationASCII Write /Power On/ CR*pow=on#CR Could the Type? Be preventing it? I don't think so. I wonder if the character for CR is 13 or 10 (or both)? Martin

Re: [PD] can i bypass comport?

2012-11-25 Thread Martin Peach
On 2012-11-25 06:43, o...@onyx-ashanti.com wrote: Well no, the xbee is replacing the usb serial connection in that design, but you still have to run at the speed of the xbee serial connection. The arduino doesn't have enough memory to do TCP/IP the rn-xv 's uart pors baudrate is

  1   2   3   4   5   6   >