Re: [PD] choose language

2013-01-11 Thread IOhannes zmölnig
On 01/10/2013 10:11 PM, András Murányi wrote: Does it mean that there are no GUI strings in the C code? There are GUI strings in the C code, but in order for you to see them, they are sent to pd-gui, the Tcl process. If you're running in -nogui mode, there will be no translations since all

[PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Marco Donnarumma
Hey, I'm keeping trying my patches with the new pd-ext to report back. From time to time when launching my Xth Sense patch this error appears: (Tcl) INVALID COMMAND NAME: invalid command name .x9c4d3b0.c while executing .x9c4d3b0.c create image 900 776 -image a4304c0PHOTOIMAGE -tags

Re: [PD] GEM - camera lens correction or camera calibration

2013-01-11 Thread Dario Pedrioli
hi all I had problems with pix_opencv compilation (mainly due to openCV 2.4 installed instead of the packaged version 2.3). I've solved so I want to share my experience. My configuration is ubuntu 12.04 64bit, pd-extended 0.43.1_20120421 installed, openCV 2.4 Below the problems with the

[PD] how to iterate over left and right channel separately in one Pd class?

2013-01-11 Thread katja
Hello, I'm working on a Pd class with stereo channels (reverb), and the routine happens to be most efficient when iterating over the samples per channel, instead of left and right together in the perform loop. However, when doing two while loops in one object, one for left and one for right, the

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Hans-Christoph Steiner
Can you post the patch that triggers this problem? .hc On Jan 11, 2013, at 5:40 AM, Marco Donnarumma wrote: Hey, I'm keeping trying my patches with the new pd-ext to report back. From time to time when launching my Xth Sense patch this error appears: (Tcl) INVALID COMMAND NAME:

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Marco Donnarumma
it's my Xth Sense patch. It's not use to post it here, cuz you need the xth-sense-lib to run it. You can get the patch and the library here: http://res.marcodonnarumma.com/projects/xth-sense/#download thanks! -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher,

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Hans-Christoph Steiner
Trying it now. You might want to include [line3] in your externals lib too, or use a different object. It was part of flatspace, which is no longer included of Pd-extended as of 0.43.4. .hc On Jan 11, 2013, at 9:48 AM, Marco Donnarumma wrote: it's my Xth Sense patch. It's not use to

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Marco Donnarumma
cool you can try it out, thanks, let me know if you get the same error. I'm on Ubuntu Lucid 10.04. Yes, I know about line3, was meant to check the license before shipping it with the xth-sense-lib -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. Embodied

[PD] Pd shortcut stop to work

2013-01-11 Thread Esteban Viveros
Today I'm trying the pd in http://puredata.info/downloads/pd-extended/releases/0.43.4 for precise amd64 and the pd shortcut stop to work.. The implementation of icon to pd patches doen't work here too.. System based on Ubuntu 12.04.1 LTS Pd Version: 0.43.4-extended-20130111 -- Esteban Viveros

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Hans-Christoph Steiner
Yeah, I get the same error, but I can't tell what object is causing the error. I don't think its [image]. Any idea? Can you actually see something is missing? .hc On Jan 11, 2013, at 10:34 AM, Marco Donnarumma wrote: cool you can try it out, thanks, let me know if you get the same error.

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Hans-Christoph Steiner
Found it, its in iemgui: $ grep PHOTOIMAGE externals/iem/iemgui/src/*.c | grep 'create image' externals/iem/iemgui/src/hfadl_scale.c: sys_vgui(.x%lx.c create image %d %d -image %lxPHOTOIMAGE -tags %lxPHOTO\n, externals/iem/iemgui/src/hfadr_scale.c: sys_vgui(.x%lx.c create image

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Marco Donnarumma
What I noticed is wrong, is that the GUI in the analysis module (the GOP at the bottom right, with 5 sliders, and red scope) is frozen. Data still flow in there, but the GUI doesn't show any response. You can plug into your audio input any sounds producing device and see this. This could suggest

Re: [PD] Pd-ext 0.43.4 Tcl Invalid Command Name error

2013-01-11 Thread Marco Donnarumma
lovely! so it's a bug. Ok I'll file a bug report asap. thanks a bunch! -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. Embodied Audio-Visual Interaction Research Team. Department of Computing, Goldsmiths University of London ~

[PD] Finding sample length of long aif

2013-01-11 Thread Samuel Burt
Greetings list, I'm developing an application for someone that involves picking a start and end point of a selection of long (30 minute) audio files. I've solved this by using [soundfile_info] to find the length. I provide two sets of arrays. One displays the waveform of a selection set from

Re: [PD] Using the keyboard to control motion of pdp_form (for a drawing machine)

2013-01-11 Thread Ba Prince
Yo, Have a look to translateXYZ, rotateXYZ, gemkeyboard. Actually, have a look to GEM. 2013/1/8 joao dos santos senhorjsan...@gmail.com Hello, I'm new to this list and I'm looking for some help regarding the control of the motion of an ellipse using a keyboard - 2 keys for x axis and 2

Re: [PD] how to iterate over left and right channel separately in one Pd class?

2013-01-11 Thread Miller Puckette
Hi Katja - There's one example of this in sigfft_dspx() - a complex FFT that 'natively' works on 2 signals in-place but has to deal with various cases in which buffers get re-used. It's ugly but the basic idea is first to get the inputs copied to the outputs (unless they're already there in the

Re: [PD] how to iterate over left and right channel separately in one Pd class?

2013-01-11 Thread katja
Hi Miller, Thanks for the solution. The routines are in place so copying the right channel input to output should do it. Is there any reason to prefer copy_perform() over memcpy()? I'm trying to make the most efficient reverb for RPi Co. Katja On Fri, Jan 11, 2013 at 7:57 PM, Miller Puckette

Re: [PD] how to iterate over left and right channel separately in one Pd class?

2013-01-11 Thread Miller Puckette
copy_perform assumes the data is 4-byte aligned so might save a test or two compared to memcopy() - but I really don't know. I never benchmarked the two against each other :) M On Fri, Jan 11, 2013 at 09:36:41PM +0100, katja wrote: Hi Miller, Thanks for the solution. The routines are in

Re: [PD] how to iterate over left and right channel separately in one Pd class?

2013-01-11 Thread katja
Ok so I did the ugly thing with the right channel input and output pointers: memcpy(outR, inR, vectorsize * sizeof(t_float)); inR = outR; Works like a charm, thanks again. Katja On Fri, Jan 11, 2013 at 10:05 PM, Miller Puckette m...@ucsd.edu wrote: copy_perform assumes the data is 4-byte

Re: [PD] how to iterate over left and right channel separately in one Pd class?

2013-01-11 Thread Hans-Christoph Steiner
I recently learned that libc's memcpy actually uses things like SSE2 or SSSE2 so it can be quite fast on CPUs from the past 10 years, especially of the last 5 years. It would be worth profiling to see if that's noticeable. .hc On 01/11/2013 05:12 PM, katja wrote: Ok so I did the ugly thing