Re: [PD] pix_film and pd-0.42.5

2009-09-17 Thread IOhannes m zmoelnig

marius schebella wrote:

hi,
I have the strange feeling that pix_film (yesterday's gem version) 
cannot load files under pd-0.42.5 on OSX.

can someone confirm this?
I keep getting
error: [pix_filmQT]: Unable to find file:


alas! and indeed.

quick fix: remove pix_filmQT.cpp and pix_filmQT.h, make clean and 
make and the problem should be gone.


i guess we are nearing the 0.92.1 bugfix release.

fgmasdr
IOhannes


smime.p7s
Description: S/MIME Cryptographic Signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Maemo driven devices?

2009-09-17 Thread Chris McCormick
On Fri, Sep 11, 2009 at 10:02:41PM -0400, Hans-Christoph Steiner wrote:
 What I'd like to see is Pd on Android, but I think that could be a  
 little bit tricky to get into a form that is easily distributable  
 without rooting the phone.  The G1 already runs Debian, so you could  
 just install the 'puredata' package once you have Debian on your G1.

I successfully compiled Pd with the Android NDK a few weeks ago, and my
colleague wrote an audio driver which calls back into Java space via the JNI
and produces sound, but there is a bug somewhere with [vd~], [tabread~] and
friends so it's not 100% yet. If this was working it would make it possible to
build and distribute Pd for non-rooted Androids.

Unfortunately my hands are tied with regards to releasing the code, but I am
pushing hard to make it happen anyway. This what I get for whoring my mind to
proprietary companies. :(

If anyone else wants a shot, I can tell you it's actually really simple to make
Pd compile with the NDK, you just need to make your own Android.mak file with a
list of object files to be built and the right flags set. You can get this list
of object files from the Linux generated Makefile. I had to also tweak the
source a bit to set a new flag called __ANDROID__ in some places and not in
others. If you follow the model of __LINUX__ it's pretty close. Oh no, I've
said too much.. the suits are here.. I can hear them knocking.. going to get my
shotgun.. I may be some time-

Chris.

---
http://mccormick.cx

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Help with patch needed: keyname/route + textfile/gem

2009-09-17 Thread James Dunn

Quoth Martin Schied, on 16/09/09 16:02:
Usually I use UTF-8 to circumvent all of these problems. Attached are 
my tools I use for it.


It's a small command line tool to convert text files to utf8 coded 
decimals and an example patch showing use of the converted text in Gem.


cheers
Martin



Thanks Martin, this is really useful! What I really need now is a way to 
automatically generate carriage returns or EOL's when the text hits the 
edge of the window - is this something that can be done in gem or do I 
have to format the text first in a text editor first?


thanks

James

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Blue/green box

2009-09-17 Thread Jack
Hmm, strange i had only warning but no error.
I change 0 to 0.0 (to use float instead int in 'if ((color.g -
colorToDiscard.g) = 0.0)') and now i have no warning (i join the
new .frag) : all works fine here.
I think, the problem could come from the GPU (and so the version of GLSL
supported ? I am not an expert in GLSL, so i can't answer correctly to
this question :).
Here i have a NVidia 9700M GTS (with the NVidia driver 180.44).
++

Jack


Le jeudi 17 septembre 2009 à 12:43 +0200, Max a écrit :
 hi jack,
 
 you are very welcome. most of the patches are heavily inspired by what  
 floats through the mailinglist or the help patches.
 
 i didn't have time to look into it but i am getting
 
 error: [glsl_fragment]: shader not loaded
 linking: link 5.60519e-45 2.8026e-45
 linking: link 5.60519e-45 7.00649e-45
 [glsl_program]: Info_log:
 [glsl_program]: ERROR: One or more attached shaders not successfully  
 compiled
 
 [glsl_program]: Link failed!
 
 with the shaders you've attached. are you shure they work on your  
 system?
 
 
 Am 17.09.2009 um 01:39 schrieb Jack:
 
  Hello Max,
  Thanx to share those useful patchs.
  Just one point, i have a problem with the color keying patch using  
  GLSL,
  it doesn't work here (someone else ?). So i decided to write a  
  new .frag
  (is it good ?) and create a new patch.
  By hoping it helps.
  ++
 
  Jack
 
 
  Le mercredi 16 septembre 2009 à 16:09 +0200, Max a écrit :
  ;o)
 
  you may want to look into those patches:
  http://damm-net.org/wiki/index.php?title=Bewegungsmelder
 
 
  Am 12.09.2009 um 16:48 schrieb bra...@subnet.at:
 
  Very nice, thank you
 
  do you mind if I use that patch for future projects?
 
  ;-)
  der.brandt
 
 
  bra...@subnet.at wrote:
  Hi list
 
  anybody having an idea of building a bluebox in pd/gem?
 
  very simple, see attached patch.
 
 
  fmdasdr
  IOhannes
 
  you can also have a look at [pix_chroma_key]
 
 
 
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
  colorKeyingGLSL.zip
 
//Jack/RYBN 2009
#extension GL_ARB_texture_rectangle : enable
uniform sampler2DRect MyTex;
uniform vec3 colorToDiscard;
uniform float seuil;
float rouge, vert, bleu;

void main (void)
{
	vec4 color = texture2DRect(MyTex, gl_TexCoord[0].st);

	if (abs(color.r - colorToDiscard.r) = seuil) {
		rouge = 1.0;
	} else {
		if ((color.r - colorToDiscard.r) = 0.0) {
			rouge = (color.r - colorToDiscard.r)/seuil;
		} else {
			rouge = (colorToDiscard.r - color.r)/seuil;
		}
	}

	if (abs(color.g - colorToDiscard.g) = seuil) {
		vert = 1.0;
	} else {
		if ((color.g - colorToDiscard.g) = 0.0) {
			vert = (color.g - colorToDiscard.g)/seuil;
		} else {
			vert = (colorToDiscard.g - color.g)/seuil;
		}
	}

	if (abs(color.b - colorToDiscard.b) = seuil) {
		bleu = 1.0;
	} else {
		if ((color.b - colorToDiscard.b) = 0.0) {
			bleu = (color.b - colorToDiscard.b)/seuil;
		} else {
			bleu = (colorToDiscard.b - color.b)/seuil;
		}
	}

	color.a = (rouge+vert+bleu) / 3.0;
	gl_FragColor = color;
}
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Blue/green box

2009-09-17 Thread Max
it works now. the GLSL in OS X is very picky about all floats beeing  
defined with a decimal dot.

(here i use a NVIDIA GeForce 9400M w/ os x)
to make these patches really useful you have to use a camera with  
manual focus and manual exposure. auto-* will wreck the results.
in order to optimize the output an edge detection could be an  
instesting addition.

do you mind if i add your version to the collection?

m.


Am 17.09.2009 um 13:16 schrieb Jack:


Hmm, strange i had only warning but no error.
I change 0 to 0.0 (to use float instead int in 'if ((color.g -
colorToDiscard.g) = 0.0)') and now i have no warning (i join the
new .frag) : all works fine here.
I think, the problem could come from the GPU (and so the version of  
GLSL

supported ? I am not an expert in GLSL, so i can't answer correctly to
this question :).
Here i have a NVidia 9700M GTS (with the NVidia driver 180.44).
++

Jack


Le jeudi 17 septembre 2009 à 12:43 +0200, Max a écrit :

hi jack,

you are very welcome. most of the patches are heavily inspired by  
what

floats through the mailinglist or the help patches.

i didn't have time to look into it but i am getting

error: [glsl_fragment]: shader not loaded
linking: link 5.60519e-45 2.8026e-45
linking: link 5.60519e-45 7.00649e-45
[glsl_program]: Info_log:
[glsl_program]: ERROR: One or more attached shaders not successfully
compiled

[glsl_program]: Link failed!

with the shaders you've attached. are you shure they work on your
system?


Am 17.09.2009 um 01:39 schrieb Jack:


Hello Max,
Thanx to share those useful patchs.
Just one point, i have a problem with the color keying patch using
GLSL,
it doesn't work here (someone else ?). So i decided to write a
new .frag
(is it good ?) and create a new patch.
By hoping it helps.
++

Jack


Le mercredi 16 septembre 2009 à 16:09 +0200, Max a écrit :

;o)

you may want to look into those patches:
http://damm-net.org/wiki/index.php?title=Bewegungsmelder


PGP.sig
Description: Signierter Teil der Nachricht
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Blue/green box

2009-09-17 Thread Jack
Le jeudi 17 septembre 2009 à 13:37 +0200, Max a écrit :
 it works now. the GLSL in OS X is very picky about all floats beeing  
 defined with a decimal dot.
Super !
 (here i use a NVIDIA GeForce 9400M w/ os x)
 to make these patches really useful you have to use a camera with  
 manual focus and manual exposure. auto-* will wreck the results.
Yep.
 in order to optimize the output an edge detection could be an  
 instesting addition.
It's another challenge, more complex.
 do you mind if i add your version to the collection?
Absolutely not ;)
++

Jack


 
 m.
 
 
 Am 17.09.2009 um 13:16 schrieb Jack:
 
  Hmm, strange i had only warning but no error.
  I change 0 to 0.0 (to use float instead int in 'if ((color.g -
  colorToDiscard.g) = 0.0)') and now i have no warning (i join the
  new .frag) : all works fine here.
  I think, the problem could come from the GPU (and so the version of  
  GLSL
  supported ? I am not an expert in GLSL, so i can't answer correctly to
  this question :).
  Here i have a NVidia 9700M GTS (with the NVidia driver 180.44).
  ++
 
  Jack
 
 
  Le jeudi 17 septembre 2009 à 12:43 +0200, Max a écrit :
  hi jack,
 
  you are very welcome. most of the patches are heavily inspired by  
  what
  floats through the mailinglist or the help patches.
 
  i didn't have time to look into it but i am getting
 
  error: [glsl_fragment]: shader not loaded
  linking: link 5.60519e-45 2.8026e-45
  linking: link 5.60519e-45 7.00649e-45
  [glsl_program]: Info_log:
  [glsl_program]: ERROR: One or more attached shaders not successfully
  compiled
 
  [glsl_program]: Link failed!
 
  with the shaders you've attached. are you shure they work on your
  system?
 
 
  Am 17.09.2009 um 01:39 schrieb Jack:
 
  Hello Max,
  Thanx to share those useful patchs.
  Just one point, i have a problem with the color keying patch using
  GLSL,
  it doesn't work here (someone else ?). So i decided to write a
  new .frag
  (is it good ?) and create a new patch.
  By hoping it helps.
  ++
 
  Jack
 
 
  Le mercredi 16 septembre 2009 à 16:09 +0200, Max a écrit :
  ;o)
 
  you may want to look into those patches:
  http://damm-net.org/wiki/index.php?title=Bewegungsmelder


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Maemo driven devices?

2009-09-17 Thread marius schebella
awesome! suits and ties here, too. but willing to jump in on this
(android build, not the suits part)...
marius.

2009/9/17 Chris McCormick ch...@mccormick.cx:
 On Fri, Sep 11, 2009 at 10:02:41PM -0400, Hans-Christoph Steiner wrote:
 What I'd like to see is Pd on Android, but I think that could be a
 little bit tricky to get into a form that is easily distributable
 without rooting the phone.  The G1 already runs Debian, so you could
 just install the 'puredata' package once you have Debian on your G1.

 I successfully compiled Pd with the Android NDK a few weeks ago, and my
 colleague wrote an audio driver which calls back into Java space via the JNI
 and produces sound, but there is a bug somewhere with [vd~], [tabread~] and
 friends so it's not 100% yet. If this was working it would make it possible to
 build and distribute Pd for non-rooted Androids.

 Unfortunately my hands are tied with regards to releasing the code, but I am
 pushing hard to make it happen anyway. This what I get for whoring my mind to
 proprietary companies. :(

 If anyone else wants a shot, I can tell you it's actually really simple to 
 make
 Pd compile with the NDK, you just need to make your own Android.mak file with 
 a
 list of object files to be built and the right flags set. You can get this 
 list
 of object files from the Linux generated Makefile. I had to also tweak the
 source a bit to set a new flag called __ANDROID__ in some places and not in
 others. If you follow the model of __LINUX__ it's pretty close. Oh no, I've
 said too much.. the suits are here.. I can hear them knocking.. going to get 
 my
 shotgun.. I may be some time-

 Chris.

 ---
 http://mccormick.cx

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Live processing of audio input

2009-09-17 Thread Daniel Wilcox
 This will probably seem sufficiently vague for many, but hopefully one
 or two on the list has a patch they'd care to share.

 I'm play with an experimental improv noise band, who I normally
 perform on a traditional elec gtr, amp set up with some fuzz and delay
 pedals and shape and manipulate feedback.

 For our next round of rehearsals, gigs, I'd like to see what can be
 achieved gtr, laptop running pd.

 I'm new to pd so it would be really helpful if any of you out there
 have worked in a similar arrangement and would like to share patches
 for processing similar types of audio input in a similar setting.

 If there's any clarity I can provide, please ask!

 --
 Regards,
 Jerome Covington
  .  .  .  .   :   .  .  .  .   :
 define audio development


Hey Jerome,

I use pd live with guitar, etc running on a wearable computer in my project
robotcowboy http://www.robotcowboy.com/category/media/.  I have a pd
library http://danomatika.com/software/rc-patches/ focused on live
guitar/gamepads, constructing songs as individual patches, and moving
between songs using a playlist.  I will update the zip on the rc-patches
page soon as I've added a bunch of new stuff ...

One of these days I'll write a how to for my approach ...

-- 
Dan Wilcox
danomatika
www.robotcowboy.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] General Midi spec patches?

2009-09-17 Thread Daniel Wilcox
Has anyone made any General Midi convenience patches?  Maybe something like

[general-midi trumpet]

or

[acoustic bass drum
|
[general-midi-drums]

I'm planning on revamping my system's midi setup to use the correct GM
instruments/channels, etc so I can record a live midi file as well as a
wav.  Then the next step will be converting said midi to .kar with the
lyrics ... automated midi karaoke.

I have the read the spec online and it wouldn't be too hard to do, but I
don't want to reinvent the wheel if it's already rolling for someone.

-- 
Dan Wilcox
danomatika
www.robotcowboy.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] sc3~ for PD

2009-09-17 Thread Si Mills

Hello

http://music.columbia.edu/~brad/sc3~/  - Just wondering, how hard  
would it be to port this to Pd?


Is there any sort of external that allows you to write a text based  
synth directly inside PD? I imagine when clicking on the object would  
bring up a mini code editor. Sometimes the ability to to use loops and  
arrays to create objects and  can be a real time saver (500 [osc~]  
each with random pitch variations and amplitudes please!)


I need enlightening to the scripting possibilities of Pd I think

cheers


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite test builds

2009-09-17 Thread adrian.g
 HI. I have some problem here running the Pd-GUI-Rewrite on Fedora 10 with 
Planet CCRMA. PD starts for a moment, I can see the main window appearing for a 
split second and then it quits. 
In the Terminal I get this:

priority 98 scheduling enabled.
sh: ../bin/pd-watchdog: No such file or directory
priority 96 scheduling enabled.
---pd-gui.tcl---
check_for_running_instances 1 5400
Tcl library: /usr/share/tcl8.5
executable: /usr/bin/wish
tclversion: 8.5
patchlevel: 8.5.3
sharedlibextension: .so
-- pdtk_pd_startup 
version: Pd version 0.43-0hcs0

audio_apis:  {OSS 2} {ALSA 1} {portaudio 4} 
midi_apis:  {default-MIDI 2} {ALSA-MIDI 1} 
sys_font: Courier
sys_fontweight: normal
pd: watchdog process died
DEFAULT FONT: Liberation Mono
WARNING: Font family 'Courier' not found, using default (Liberation Mono)
[r...@xuxu src]# audio OSS
audio ALSA
audio portaudio
midi default-MIDI
midi ALSA-MIDI
pdtk_canvas_getscroll .pdwindow
pdtk_canvas_getscroll .pdwindow
pdtk_canvas_getscroll .pdwindow

Load all plugins in /home/xuxu/pd-gui-rewrite/startup:
  /home/xuxu/pd-gui-rewrite/startup/object_db.tcl
  /home/xuxu/pd-gui-rewrite/startup/set_custom_stored_histories.tcl
  /home/xuxu/pd-gui-rewrite/startup/addmypatchstomedia.tcl
  /home/xuxu/pd-gui-rewrite/startup/file_associations.tcl
  /home/xuxu/pd-gui-rewrite/startup/meters_default_on.tcl
  /home/xuxu/pd-gui-rewrite/startup/insertintopopup.tcl

-- done with main --
set_menu_new_dir .pdwindow

If anybody has an idea of what might be going on, pleas help.


Adrian

 On Fri, 11 Sep 2009 09:25:28 -0700 Jonathan Wilkes jancs...@yahoo.com 
wrote  

  --- On Fri, 9/11/09, Hans-Christoph Steiner h...@at.or.at wrote: 
   
   From: Hans-Christoph Steiner h...@at.or.at 
   Subject: Re: [PD] Pd-GUI-Rewrite test builds 
   To: Jonathan Wilkes jancs...@yahoo.com 
   Cc: g...@itchybit.org, PD List pd-list@iem.at 
   Date: Friday, September 11, 2009, 12:43 AM 
   
   On Sep 10, 2009, at 3:59 PM, Jonathan Wilkes wrote: 
I think this is unrelated to the fact that carriage 
   returns aren't 
saved with the patch; if you're entering lots of 
   messages followed by 
semicolons, you still need to hit enter to get 
   to the next line, and 
that's where the quirky behavior comes in. 

-Jonathan 
   
   The carriage returns get stripped when saved to the 
   file.  It is annoying for sure. 
   
  Yes, but what I mean is if this quirky behavior is easily fixable, it's 
  still useful even though carriage returns don't get saved with the patch. 
  Currently, enter is mainly used in a msg box after typing a semicolon, 
  and when the patch gets loaded a cr is added after the semicolon. So 
  if a new line would be started after the user types enter (instead of 
  after the *next* character is entered) it would look like Pd is doing 
  the right thing in 90% of the cases where you use a carriage return in 
  a msg box. 
   
  Oh, something related to cr's: it's currently difficult to click 
  the right spot in multi-line comments in pd-ext: 
   
  http://sourceforge.net/tracker/?func=detailaid=2812603group_id=55736atid=478070
   
   
  This isn't a problem in current version of pd-vanilla. 
   
  -Jonathan 
   
   
   
   .hc 
   
   
   
   
   
   
  ___ 
  Pd-list@iem.at mailing list 
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] sc3~ for PD

2009-09-17 Thread Nicolas Montgermont



Le 17/09/09 16:30, Si Mills a écrit :



I need enlightening to the scripting possibilities of Pd I think

For that you can go in the help browser of pd extended: 
manuals/pd-msg/msg_and_patch/1.1.add_objects.pd help patch. You'll have 
no problems to do 500 osc~ that way.


Cheers,

Nicolas
--
http://nim.on.free.fr

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] sc3~ for PD

2009-09-17 Thread Tim Blechmann
 I need enlightening to the scripting possibilities of Pd I think

 For that you can go in the help browser of pd extended: 
 manuals/pd-msg/msg_and_patch/1.1.add_objects.pd help patch. You'll have 
 no problems to do 500 osc~ that way.

the only difference is, when doing it from withing a supercollider
server instance, you can do it live without having an audio dropout :P

tim

-- 
t...@klingt.org
http://tim.klingt.org

When you open windows, bugs get in.



signature.asc
Description: OpenPGP digital signature
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] sc3~ for PD

2009-09-17 Thread josepadovani
You can send OSC messages to scynth from pd... you can do something like 
sc3~ with [textfile] (to type things as you described), [popen]/[shell] 
(to launch scynth) and OSC server commands 
(http://supercollider.svn.sourceforge.net/viewvc/supercollider/trunk/build/Help/ServerArchitecture/Server-Command-Reference.html)


So it is possible to use PD to send SynthDefs to the server, instantiate 
Synths, etc...
You can route the signals by using jack... to that you will need 
specific audio buses in SC to be your inlets and outlets


but... probably is just easier to do everything in SC.. :)

cheers

Si Mills escreveu:

Hello

http://music.columbia.edu/~brad/sc3~/  - Just wondering, how hard 
would it be to port this to Pd?


Is there any sort of external that allows you to write a text based 
synth directly inside PD? I imagine when clicking on the object would 
bring up a mini code editor. Sometimes the ability to to use loops and 
arrays to create objects and  can be a real time saver (500 [osc~] 
each with random pitch variations and amplitudes please!)


I need enlightening to the scripting possibilities of Pd I think

cheers


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list





--
http://zepadovani.info


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Help with patch needed: keyname/route + textfile/gem

2009-09-17 Thread Martin Schied
James Dunn wrote: 
Thanks Martin, this is really useful! What I really need now is a way 
to automatically generate carriage returns or EOL's when the text hits 
the edge of the window - is this something that can be done in gem or 
do I have to format the text first in a text editor first?



Hi,

spent some time and made an abstraction for this (see attachment).

I think formatting it outside of Pd is much more simple - but less 
flexible inside your patch.
I had some problems when trying to use doubled newlines to create new 
paragraphs. text3d and text2d display some strange characters in this case.


If it has not to be dynamically changeable text inside your patch you 
could use latex or something else to format text into pages and then 
convert them to pixel graphics. Like this you can also generate good 
looking hyphened justification which is hardly doable within pd.


I figured out a way to have png from latex with nice alpha transparency:
latex -- ps, split ps into single pages, ps2eps, eps2png.
you'll find them here:
http://www.tm.uka.de/~bless/ps2eps
http://search.cpan.org/~jv/eps2png/

an other more out-of-the-box-method would be using your favorite office 
software, making pdfs and convert them to pixel graphics (using 
imagemagick or something else). Or simply use inkscape and export them 
to png. :D


cheers
Martin


line-break.pd
Description: application/puredata


line-break-help.pd
Description: application/puredata
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite test builds

2009-09-17 Thread András Murányi
How do I make a 32-bit build on my 64-bit system? CFLAGS=-m32 and
CXXFLAGS=-m32 don't work, they log the following error:

configure:3455: gcc -m32-O6 -funroll-loops -fomit-frame-pointer   conftest.c
  
 5
 cc1: error: unrecognized command line option -m32-O6
 configure:3458: $? = 1
 configure:3496: result:
 configure: failed program was:
 | /* confdefs.h.  */


I need the 32-bit build so I don't need to recompile my externals for 64-bit
which never fully worked so far.

Thanks, Andras
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite test builds

2009-09-17 Thread Max

Hans: Is it supposed to use the localisations? because it doesn't.

Am 04.09.2009 um 18:45 schrieb Hans-Christoph Steiner:



Ok, so there are now some Mac OS X and Windows test builds for  
people to try.  For GNU/Linux, building from source is still the  
easiest way.


http://puredata.info/dev/PdGuiRewriteTestBuilds

I think its pretty useable on GNU/Linux and Mac OS X.  The Windows  
side needs more work, so I would greatly appreciate feedback and  
contributions from Windows users.


.hc




The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list




PGP.sig
Description: Signierter Teil der Nachricht
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Help with patch needed: keyname/route + textfile/gem Hi all

2009-09-17 Thread Dario Pedrioli
Hi all,

I use PHP and ImageMagick to create images  from dynamic text (stored in
mySql).

Basically I've got a php web page, from which I call a shell command that
output a fixed width and height image, filled with text.
The text size vary to fill the whole image, so few words - bigger text,
many words - smaller text. So you have always all your text formatted in
the same space, and you don't have to worry about carriage return (it's all
auto(image)magick)

The core of the sequence of command is:

[PHP code]
$command = echo \. $text .\ | convert  -channel RGBA -background none
-font  . $fontfile . -fill white -size .$width.x.$height. caption:@-
. $phisicalPathAndFileNameOfTheNewImageFile;

echo exec($command);
[/PHP code]

where the words preceded by $ are variables.

After you run this command you'll find the image file
($phisicalPathAndFileNameOfTheNewImageFile).
In the image, the text is white (I use dark background in PD) and the
background is transparent.

Then you can take it and use in PD.

Hope this helps.
Let me know if you want more details or screenshots - eg: php functions to
fix the input text (addslashes etc...)

ciao, dario
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite test builds

2009-09-17 Thread András Murányi
On Thu, Sep 17, 2009 at 10:27 PM, Max abonneme...@revolwear.com wrote:

 Hans: Is it supposed to use the localisations? because it doesn't.


did you try export LANG=xy ?
it works here

Andras
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite test builds

2009-09-17 Thread Hans-Christoph Steiner


Strange, perhaps a bug in Tcl/Tk 8.5.3.  I've only been using 8.5.6,  
8.5.7, and various 8.4 versions.  Try this from the terminal:


wish pd-gui.tcl

.hc

On Sep 17, 2009, at 11:30 AM, adrian.g wrote:

HI. I have some problem here running the Pd-GUI-Rewrite on Fedora 10  
with Planet CCRMA. PD starts for a moment, I can see the main window  
appearing for a split second and then it quits.

In the Terminal I get this:

priority 98 scheduling enabled.
sh: ../bin/pd-watchdog: No such file or directory
priority 96 scheduling enabled.
---pd- 
gui.tcl---

check_for_running_instances 1 5400
Tcl library: /usr/share/tcl8.5
executable: /usr/bin/wish
tclversion: 8.5
patchlevel: 8.5.3
sharedlibextension: .so
-- pdtk_pd_startup 
version: Pd version 0.43-0hcs0

audio_apis:  {OSS 2} {ALSA 1} {portaudio 4}
midi_apis:  {default-MIDI 2} {ALSA-MIDI 1}
sys_font: Courier
sys_fontweight: normal
pd: watchdog process died
DEFAULT FONT: Liberation Mono
WARNING: Font family 'Courier' not found, using default (Liberation  
Mono)

[r...@xuxu src]# audio OSS
audio ALSA
audio portaudio
midi default-MIDI
midi ALSA-MIDI
pdtk_canvas_getscroll .pdwindow
pdtk_canvas_getscroll .pdwindow
pdtk_canvas_getscroll .pdwindow

Load all plugins in /home/xuxu/pd-gui-rewrite/startup:
 /home/xuxu/pd-gui-rewrite/startup/object_db.tcl
 /home/xuxu/pd-gui-rewrite/startup/set_custom_stored_histories.tcl
 /home/xuxu/pd-gui-rewrite/startup/addmypatchstomedia.tcl
 /home/xuxu/pd-gui-rewrite/startup/file_associations.tcl
 /home/xuxu/pd-gui-rewrite/startup/meters_default_on.tcl
 /home/xuxu/pd-gui-rewrite/startup/insertintopopup.tcl

-- done with main --
set_menu_new_dir .pdwindow

If anybody has an idea of what might be going on, pleas help.


Adrian

 On Fri, 11 Sep 2009 09:25:28 -0700 Jonathan Wilkes jancs...@yahoo.com 
 wrote 



--- On Fri, 9/11/09, Hans-Christoph Steiner h...@at.or.at wrote:


From: Hans-Christoph Steiner h...@at.or.at
Subject: Re: [PD] Pd-GUI-Rewrite test builds
To: Jonathan Wilkes jancs...@yahoo.com
Cc: g...@itchybit.org, PD List pd-list@iem.at
Date: Friday, September 11, 2009, 12:43 AM

On Sep 10, 2009, at 3:59 PM, Jonathan Wilkes wrote:

I think this is unrelated to the fact that carriage

returns aren't

saved with the patch; if you're entering lots of

messages followed by

semicolons, you still need to hit enter to get

to the next line, and

that's where the quirky behavior comes in.

-Jonathan


The carriage returns get stripped when saved to the
file.  It is annoying for sure.


Yes, but what I mean is if this quirky behavior is easily fixable,  
it's
still useful even though carriage returns don't get saved with the  
patch.
Currently, enter is mainly used in a msg box after typing a  
semicolon,

and when the patch gets loaded a cr is added after the semicolon. So
if a new line would be started after the user types enter  
(instead of

after the *next* character is entered) it would look like Pd is doing
the right thing in 90% of the cases where you use a carriage return  
in

a msg box.

Oh, something related to cr's: it's currently difficult to click
the right spot in multi-line comments in pd-ext:

http://sourceforge.net/tracker/?func=detailaid=2812603group_id=55736atid=478070

This isn't a problem in current version of pd-vanilla.

-Jonathan




.hc







___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list






Access to computers should be unlimited and total.  - the hacker ethic



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite test builds

2009-09-17 Thread adrian.g
Ok, I think the problem was that I was trying to run pd as root. When I run it 
as normal user its all fine!! :D 
Thanks!

Adrian 

 On Thu, 17 Sep 2009 14:37:21 -0700 Hans-Christoph Steiner h...@at.or.at 
wrote  

  Strange, perhaps a bug in Tcl/Tk 8.5.3. I've only been using 8.5.6, 
  8.5.7, and various 8.4 versions. Try this from the terminal: 
   
  wish pd-gui.tcl 
   
  .hc 
   
  On Sep 17, 2009, at 11:30 AM, adrian.g wrote: 
   
   HI. I have some problem here running the Pd-GUI-Rewrite on Fedora 10 
   with Planet CCRMA. PD starts for a moment, I can see the main window 
   appearing for a split second and then it quits. 
   In the Terminal I get this: 
   
   priority 98 scheduling enabled. 
   sh: ../bin/pd-watchdog: No such file or directory 
   priority 96 scheduling enabled. 
   ---pd- 
   gui.tcl--- 
   check_for_running_instances 1 5400 
   Tcl library: /usr/share/tcl8.5 
   executable: /usr/bin/wish 
   tclversion: 8.5 
   patchlevel: 8.5.3 
   sharedlibextension: .so 
   -- pdtk_pd_startup  
   version: Pd version 0.43-0hcs0 
   
   audio_apis: {OSS 2} {ALSA 1} {portaudio 4} 
   midi_apis: {default-MIDI 2} {ALSA-MIDI 1} 
   sys_font: Courier 
   sys_fontweight: normal 
   pd: watchdog process died 
   DEFAULT FONT: Liberation Mono 
   WARNING: Font family 'Courier' not found, using default (Liberation 
   Mono) 
   [r...@xuxu src]# audio OSS 
   audio ALSA 
   audio portaudio 
   midi default-MIDI 
   midi ALSA-MIDI 
   pdtk_canvas_getscroll .pdwindow 
   pdtk_canvas_getscroll .pdwindow 
   pdtk_canvas_getscroll .pdwindow 
    
   Load all plugins in /home/xuxu/pd-gui-rewrite/startup: 
   /home/xuxu/pd-gui-rewrite/startup/object_db.tcl 
   /home/xuxu/pd-gui-rewrite/startup/set_custom_stored_histories.tcl 
   /home/xuxu/pd-gui-rewrite/startup/addmypatchstomedia.tcl 
   /home/xuxu/pd-gui-rewrite/startup/file_associations.tcl 
   /home/xuxu/pd-gui-rewrite/startup/meters_default_on.tcl 
   /home/xuxu/pd-gui-rewrite/startup/insertintopopup.tcl 
    
   -- done with main -- 
   set_menu_new_dir .pdwindow 
   
   If anybody has an idea of what might be going on, pleas help. 
   
   
   Adrian 
   
    On Fri, 11 Sep 2009 09:25:28 -0700 Jonathan Wilkes 
   jancs...@yahoo.com 
wrote  
   
   --- On Fri, 9/11/09, Hans-Christoph Steiner h...@at.or.at wrote: 
   
   From: Hans-Christoph Steiner h...@at.or.at 
   Subject: Re: [PD] Pd-GUI-Rewrite test builds 
   To: Jonathan Wilkes jancs...@yahoo.com 
   Cc: g...@itchybit.org, PD List pd-list@iem.at 
   Date: Friday, September 11, 2009, 12:43 AM 
   
   On Sep 10, 2009, at 3:59 PM, Jonathan Wilkes wrote: 
   I think this is unrelated to the fact that carriage 
   returns aren't 
   saved with the patch; if you're entering lots of 
   messages followed by 
   semicolons, you still need to hit enter to get 
   to the next line, and 
   that's where the quirky behavior comes in. 
   
   -Jonathan 
   
   The carriage returns get stripped when saved to the 
   file. It is annoying for sure. 
   
   Yes, but what I mean is if this quirky behavior is easily fixable, 
   it's 
   still useful even though carriage returns don't get saved with the 
   patch. 
   Currently, enter is mainly used in a msg box after typing a 
   semicolon, 
   and when the patch gets loaded a cr is added after the semicolon. So 
   if a new line would be started after the user types enter 
   (instead of 
   after the *next* character is entered) it would look like Pd is doing 
   the right thing in 90% of the cases where you use a carriage return 
   in 
   a msg box. 
   
   Oh, something related to cr's: it's currently difficult to click 
   the right spot in multi-line comments in pd-ext: 
   
   http://sourceforge.net/tracker/?func=detailaid=2812603group_id=55736atid=478070

   
   This isn't a problem in current version of pd-vanilla. 
   
   -Jonathan 
   
   
   
   .hc 
   
   
   
   
   
   
   ___ 
   Pd-list@iem.at mailing list 
   UNSUBSCRIBE and account-management - 
   http://lists.puredata.info/listinfo/pd-list 
   
   
   
   
   
  Access to computers should be unlimited and total. - the hacker ethic
 ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite test builds

2009-09-17 Thread Hans-Christoph Steiner


It is supposed to, but on Mac OS X, the localization stuff is  
confusing and over-complicated.  First off, make sure you have de.msg  
in your .app, it should be here:


Pd-devel.app/Contents/Resources/po/de.msg

If de.msg is there, could you send me the results of these commands:

defaults read com.apple.dock loc
defaults read NSGlobalDomain AppleLocale
defaults read NSGlobalDomain AppleLanguages

Then in the Tcl entry in the Pd window, run this line and tell me what  
it prints:


pdtk_post $::tcl::mac::locale

.hc


On Sep 17, 2009, at 4:27 PM, Max wrote:


Hans: Is it supposed to use the localisations? because it doesn't.

Am 04.09.2009 um 18:45 schrieb Hans-Christoph Steiner:



Ok, so there are now some Mac OS X and Windows test builds for  
people to try.  For GNU/Linux, building from source is still the  
easiest way.


http://puredata.info/dev/PdGuiRewriteTestBuilds

I think its pretty useable on GNU/Linux and Mac OS X.  The Windows  
side needs more work, so I would greatly appreciate feedback and  
contributions from Windows users.


.hc




The arc of history bends towards justice. - Dr. Martin Luther  
King, Jr.




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list








Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.-William Carlos Williams




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Maemo driven devices?

2009-09-17 Thread Hans-Christoph Steiner


I'll inevitably be jumping in on this, mostly likely before November.   
So I created a wiki page for us to keep notes on this whole thing:


http://puredata.info/docs/developer/BuildingPdForAndroid

.hc

On Sep 17, 2009, at 8:41 AM, marius schebella wrote:


awesome! suits and ties here, too. but willing to jump in on this
(android build, not the suits part)...
marius.

2009/9/17 Chris McCormick ch...@mccormick.cx:
On Fri, Sep 11, 2009 at 10:02:41PM -0400, Hans-Christoph Steiner  
wrote:

What I'd like to see is Pd on Android, but I think that could be a
little bit tricky to get into a form that is easily distributable
without rooting the phone.  The G1 already runs Debian, so you could
just install the 'puredata' package once you have Debian on your G1.


I successfully compiled Pd with the Android NDK a few weeks ago,  
and my
colleague wrote an audio driver which calls back into Java space  
via the JNI
and produces sound, but there is a bug somewhere with [vd~],  
[tabread~] and
friends so it's not 100% yet. If this was working it would make it  
possible to

build and distribute Pd for non-rooted Androids.

Unfortunately my hands are tied with regards to releasing the code,  
but I am
pushing hard to make it happen anyway. This what I get for whoring  
my mind to

proprietary companies. :(

If anyone else wants a shot, I can tell you it's actually really  
simple to make
Pd compile with the NDK, you just need to make your own Android.mak  
file with a
list of object files to be built and the right flags set. You can  
get this list
of object files from the Linux generated Makefile. I had to also  
tweak the
source a bit to set a new flag called __ANDROID__ in some places  
and not in
others. If you follow the model of __LINUX__ it's pretty close. Oh  
no, I've
said too much.. the suits are here.. I can hear them knocking..  
going to get my

shotgun.. I may be some time-

Chris.

---
http://mccormick.cx

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list







News is what people want to keep hidden and everything else is  
publicity.  - Bill Moyers




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Thirty-first meeting of the Pd club of Montréal, QC (ADDENDUM)

2009-09-17 Thread Mathieu Bouchard

On Thu, 17 Sep 2009, ydego...@gmail.com wrote:


lui aussi contrôlable par sinus lents, en
  tant qu'exemple d'effet qui se combine bien avec le waveshaping

la mise en forme d'ondes please


Ouais, ou «la formation d'onde» selon le GDT (bizarrement), mais dans un 
cas comme dans l'autre, la traduction française est équivoque et vague... 
mais faut pas s'étonner qu'en traduisant mot-à-mot une expression anglaise 
pas terrible, on obtienne un autre truc pas terrible.


Personnellement, j'aimerais mieux utiliser aucun de ces trois termes, mais 
des fois c'est mieux de parler dans le vocabulaire du milieu dans lequel 
on est.


pourquoi pas «la mise en plis» ? :-}

 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list