Re: [PD] nightime mode?

2014-07-21 Thread Martin Peach
I use these two scripts to change the colour scheme in pd-exended on linux. set_pd-gui_color-scheme.sh replaces the colour scheme with the one in mp_pd-gui_color_scheme.tcl. I use the gimp to find the hex values for the colours, or just manually change the numbers till I get something that

Re: [PD] Audio streaming for 3 or more channels?

2014-07-21 Thread Martin Peach
On 2014-07-21 00:00, Bektur via Pd-list wrote: Hi everyone, Can anyone recommend a sound streaming solution for Pd? I have looked into [mp3cast~], but it doesn’t support more than 2 channels (and so does darkice it seems). I have also tried using [udpsend~] from mrpeach externals, but

Re: [PD] Audio streaming for 3 or more channels?

2014-07-21 Thread Martin Peach
On 2014-07-21 12:50, Bektur wrote: I’m running a simple iOS application with libpd and udpreceive~ objects in the patch. The audio is sent from a computer with udpsend~ object, with only one channel currently being used. Whenever I stream to a single IP address everything works fine with

Re: [PD] Parsing text

2014-09-27 Thread Martin Peach
I use pd_lua to extract things from text files, in part to avoid filling up Pd's symbol table with junk. Here is an example that takes values from a list of solar wind values obtained via httpget with the message GET http://www.swpc.noaa.gov/ftpdir/lists/ace/ace_mag_1m.txt Martin On Sat, Sep

Re: [PD] Why do i get glitches at 70% cpu load?

2014-10-06 Thread Martin Peach
A thing I ran into on linux: there might be some frequency scaling that is running the CPU on demand so it slows down if not much is going on, but it can't speed up in time to service audio interrupts. If that is the case it should be set to performance to force it to run full speed all the time.

Re: [PD] Razor AHRS via comport: 4byte float?

2014-10-19 Thread Martin Peach
In the Pd svn I have an external [b2f] which probably does what you want. Not sure if it made in into Pd-extended yet as there don't seem to be many recent builds available, but it should be straightforward to compile.

Re: [PD] Build externals from svn?

2014-10-22 Thread Martin Peach
According to the sourceforge site at http://sourceforge.net/p/pure-data/svn/HEAD/tree/ it's svn checkout svn://svn.code.sf.net/p/pure-data/svn/trunk pure-data-svn so maybe the server is busy or something. Martin On Wed, Oct 22, 2014 at 1:56 PM, Peter P. via Pd-list pd-list@lists.iem.at wrote:

Re: [PD] curve fitting help?

2014-10-22 Thread Martin Peach
Maybe start with your x values somewhere negative, since exp(0) = 1. In your graph it looks like around 0.6 would be 0, so subtract 0.6 from x, looks like maybe 1000*exp(x-0.6). Martin On Wed, Oct 22, 2014 at 2:03 PM, Dan Wilcox danomat...@gmail.com wrote: Howdy all, I’m *almost* done with

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-29 Thread Martin Peach
I have 0.43-4. Probably one of these will work: http://autobuild.puredata.info/auto-build/latest/ Martin On Thu, Jan 29, 2015 at 1:36 PM, Alexandre Torres Porres por...@gmail.com wrote: i got extended 0.42-5, it doesn't happen 2015-01-29 16:22 GMT-02:00 Martin Peach chakekat...@gmail.com

Re: [PD] more about float limitation (was: weird float/add limitation)

2015-01-31 Thread Martin Peach
it, but supercollider prints the value of pi as 3.1415926535898 so thats more than 24 bit float, but what is it? cheers 2015-01-29 15:47 GMT-02:00 Martin Peach chakekat...@gmail.com: Here's a patch using pdlua that shows the value of pi in various ways. I get 48 decimal places in a symbol. Martin

Re: [PD] bandpass or resonant?

2015-01-12 Thread Martin Peach
I was looking at circuit diagrams for analog synthesizers recently and noticed that the resonance control is nothing more than feeding some fraction of the output back to the input. With more feedback oscillation occurs at the cutoff frequency for any type of filter, highpass, bandpass or lowpass.

Re: [PD] maximum control rate in Pd

2015-03-13 Thread Martin Peach
On Fri, Mar 13, 2015 at 3:51 AM, Alexandre Torres Porres por...@gmail.com wrote: About the control rate paradigm in Pd, I have to admit that when I asked about it I was thinking about it in relation to what that means in supercollider and Csound, but I also always considered that Pd doesn't

Re: [PD] maximum control rate in Pd

2015-03-13 Thread Martin Peach
: On 03/13/2015 08:43 PM, Martin Peach wrote: Yes with [vline~] it goes finer, but try using numbers around 756 in the upper number box in this patch, I get long intervals, it's as though the control rate is aliasing. cannot reproduce. (though it's a bit unclear what yo umean

Re: [PD] maximum control rate in Pd

2015-03-13 Thread Martin Peach
Yes I just realized .00756ms is three times the sample rate, so the control rate is faster than the sample rate. Makes sense now. Does it make sense for that to be possible though? What use is it? Martin On Fri, Mar 13, 2015 at 4:17 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 03/13/2015

Re: [PD] maximum control rate in Pd

2015-03-13 Thread Martin Peach
Pd's control rate in action. this is not the best way to measure this, cause [*~ 0] is not able to convert data to audio as you expect, it's best to use [vline~]. cheers 2015-03-13 14:55 GMT-03:00 Martin Peach chakekat...@gmail.com: On Fri, Mar 13, 2015 at 3:51 AM, Alexandre Torres Porres

Re: [PD] Is there a way to get the canvas my object is at runtime ?

2015-03-03 Thread Martin Peach
-03 19:52 GMT+01:00 Martin Peach chakekat...@gmail.com: You could save the pointer in your class struct during the new method. Maritn On Tue, Mar 3, 2015 at 11:52 AM, Antoine Villeret antoine.ville...@gmail.com wrote: Hi, I would like to retrieve at any time the pointer to the t_canvas

Re: [PD] high channel count audio output on the cheap?

2015-03-01 Thread Martin Peach
With the Delata1010s you can sync one to the other using either the word clock or the SPDIF. Martin On Sun, Mar 1, 2015 at 10:31 AM, IOhannes zmölnig zmoel...@iem.at wrote: Am 01. März 2015 14:44:13 MEZ, schrieb tim vets timv...@gmail.com: You can probably find some m-audio Delta series

Re: [PD] Update cyclone maintenance

2015-02-24 Thread Martin Peach
I did some of those in Pd-extended as I had the same trouble with weird characters in object names; try mrpeach/op~ Martin On Tue, Feb 24, 2015 at 1:51 PM, Alexandre Torres Porres por...@gmail.com wrote: *I made one abstraction here for [=~], find it attached. It works fine here in my

Re: [PD] mrpeach midifile

2015-03-24 Thread Martin Peach
On Tue, Mar 24, 2015 at 2:23 PM, D G mami.mu...@gmail.com wrote: Hello Dear List I have been trying to load some midi files into the mrpeach midifile object and i am getting this kind of messages when it fails to load some of the midi files: other_meta: marker Marker ## other_meta: smpte

Re: [PD] help patch translations

2015-05-02 Thread Martin Peach
Well I dispute the asertion that Pd objects have English names. I think it hardly matters what language you speak, you need to remember an arbitrary character string that represents some function. The string may act as a mnemonic of some kind but it almost never works to specify an object using an

Re: [PD] compiling pd-extended on ubuntu 14.10

2015-04-04 Thread Martin Peach
On Sat, Apr 4, 2015 at 2:08 PM, Jonghyun Kim agitato...@gmail.com wrote: since there is no pd-extended on ubuntu 14.10, i have to compile it. is there a compiling guide for newbies? i can compile pd-vanilla on linux, but i haven't tried pd-extended yet. i need the necessary libraries i.e:

Re: [PD] get data from mp3 files

2015-04-04 Thread Martin Peach
On Sat, Apr 4, 2015 at 2:21 PM, João Pais jmmmp...@gmail.com wrote: I couldn't find an answer for this, so I doubt there is one: I have 100s of mp3 files, from which I needed to extract data - namely name, and duration. Would that be file name, or artist name? yes, file name. although as

Re: [PD] some repo house cleaning

2015-06-07 Thread Martin Peach
On Sat, Jun 6, 2015 at 9:52 PM, Jonathan Wilkes via Pd-list pd-list@lists.iem.at wrote: Hi list, tldr; Sourceforge has bundled malware with older Windows binaries for Gimp and apparently moved an old Sourceforge repo for nmap to a mirror where the nmap author does not have access.

Re: [PD] externals that send/receive messages?

2015-06-06 Thread Martin Peach
Sorry, should be grep -n receive_setup * or grep -n receive_setup *.c if you want the actual source. Martin On Sat, Jun 6, 2015 at 6:42 PM, Martin Peach chakekat...@gmail.com wrote: On Sat, Jun 6, 2015 at 6:32 PM, Forrest Curo treegest...@gmail.com wrote: Thank you, but how to locate

Re: [PD] externals that send/receive messages?

2015-06-06 Thread Martin Peach
On Sat, Jun 6, 2015 at 6:32 PM, Forrest Curo treegest...@gmail.com wrote: Thank you, but how to locate the source for a specific built-in object? In a terminal go to the pd/src directory and do: grep -n receive_setup Martin ___ Pd-list@lists.iem.at

Re: [PD] Arduiano (Micro or Nano) as MIDI interface?

2015-06-20 Thread Martin Peach
On Sat, Jun 20, 2015 at 6:06 AM, Ingo i...@miamiwave.com wrote: Hi there! I'd like to use an Arduino Micro (or Nano) as a MIDI interface connecting the MIDI ports to the digital pins 0 and 1 (TX/RX) and receiving the MIDI data via USB in Pd. It does not matter in which format it comes into

Re: [PD] Arduiano (Micro or Nano) as MIDI interface?

2015-06-20 Thread Martin Peach
, 20. Juni 2015 17:39 An: Martin Peach Cc: Ingo; pd-list@lists.iem.at Betreff: Re: [PD] Arduiano (Micro or Nano) as MIDI interface? I would definitely consider the Teensy unless there are specific reasons for the Arduino. The newest version has MIDI support built into and it is compatible

Re: [PD] OSC Communication between PD and SC

2015-06-20 Thread Martin Peach
Are you sure NetAddr.langPort is 57120? Martin On Sat, Jun 20, 2015 at 5:27 PM, Clifford Dunn beatlebo...@gmail.com wrote: Hi PD list, I want to be sending this to the SC list as well, but for some reason I can't get through there. I'm getting pretty frustrated as I try to figure out why

Re: [PD] tabread4~ interpolation at slooow playback?

2015-05-30 Thread Martin Peach
Theoretically you should use a brickwall lowpass at one half the playback sample rate. So practically a multipole lowpass at a lower frequency than that. Martin On Sat, May 30, 2015 at 1:37 PM, Peter P. peterpar...@fastmail.com wrote: Dear list, this has been discussed already, but I would

Re: [PD] help with error compiling externals in 6.externs?

2015-05-29 Thread Martin Peach
Maybe try apt-get install build-essential That usually sets everything up so it (compiling c and c++ code via makefiles) just works. Martin On Fri, May 29, 2015 at 7:03 PM, Forrest Curo treegest...@gmail.com wrote: Okay, this is a debian 7.something with the packaging manually fnurgled, fixed

Re: [PD] help with error compiling externals in 6.externs?

2015-05-30 Thread Martin Peach
to upgrade out of it -- but that still left things messed up; I couldn't install build-essential except by running aptitude rejecting its first option (Don't install 'build-essential' at all) but its next option worked, whee!) On Fri, May 29, 2015 at 7:48 PM, Martin Peach chakekat

Re: [PD] dmx interfaces + Pd

2015-07-01 Thread Martin Peach
Here's a patch that uses [comport] to talk to an entec DMXUSBPro. Martin On Wed, Jul 1, 2015 at 10:23 AM, Alexandros Drymonitis adr...@gmail.com wrote: I've used the DmxMaster shield with Arduino and it worked fine. Here's the library https://github.com/TinkerKit/DmxMaster and this is the

Re: [PD] Arduiano (Micro or Nano) as MIDI interface?

2015-07-01 Thread Martin Peach
patch to be able to route the MIDI data separately while using the other pins with the standard firmata at the same time. Unfortunately I do know much about C programming ... Ingo Von: Martin Peach [mailto:chakekat...@gmail.com] Gesendet

Re: [PD] dmx interfaces + Pd

2015-07-01 Thread Martin Peach
...@fastmail.com wrote: * Martin Peach chakekat...@gmail.com [2015-07-01 14:46]: Here's a patch that uses [comport] to talk to an entec DMXUSBPro. Would that also work with the DMX USB (non-Pro)? Does anyone know what the difference between these two models is? I seem to remember vaguely that the Pro

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Martin Peach
In pd Pd 0.46.6 I can do the attached patch without adding any extra externals so it's probably vanilla. Martin On Thu, Jul 2, 2015 at 5:13 PM, IOhannes m zmölnig zmoel...@iem.at wrote: On 07/02/2015 10:19 PM, Alexandre Torres Porres wrote: just use [expr~] does that count as vanilla?

Re: [PD] Vanilla replacement for tanh~

2015-07-02 Thread Martin Peach
-2020 -- *From:* Pd-list pd-list-boun...@mail.iem.at on behalf of Martin Peach chakekat...@gmail.com *Sent:* Thursday, July 2, 2015 5:34 PM *To:* IOhannes m zmölnig *Cc:* pd-list@lists.iem.at *Subject:* Re: [PD] Vanilla replacement for tanh~ In pd Pd 0.46.6 I

Re: [PD] dmx interfaces + Pd

2015-08-10 Thread Martin Peach
On Mon, Aug 10, 2015 at 1:48 PM, Athos Bacchiocchi athos.bacchioc...@gmail.com wrote: I found someone using a cheap USB to Ethernet adapter as a dmx controller: http://stevenbreuls.com/2014/03/diy-usb-dmx-controller-for-under-10_2_ethernet_cable/ I don't know for sure if it works or if it's

Re: [PD] dmx interfaces + Pd

2015-07-22 Thread Martin Peach
On Wed, Jul 22, 2015 at 6:25 AM, Francisco Medeiros excali...@gmail.com wrote: I got an open usb dmx and I haven't been able to get it working on linux. I think I will try with the raspberry pi but can it be controlled via pd? Also the patch Martin Peach shared can be used with the open dmx

Re: [PD] [packOSC] reentrancy problem

2015-11-16 Thread Martin Peach
, 2015-11-05 at 16:23 -0500, Martin Peach wrote: > > As I see it, the only way that [packOSC] can receive a message before > > it has completed the previous message is if its own output triggers > > another message to its input. It may be possible to detect that > > spec

Re: [PD] [packOSC] reentrancy problem

2015-11-05 Thread Martin Peach
What do you expect the patch to do, hang Pd? For me it prints this in the Pd 0.46.7 console: packOSC: This packet is not a bundle, so you can't write another address packOSC: Problem writing address. packOSC: According to the type tag I didn't expect any more arguments. packOSC: usage

Re: [PD] [packOSC] reentrancy problem

2015-11-05 Thread Martin Peach
, Roman Haefeli <reduz...@gmail.com> wrote: > On Thu, 2015-11-05 at 11:11 -0500, Martin Peach wrote: > > > > > In your patch, if you put a [delay] after the bang outlet it will > > start an infinite loop at the delay interval. I'm not sure why the > > delay is n

Re: [PD] comport rxerrors on W10

2015-10-07 Thread Martin Peach
On Wed, Oct 7, 2015 at 3:54 AM, IOhannes m zmoelnig wrote: > On 2015-10-07 07:47, ro...@dds.nl wrote: > > IOhannes wrote: > >> i just tested [comport] on a virtual W10 (running on a Debian host), > > > > so your host is Debian, mine is W10. > > which tells what? > > nothing. > i

Re: [PD] [packOSC] reentrancy problem

2015-11-18 Thread Martin Peach
On Tue, Nov 17, 2015 at 4:15 AM, Roman Haefeli <reduz...@gmail.com> wrote: > Hey, thanks for addressing the issue. > > On Mon, 2015-11-16 at 15:25 -0500, Martin Peach wrote: > > So I updated packOSC in svn to detect reentrancy and post a message. > > The message says: &

Re: [PD] [packOSC] reentrancy problem

2015-11-18 Thread Martin Peach
On Wed, Nov 18, 2015 at 11:56 AM, Martin Peach <chakekat...@gmail.com> wrote: > On Tue, Nov 17, 2015 at 4:15 AM, Roman Haefeli <reduz...@gmail.com> wrote: > >> Hey, thanks for addressing the issue. >> >> On Mon, 2015-11-16 at 15:25 -0500, Martin Peach wrote:

Re: [PD] brown/grey noise in pd

2015-11-14 Thread Martin Peach
There's [rojo~] in mrpeach, if by brown noise you mean red noise. (brownian noise?) [rojo~] tends to grow out of bounds, which is a problem with correlated noise: if you want long term correlations you have to be ready for the noise to get very loud. So in practice there is no red noise possible,

Re: [PD] brown/grey noise in pd

2015-11-14 Thread Martin Peach
Here's a simple way to do reddish noise: low-pass filtered white noise. By making the low-pass cutoff infrasonic it sounds like red or brown noise. The gain needs to be adjusted as the cutoff changes.. Martin On Fri, Nov 13, 2015 at 10:35 PM, Alexandre Torres Porres wrote: >

Re: [PD] Pduino and arudino mini pro/raspi debian- Pduino or Comport?

2015-09-21 Thread Martin Peach
On Mon, Sep 21, 2015 at 10:35 PM, Richie Cyngler wrote: > Funny I was just working on this this morning looking for a simple > solution for my students. > > I found this http://colinzyskowski.com/?page_id=503 to access analogRead. > > It kind of works. The third pot

Re: [PD] Small single board computer recommendations?

2015-09-21 Thread Martin Peach
On Mon, Sep 21, 2015 at 1:11 PM, William Huston wrote: > I hope this is relevant to this list! > > I am having big dreams about what can be done with cheap, tiny computers > running PD. Look at the various Laptop Orchestras popping up. So exciting! > > My minimum

Re: [PD] Pduino and arudino mini pro/raspi debian- Pduino or Comport?

2015-09-21 Thread Martin Peach
On Mon, Sep 21, 2015 at 10:55 AM, Pagano, Patrick wrote: > Hello > > > I want to use the arduino pro mini with pure data on the serial pins on > the raspberry pi2 board for a project i am working on. My Arduino Uno works > fine but i assume that is i assume because i

Re: [PD] comport rxerrors on W10

2015-12-02 Thread Martin Peach
Here is a diff file against the current comport.c in svn which attempts to fix the issue (also fixes a small bug and stops warnings about insecure strcpy). I tested it on Win7 but Win7 doesn't use that part of the code so I don't know if it really works. Also my WIn10 machine seems to be dead now,

Re: [PD] Lanbox

2015-12-04 Thread Martin Peach
On Fri, Dec 4, 2015 at 2:22 AM, school shoes 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

Re: [PD] comport rxerrors on W10

2015-12-03 Thread Martin Peach
This page explains some of where to get the source: https://puredata.info/docs/developer/GettingPdSource comport.c is at http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/iem/comport/comport/ If you're running vanilla, m_pd.h is in the src folder. You can use one of the Visual

Re: [PD] comport rxerrors on W10

2015-12-07 Thread Martin Peach
On Mon, Dec 7, 2015 at 2:46 PM, wrote: > so far so good > > after a lot of fruitless searching for the right answers > i took the liberty to change the makefile_win. > > $(VIS_CPP_PATH)\lib\libc.lib \ > $(VIS_CPP_PATH)\lib\oldnames.lib \ >

Re: [PD] comport rxerrors on W10

2015-12-03 Thread Martin Peach
If you open the diff file in notepad++ it will highlight the lines to be removed in red and the ones to be added in green. The line numbers in blue show the region of the file to be changed, and nearby lines that don't change are in white. So you can manually replace the red lines in comport.c

Re: [PD] link between C++ and PD

2015-12-30 Thread Martin Peach
The source for pdsend is in src/u_pdsend.c in any vanilla pd setup. The easiest thing would be to incorporate that into your program by replacing the argument list with a buffer containing a string with the values to be sent. Martin On Wed, Dec 30, 2015 at 10:50 AM, Simon Iten

Re: [PD] Clock Division

2016-01-09 Thread Martin Peach
Something like the attached patch? Martin On Sat, Jan 9, 2016 at 3:07 PM, Peter van Haaften wrote: > Greetings, > > I am trying to find a simple and efficient way to divide quarter notes in > Pd. > > The patch I am constructing is a kind of ostinato sequencer. There are >

Re: [PD] Sending [color $1( or [size $1( type messages to objects

2015-12-23 Thread Martin Peach
On Wed, Dec 23, 2015 at 8:08 PM, William Huston wrote: > Hi -- > > 1: Is the technique of setting object attributes via messages documented > anywhere? > > Probably in the source code... > ... > > 5: I would prefer to set an object's color via an RGB value > Can I

Re: [PD] Muse EEG into Pd OSC issues

2016-01-12 Thread Martin Peach
On Tue, Jan 12, 2016 at 11:19 PM, Richie Cyngler wrote: > Good point IOhannes. I think the problem was that I just took too small of > a sample to see the error return. The culprit seems to be /muse/config see > below. Maybe there is a way to filter out those messages? >

Re: [PD] Muse EEG into Pd OSC issues

2016-01-12 Thread Martin Peach
On Mon, Jan 11, 2016 at 11:07 PM, Richie Cyngler wrote: > Hi all, > > I'm recieving data via bluetooth from a Muse EEG headset and trying to > route it into Pd-Extended. > > [dumpOSC] is working sometimes but tends to crash Pd when the whole stream > is on. > > [udpreceive]

Re: [PD] Pduino sysex vs. OSC advice

2016-06-16 Thread Martin Peach
On Thu, Jun 16, 2016 at 11:35 AM, Rick Snow wrote: > ​Thanks again Christof for pointing me in a promising direction. I have > been working with the OSC tagging via slipenc and slipdec. > > As of now I have fairly reliable communication between PD and the Arduino > sketch

Re: [PD] Muse EEG into Pd OSC issues

2016-01-14 Thread Martin Peach
...although OSC 1.0 says that any sequence of non-null ASCII characters can be a string. The unpackOSC implementation may be rejecting it because Pd doesn't like such characters in its symbols. Martin On Thu, Jan 14, 2016 at 11:06 AM, Martin Peach <chakekat...@gmail.com> wrote: > &

Re: [PD] MobMuPlat - data from several iPads to one PC

2016-01-13 Thread Martin Peach
There's always [routeOSC]. Martin On Wed, Jan 13, 2016 at 12:03 PM, Daniel Iglesia wrote: > Of course, best of all would be additional functionality on [route] that > enables routing by slashes, like the CNMAT [osc-route] max object. > > On Tue, Jan 12, 2016 at 10:55

Re: [PD] Muse EEG into Pd OSC issues

2016-01-14 Thread Martin Peach
THe first error is triggered in [unpackOSC] with a string that's 738 characters long. I think that's the problem. I guess somewhere in unpackOSC a buffer is too small for it. Martin On Thu, Jan 14, 2016 at 1:31 AM, Richie Cyngler wrote: > Ok further testing and error is

Re: [PD] Muse EEG into Pd OSC issues

2016-01-14 Thread Martin Peach
On Thu, Jan 14, 2016 at 11:03 AM, Martin Peach <chakekat...@gmail.com> wrote: > Actually it's because the string is terminated with an ASCII Carriage > Return (decimal 10), which is not allowed by the OSC spec, so it gets > rejected. > > Sorry, Line Feed,

Re: [PD] Muse EEG into Pd OSC issues

2016-01-14 Thread Martin Peach
Actually it's because the string is terminated with an ASCII Carriage Return (decimal 10), which is not allowed by the OSC spec, so it gets rejected. Martin On Thu, Jan 14, 2016 at 8:39 AM, Martin Peach <chakekat...@gmail.com> wrote: > THe first error is triggered in [unpackOSC] with

Re: [PD] comport 0.2 source code ?

2016-02-04 Thread Martin Peach
The latest version of comport is here: http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/iem/comport/comport/ If the makefile in that folder doesn't work, the one in externals should build it with make comport or make comport_install It's easiest to check out all of trunk so the

Re: [PD] open sc within pd? (was Re: How's Max MSP limited? was Re: How's Pd limited?)

2016-02-25 Thread Martin Peach
I use [csoundapi~] sometimes. Last time I checked (a couple of years ago) it was still going. It's included with csound and the source code is available. cspound can spund better because it uses doubles (64-bit floating point numbers) instead of the floats (32-bit) that Pd uses.. Martin On Thu,

Re: [PD] converting incoming audio/voltages into CV for Eurorack modules

2016-01-24 Thread Martin Peach
The TLC5940 or TLC5941 PWM ICs have 16 channels of 12-bit resolution, and can be daisychained for more channels. They are supported by a library for Arduino. Although they are usually used for LEDs they also work for servos or general PWM. Martin On Sun, Jan 24, 2016 at 5:09 AM, Simon Iten

Re: [PD] Nettles. Was: Cyclone: List of Issues with existing objects by Alexandre Porres

2016-02-14 Thread Martin Peach
On Sun, Feb 14, 2016 at 10:00 AM, Alexandre Torres Porres wrote: > Not all operating systems like the '<' and '>' in the object names > > > I'm aware there's some issue of OS not liking such object names, but I > don't get it. > > For example, [<] and [>] are vanilla objects,

Re: [PD] Nettles. Was: Cyclone: List of Issues with existing objects by Alexandre Porres

2016-02-15 Thread Martin Peach
On Mon, Feb 15, 2016 at 10:36 AM, Alexandre Torres Porres wrote: > hmmm, much of the discussion here could be maybe at another thread about > creating functionalities (in externals or pd-l2ork) that allow abstractions > to behave more like externals, so I'd suggest changing the

Re: [PD] Nettles. Was: Cyclone: List of Issues with existing objects by Alexandre Porres

2016-02-15 Thread Martin Peach
On Mon, Feb 15, 2016 at 5:21 PM, Alexandre Torres Porres <por...@gmail.com> wrote: > On 2016-02-15 07:38 PM, Martin Peach wrote: > >> If you look in Pd source file x_arithmetic.c you will find this line: >> binop2_gt_class = class_new(gensym(">"), (t_ne

Re: [PD] Burst of packets.

2016-02-18 Thread Martin Peach
On Thu, Feb 18, 2016 at 1:42 PM, Mario Mey wrote: > > I read here > http://stackoverflow.com/questions/15060180/what-are-the-chances-of-losing-a-udp-packet > this: > > *Packet loss happens for multiple reasons. Primarily it is caused by > errors on individual links and

Re: [PD] objects with no alphanumerical names, how to build them?

2016-04-05 Thread Martin Peach
On Tue, Apr 5, 2016 at 10:43 AM, Alexandre Torres Porres wrote: > > Now I have an object that is compiled as [==~], it's not part of a > library, and it loads and works on pd vanilla 0.46-7 64 bits, pd vanilla > 0.46-7 > 32 bits and also Pd-Extended 0.42-5 (*without* the need

Re: [PD] Name conflicts "class overwritten; old one renamed 'x_aliased'

2016-04-06 Thread Martin Peach
On Wed, Apr 6, 2016 at 11:53 AM, Alexandre Torres Porres wrote: Hey buddy, I'm open... but I need more than things like: > > - Got a problem with externals? Do not use the externals then; > - Yeah, you do have a problem and I don't have a solution, but other than > that, the

Re: [PD] raspberry pi window position problem

2016-03-22 Thread Martin Peach
On Tue, Mar 22, 2016 at 9:56 AM, oliver wrote: > hi, dear list ! > > i am experiencing a strange problem with a freshly apt-get installed PD on > a new Raspberry PI. > > whenever i am opening a new patch, the window appears with its menubar > above the vertical 0 position,

Re: [PD] Externals: which library they belong to and where to download the sources

2016-08-03 Thread Martin Peach
On Wed, Aug 3, 2016 at 10:00 PM, angelo.arc...@virgilio.it < angelo.arc...@virgilio.it> wrote: > Dear Martin, > thanks a lot for your answer > > Which command should I use to download only the externals that I need? > > I find it easiest to check out all of trunk, then it's all in one place (but

Re: [PD] Externals: which library they belong to and where to download the sources

2016-08-03 Thread Martin Peach
On Wed, Aug 3, 2016 at 4:11 PM, angelo.arc...@virgilio.it < angelo.arc...@virgilio.it> wrote: > Dear list members, > could anyone please suggest me: > > 2- where I can download the last version of the sources of the externals? > For instance, where can I download the sources for compiling mrpeach

Re: [PD] stepper control

2016-08-14 Thread Martin Peach
On Sun, Aug 14, 2016 at 1:34 PM, Andy Farnell wrote: > On Sun, Aug 14, 2016 at 08:16:52AM +, Lucas Cordiviola wrote: > > > Also please be careful and be aware that there is risk of > > damaging things. > > > > Consider this a risk to the amp, do it with a low

[PD] Fwd: comport rxerrors

2016-08-16 Thread Martin Peach
This may be interesting to comport users on Win10: -- Forwarded message -- From: Maxime Harazi Date: Tue, Aug 16, 2016 at 9:06 AM Subject: [PD] comport rxerrors To: chakekat...@gmail.com Hey, I saw your the thread about comport error with Win10 on the

Re: [PD] Purr Data rc4

2017-01-21 Thread Martin Peach
[mrpeach/httpget] can be used with [tcpclient] to load html as a list of bytes, which I then usually process using a [pdlua] script. Martin On Sat, Jan 21, 2017 at 12:41 AM, Lucas Cordiviola wrote: > I think that having the ability to load an html at the background will

Re: [PD] netsend/netreceive questions ...

2017-02-22 Thread Martin Peach
On Wed, Feb 22, 2017 at 6:26 PM, Christof Ressi wrote: > > I believe what happens is that mrpeach/net objects output each incoming > chunk as a whole, or spoken from Pd view as list. > ... > > iemnet's tcp* objects make this nature of TCP explicitly clear by > > outputting

Re: [PD] raspberry comport error 2

2016-08-19 Thread Martin Peach
On Fri, Aug 19, 2016 at 12:23 PM, wrote: > hello, > > Slowly trying to get a grip on RPi. > ... > > Opening the port in Pd goes alright: > > [comport] closed port 1 (/dev/ttyAMA0) > [comport] set_baudrate: Setting baud rate to 115200 with baudbits 0x1002 > [comport] opened serial

Re: [PD] comport + usb hub issue

2016-08-30 Thread Martin Peach
On Mon, Aug 29, 2016 at 10:55 PM, Rick Snow wrote: > Howdy list, > > I am using comport to send messages to three arduinos via osx for an > installation. Almost invariably one of the connections drops after an > extended period of time. It seems that only unplugging and

Re: [PD] VST plugin host

2016-08-30 Thread Martin Peach
On Tue, Aug 30, 2016 at 11:03 AM, Vincent Vanbesien (DIEHCO) < electroni...@diehco.com> wrote: > > Finally, the problem seems come from the vst~ that miss some event when > releasing (note 0) (but also sometimes when pushing). It is easy to > reproduce pushing only 2 keys. I understand that the

Re: [PD] efficient approximation of trig functions for hi pass formula (was: could vanilla borrow iemlib's hi pass filter recipe?)

2016-10-19 Thread Martin Peach
On Wed, Oct 19, 2016 at 1:07 PM, katja wrote: > On Wed, Oct 19, 2016 at 4:25 PM, Jonathan Wilkes > wrote: > > When implemented in C, which approach takes the least amount of time > > to read, reason about, and fully comprehend? > > That is an important

Re: [PD] on android to root n linux or not

2016-10-13 Thread Martin Peach
Maybe android is best used to send OSC messages to a pd patch running on a real computer. You have the accelerometers and possibly other sensors builtin, the whole thing is a gesture controller not a dsp machine. Martin On Fri, Oct 14, 2016 at 12:06 AM, Billy Stiltner

Re: [PD] how does env~ work?

2017-03-23 Thread Martin Peach
On Thu, Mar 23, 2017 at 4:11 PM, Alexandre Torres Porres wrote: > actually, also, the envelope is applied to the squares of the > amplitudes... and this gets me completely lost now on what it means > mathematically > > It means that negative signals will count the same as

Re: [PD] Fastest way to find lines in text file

2017-03-22 Thread Martin Peach
On Wed, Mar 22, 2017 at 9:34 AM, Jack wrote: > ... > But, i am wondering if there is an other object (in an other library) > faster, specialized in this work ? > [pdlua] is excellent for scanning text. Martin ___ Pd-list@lists.iem.at

Re: [PD] [comport] interpreting byte 13 as 10

2017-03-29 Thread Martin Peach
On Wed, Mar 29, 2017 at 5:42 AM, Alexandros Drymonitis wrote: > I can't send the number 13 from the Arduino to Pd using Arduino's > Serial.write() function. Instead I'm receiving a 10. Does this have > anything to do with the fact that ASCII 10 is a new line feed and ASCII 13 >

Re: [PD] [comport] interpreting byte 13 as 10

2017-03-29 Thread Martin Peach
On Wed, Mar 29, 2017 at 11:07 AM, Martin Peach <chakekat...@gmail.com> wrote: > On Wed, Mar 29, 2017 at 5:42 AM, Alexandros Drymonitis <adr...@gmail.com> > wrote: > >> I can't send the number 13 from the Arduino to Pd using Arduino's >> Serial.write() function.

Re: [PD] comport - right outlet outputs only '-1'

2017-03-03 Thread Martin Peach
On Fri, Mar 3, 2017 at 4:55 AM, Roman Haefeli wrote: > * Wouldn't it be good if there'd be some 'report' message that would >trigger a dump of the current inner state, like 'xonxoff 0, stopbit >2, parity 0' etc. > > Have you tried the [info( message? Martin

Re: [PD] dimmer from pure data

2017-09-18 Thread Martin Peach
On Mon, Sep 18, 2017 at 11:38 AM, Csaba Láng wrote: > I have found this one: > > > https://www.dfrobot.com/product-1388.html > > I guess it does the job. > > It will only switch things on and off, not dim them. For that you want something with triacs

Re: [PD] dimmer from pure data

2017-09-18 Thread Martin Peach
On Mon, Sep 18, 2017 at 4:54 PM, Csaba Láng <langcs...@gmail.com> wrote: > > The raspi's GPIO is not enough? > Is the arduino still needed? > > One or the other should work. If you can run Pd on the pi it would be even better. > > > > On Monday, September

Re: [PD] dimmer from pure data

2017-09-18 Thread Martin Peach
On Mon, Sep 18, 2017 at 4:26 PM, Csaba Láng wrote: > what do you think about this board? > https://www.turkisharearugs.com/8-channel-ac-programmable- > light-dimmer-module-controller-board-arduino-raspberry-compatible-5060hz > > Looks good. You could control it with an

Re: [PD] BUG on midifixes - (was: midifixes testing)

2017-12-04 Thread Martin Peach
On Mon, Dec 4, 2017 at 1:39 PM, Ingo wrote: > 145 is the complete status byte for MIDI channel 2 note on. > > 144 should be subtracted but even then it still comes out to channel 2 > according to the MIDI specs and not 1. > Unfortunately the way Pd handles MIDI channels. > >

Re: [PD] Gem: can't load library -- FIXED. Download msvcr71.dll

2017-12-11 Thread Martin Peach
On Mon, Dec 11, 2017 at 7:06 PM, Samuel Burt wrote: > Thanks, Lucas. That's exactly what I needed and couldn't find. > > That last exchange was from 2016. Any reason the dll isn't included now? > Is it some kind of licensing issue? > > Since Win10 it's not

Re: [PD] pow/pow~ and negative input, a fix proposal

2018-05-08 Thread Martin Peach
On Tue, May 8, 2018 at 2:07 PM, Alexandre Torres Porres wrote: > ... > I personally cannot think of any use case where someone relies on pow(-1, > 2) generating "0", it just seems wrong to me (i.e. a bug) and allowing it > to do that wouldn't break things. > > Maybe add another

Re: [PD] Reason for not allowing '{' and '}' in Pd?

2018-05-14 Thread Martin Peach
On Mon, May 14, 2018 at 7:31 AM, Zack Lee wrote: > Hi, I'm trying to add a Lua scripting feature for my external which will > allow users to write and run Lua scripts directly in pd as object arguments > similar to how [expr] object works. > > Maybe you are no aware that you

Re: [PD] pow/pow~ and negative input, a fix proposal

2018-05-08 Thread Martin Peach
On Tue, May 8, 2018 at 9:28 PM, Alexandre Torres Porres <por...@gmail.com> wrote: > 2018-05-08 18:05 GMT-03:00 Martin Peach <chakekat...@gmail.com>: > >> On Tue, May 8, 2018 at 2:07 PM, Alexandre Torres Porres <por...@gmail.com >> > wrote: >> >>>

Re: [PD] pow/pow~ and negative input, a fix proposal

2018-05-09 Thread Martin Peach
On Wed, May 9, 2018 at 10:38 AM, Alexandre Torres Porres wrote: > You know, now that you the inability to deal with nan/inf in pd, such as > in [select] came up, it makes total sense to avoid them in Pd and I can see > where that comes from. > > By the way, filtering out

  1   2   3   >