Re: [PD] Installing PD on OpenSUSE

2014-05-11 Thread Martin Peach
this version of the pdlua makefile?: http://sourceforge.net/p/pure-data/svn/17235/ Martin you can see the tail end of my make process here: https://gist.github.com/AJFaraday/2ee07be60ac7af5f7a6c If anyone knows why this isn't compiling I'd be grateful Regards Andrew Faraday P.S. If I can't

Re: [PD] Installing PD on OpenSUSE

2014-05-11 Thread Martin Peach
platform, check this and change it to fit Also there are some changes in pdlua.c to accommodate the new API in lua5.2, as seen here: http://sourceforge.net/p/pure-data/svn/17235 Martin On 2014-05-11 13:26, Andrew Faraday wrote: I was under the impression that I had the latest code, I built

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
then it probably won't. Martin On 2014-04-05 11:36, Rafael Vega wrote: I also find it strange that using the external on pd-vanilla by copying the dll to the extra folder in the vanilla directory works fine. Any ideas why? Maybe has something to do with compiler environment differences between vanilla

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 = sys_fopen

Re: [PD] pix_buffer loaded event

2014-03-06 Thread Martin Eckart
Wow, thanks! You've fundamentally changed my understanding of [trigger]. I didn't realize it actually waited for the operation to complete before sending the next event. Works great now, thanks again. -martin On Thu, Mar 6, 2014 at 5:24 AM, Jack j...@rybn.org wrote: Hello Martin

[PD] pix_buffer loaded event

2014-03-05 Thread Martin Eckart
? -martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] arduino/comport load hang

2014-02-25 Thread Martin Peach
tried delaying the comport open for a second, with no luck. Well without seeing the patch, I can only guess: Does the loadbang hit the baud rate or the open first? Make sure you don't send anything to the arduino for a few seconds or you will invoke the bootloader by mistake. Martin

Re: [PD] smooth random numbers

2014-02-22 Thread Martin Peach
to bring it back when it crosses a boundary (0 or 127). Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

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

2014-02-12 Thread Martin Peach
) and would allow a patch to download text file from a server? You could probably make a single object with pdlua or pyext that does just that. Martin thanks cheers Cyrille ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http

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
like a lot of work to make it happen with boxes and wires when you can just call string functions in a high level language. Kind of like building a Turing machine holes-in-paper-tape version of a program, it can be an interesting exercise but practically it's useless. Martin On 2014-02-08 03:14

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
of a pain to get working. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

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

2014-01-26 Thread Martin Peach
. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

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

2014-01-25 Thread Martin Peach
be doable. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] signal math explanation

2014-01-18 Thread Martin Peach
? It seems to have more high frequency content than white noise. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] headroom in Pd

2014-01-01 Thread Martin Peach
. If it appears to go beyond that then something is scaling the input to be less than full scale at full scale. For instance a 24-bit DAC could be sent 16 16-bit full-scale streams and not clip. Only if 16-bits is considered full scale does that make it +12dBFS. Martin

Re: [PD] headroom in Pd

2014-01-01 Thread Martin Peach
as full scale, then you have a lot of headroom but your signal to noise ratio is not as good, and maybe something like this is happening in the default MacOS headphone driver. Martin On 2014-01-01 13:50, Chris Clepper wrote: Nope, the DAC can freely construct intersample peaks as it sees fit

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

2013-12-31 Thread Martin Peach
signal in the resulting spectrum (Like as in real AM, not RM). It was easy in Csound for example, since the amplitude value is an input parameter to the oscil function. Any ideas ? Do it the same way as in analog, add a DC offset to one of the signals. [+~ 0.02] Martin

Re: [PD] headroom in Pd

2013-12-29 Thread Martin Peach
this won't happen (?). (see for example https://developer.apple.com/library/mac/documentation/DeviceDrivers/Conceptual/WritingAudioDrivers/ImplementDriver/ImplementDriver.html#//apple_ref/doc/uid/TP3732-BAJCBIAF ) Martin here's the patch, try yourselves and tell me what you get please. Cheers

Re: [PD] headroom in Pd

2013-12-20 Thread Martin Peach
? The soundcard will always clip above +1 and below -1, and sometimes even within those limits (if the interpolated waveform between samples goes over the limit). Pd will not clip internally, so you can calculate with larger numbers as long as you scale them back down before listening to them. Martin

Re: [PD] ordering stream

2013-12-12 Thread Martin Peach
work if the 'B' character can be part of the list. A more robust solution is to use SLIP to encode the packets in the Arduino and [slipdec] from pd-extended to decode them. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management

[PD] OSX Gmerlin support in GEM

2013-12-04 Thread Martin Eckart
but I can't find any reasonable instructions or plan of attack. Please point me in the right direction if you can. Cheers, -martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] OSX Gmerlin support in GEM

2013-12-04 Thread Martin Eckart
It is an option but it'll take me effort and time to do just like compiling gmerlin support would. I'm just trying to find out what's feasible. -martin On Wed, Dec 4, 2013 at 12:35 PM, Jack j...@rybn.org wrote: Le 04/12/2013 18:16, Martin Eckart a écrit : Hi all, I made a GEM patch

Re: [PD] Connect Bluetooth devices

2013-11-26 Thread Martin Peach
I don't know how bluetooth works on linux but on Windows and Mac you get a list of serial ports for bluetooth that exist even when no bluetooth device is associated with them. Maybe if you are not actually using the port it will show up? Martin On 2013-11-26 05:51, sebaroc...@gmail.com wrote

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
is to not upgrade at all and try to keep it running the old software while not stressing the hardware in any way. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] moog~ in pure pd?

2013-10-11 Thread martin brinkmann
not exactly moog~. it should be possible though to make a moog-abstraction in the same way, but i have not tried (yet)... maybe anyone else has already? bis denn! martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http

Re: [PD] Help with OSX App minefield

2013-10-10 Thread Martin Peach
of the m_pd.h functions, even if I do the ugly hack of copying m_pd.h to the directory. The linker won't be looking for m_pd.h. It wants the Pd librrary as -lpd Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http

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

2013-09-17 Thread Martin Peach
I think it's all fixed now, in svn. Anything not an OSC message is now routed to the rightmost outlet, without prefixing a slash. Let me know if it works or not for you. Thanks for finding the bug! Martin On 2013-09-16 17:22, Matthias Kronlachner wrote: ok its even more simple than

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

2013-09-16 Thread Martin Peach
message is being sent. For the first thing, make a new patch and put a [routeOSC] in it and see what the console prints. But then again you don't seem to be able to start Pd at all from the console. Is that correct? Martin On 2013-09-16 12:08, Mario Mey wrote: Thanks, Martin. I compiled

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

2013-09-16 Thread Martin Peach
OK, thanks for this. Any idea what the message is that is causing the crash? Is it valid OSC? Martin On 2013-09-16 16:12, Matthias Kronlachner wrote: Hi! I experience this bug today as well. Attached is a Pd-patch that simulates this crash caused by the message TouchOSC is sending if page

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

Re: [PD] MIDIFILE read Tempo

2013-09-05 Thread Martin Peach
that to set up a metro. I could probably add a message to get it to play automatically. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

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
it as an integer. If Pd used the int atom it wouldn't need to do that. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

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

Re: [PD] routeOSC crash

2013-08-28 Thread Martin Peach
to get the entire bundle before processing it. Martin On 2013-08-28 18:25, Max wrote: now suddenly it seems to crash when starting totalMix instead of quitting it. I've started pd with -stderr and it spills out: udpreceive: 35 98 117 110 100 108 101 0 0 0 0 0 0 0 0 0 0 0 0

Re: [PD] Pure Data and Korg Monotribe

2013-08-27 Thread martin brinkmann
with that? Is line what i want? or Vline? 'line' should do the trick: you can for example connect a [pack f 200] to the 'random', and a 'line' to the 'pack'. though maybe it is more interessting to randomize the 'slide time' too... bis denn! martin

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] [PD-announce] Pd version 0.25-0 test 2 released

2013-08-19 Thread martin brinkmann
On 08/19/2013 08:11 AM, Miller Puckette wrote: Hi all - I've now put out test 2 there seems to be a new behaviour concerning tabread4~ and upsampling: (compared to 044, i have not checked the 1st 045 version) in 044 the frequency of the phasor reading the table had to be multiplied by the

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
can change multiple things without getting stupid error messages because it's only half set up... Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

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

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

2013-07-02 Thread Martin Peach
, UDP is probably a better choice for what you are trying to do, if it involves real-time control, with UDP you _do_ have control over the packet size. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http

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

2013-07-01 Thread Martin Peach
your slider, or pack several values into one message? Martin On 2013-07-01 11:53, Iain Mott wrote: I'll try the backtrace and other things you suggest and report back on mrpeach/tcpclient in another email. it could well be, that it only does not crash with [iemnet/tcpclient] because you

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

2013-07-01 Thread Martin Peach
to the same machine? If not is WiFi involved? Can you use UDP instead of TCP (for lower overhead and no out-of-order packets)? Martin On 2013-07-01 13:58, Iain Mott wrote: Hi Martin, The actual patch I'm using is translating MIDI pitch bend data recorded in Ardour3 (location data encoded

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

2013-06-26 Thread Martin Peach
to use. With solenoids you will not get velocity (or at least, not reliably). You can vary the on-time of the solenoid to get velocity. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd

Re: [PD] more about DS

2013-05-28 Thread martin brinkmann
, but then I don't know how I can detect which specific element/scalar has been clicked on. unfortunately, with -x the struct does no longer report clicks. so it is good for making a ruler/grid which does not interfere with the data, but not good for making a navigation/whatever. bis denn! martin

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

2013-05-05 Thread Martin Peach
a lot of context switching. What happens if you fade to 0.001 instead of 0? Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] UA-25 on RPI

2013-05-04 Thread Martin Peach
can't get it to work with proven linux friendly hardware especially when the pi costs less. Too bad. Back to iPad now ... :D Maybe a beaglebone black: http://beagleboard.org/Products/BeagleBone%20Black I have a Behringer UCA202 running on a beaglebone with no problems. Martin

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-05-03 Thread Martin Peach
), the 4051 circuit should have no effect on the communication betwen the Pi and one of the sensors, the select pin select which sensor receives the clock. So if the older code isn't working the circuit is wrong, otherwise the code is buggy. Martin ___ Pd

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
Ordinary 5% resistors will work fine. Probably anything from 1k to 100k would work. Most likely you have a loose connection somewhere. Did you try running the bus at a lower speed? If your wiring is long ( 10cm) it may be better to run it slower. Martin On 2013-04-29 17:44, Julian Brooks

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
redirecting output and it nearly filled up the sd card.) Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

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

2013-04-25 Thread Martin Peach
, which I have no idea how to do. Martin On 2013-04-25 10:14, o...@onyx-ashanti.com wrote: Greetings! I hope all is well with you. I wanted to ask if i might gain some of your insight on a project i am undertaking. I am currently attempting to stream my audio into html5 capable web browsers

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-25 Thread Martin Peach
the connections) plug the chip into the socket. Soldering to the pins makes it difficult to replace the IC, and risks damaging it with the heat if you're not good at soldering quickly and to the point. A CD4051 would also work, it's basically the same circuit. Martin

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

2013-04-25 Thread Martin Peach
a separate UDP audio link, but I don't know how to integrate that with a browser. Martin ___ 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-23 Thread Martin Peach
On 2013-04-23 04:42, Julian Brooks wrote: Hey Martin / all, Omron tech support finally got back to me re the address issue, this is what they had to say: D6T sensor can not change the address. When you connect multiple sensors we recommend that you use the IC switching. Please refer

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
sensor. I'm trying to think how this could be generalized into a useful Pd external but it seems very specific to a particular setup. Martin On 2013-04-23 05:06, Julian Brooks wrote: Bit more digging re ic switch: My understanding is that if we got one of these: http://uk.farnell.com/roth

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-23 Thread Martin Peach
'? That's right. The first reading is of an internal reference, it's usually a few degrees warmer than the environment. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

[PD] Missing objects in Pd-Extended Intel OSX?

2013-04-22 Thread Martin Dupras
-extended app with another fresh copy. No difference.) Many thanks, - martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] Missing objects in Pd-Extended Intel OSX?

2013-04-22 Thread Martin Dupras
? I'm a bit puzzled, because not having it loaded by default seems to break a number of help patches. - martin On 22 April 2013 16:40, Roman Haefeli reduz...@gmail.com wrote: On Mon, 2013-04-22 at 16:01 +0100, Martin Dupras wrote: I also notice that some objects in iemmatrix do not load

Re: [PD] Missing objects in Pd-Extended Intel OSX?

2013-04-22 Thread Martin Dupras
Ignore my issue with netserver. It loads fine, I had a netreceive object open on the same port which prevented netserver to instantiate. It loads fine. - martin On 22 April 2013 16:01, Martin Dupras martindup...@gmail.com wrote: I'm running 0.43.3-extended on a MacBook Pro Retina (Intel Core

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-20 Thread Martin Peach
, or something wrong in the code, the listing below looks like it goes wrong right at the beginning. Martin On 2013-04-19 17:37, Julian Brooks wrote: As I'm new to all this C stuff I just had a look inside the 'hello' file and there's a few bits in there which may be of interest: ^@D6T_checkPEC says

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
So I tested the 4X4 sensor and it actually works! Here is the code for a reader that sends to [netreceive 3], and a receiver patch. You need to set the IP to that of the machine running Pd, and maybe other settings before compiling, as with the previous version. Martin On 2013-04-20 17

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

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-19 Thread Martin Peach
sensor, not the 4X4 one, so the code reads 19 bytes (need to change the expected read size in the code). The 4X4 sensor sends 35 bytes which is 3 more than the i2c driver maximum, so you may not get the last part of a packet. I'll try it later with a 4X4 sensor to see what happens. Martin

Re: [PD] 2D slider

2013-04-17 Thread martin brinkmann
. (or xy in reaktor). the only other object i can imagine would be something which only produces coordinate-values when you drag it around. you can easily build something like that with data structures. (or a little less easily a [grid] with 'steady on click' behaviour.) bis denn! martin

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 - http

Re: [PD] Sensors GPIO Raspberry Pi Pd

2013-04-07 Thread Martin Peach
with the same address would be to gate the clock using another GPIO pin to control a chip like the CD4051 analog multiplexer so that only one of the sensors receives the clock signal. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account

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

Re: [PD] Changing the grid size when moving objects with shift+arrows

2013-03-30 Thread martin brinkmann
, using get to get the new (displaced by 10 pixels) position and adding the additional 2 pixels offset with set, so that the object is moved 12 pixels. bis denn! martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http

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

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

2013-03-14 Thread Martin Peach
-point format is the same at both ends. Martin On 2013-03-14 13:41, Petar Jercic wrote: Martin , thank you for everything, I got it working now even with floating point numbers, here is the rundown of the method [solved] BUT BEFORE FOLLOWING THIS, NOTE THAT FLOATING POINT NUMBER IS SOMETHING

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

2013-03-13 Thread Martin Peach
I attached a patch that should reconstruct a long if it's bigendian, although it doesn't give 100 for the sequence you provided... The floating point numbers are more difficult, you need to separate the sign, exponent and mantissa and then put it all together. Martin On 2013-03-13 06:08

Re: [PD] Ultrasonic Range Finder

2013-03-12 Thread Martin Peach
to the analog inputs of an Arduino and send the data to Pd which reads it using [comport]. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] Ultrasonic Range Finder

2013-03-12 Thread Martin Peach
On 2013-03-12 09:32, Julian Brooks wrote: Hi Martin, Is this with Maxbotic and if so which one? I'm going to be running the sensor with an RPi as standalone so presume it's a similar setup (I believe comport runs fine on RPi) I use the MB1010 (MaxSonarEZ1). The analog output is very low

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

2013-03-11 Thread Martin Peach
] | | | [* 256] | | [+ ] | [ \ for littleendian. Floats are harder but still possible. The main difficulty is in splitting the incoming stream in the right places. (I think ASCII is not orders of magnitude slower, and it is also less ambiguous). Martin On 09/3/13 5:15 PM

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] Range Slider Object

2013-02-04 Thread martin brinkmann
), but you can use it to set a range. there are a few other drawbacks though: -you have to deal with individual names for the templates etc. (or make an abstraction and build your own state-saving) -accessing the data is not as easy as with a built-in gui element. bis denn! martin #N

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

2013-01-27 Thread Martin Peach
for this kind of thing. See the attached patch. Right-click inside the [deletefile] object to open deletefile.pdlua in an editor. Martin #N canvas 398 519 752 300 10; #X obj 153 109 deletefile; #X msg 153 64 delete /home/martin/pd_patches/test.xxx; #X obj 153 143 tgl 15 0 empty empty empty 17 7 0 10

  1   2   3   4   5   6   7   8   9   >