Re: [PD] folders for abstractions

2010-01-12 Thread IOhannes m zmoelnig
Hans-Christoph Steiner wrote:
 
 Or even simpler, you can use the folder name as a prefix to the object
 name, then it'll work without changing preferences, i.e.:
 
 myprojectdir/my-project.pd
 myprojectdir/toolbox/nicetool.pd
 
 Then in your my-project.pd patch, you can just type:  toolbox/nicetool
 
though then toolbox is probably a suboptimal name (imagine what
happened if all toolboxes were called toolbox), and you should go for
something more personalized.
i really think that zexy is a nice name, but this one is already taken.


fmarsd
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] Retrieving MIDI Notes out of MIDI Numbers

2010-01-12 Thread Pedro Oliveira
Thank you so much :)

On Tue, Jan 12, 2010 at 12:17 AM, ypatios ypat...@gmail.com wrote:

 hello


 is there an object, or maybe an abstraction, to retrieve a MIDI Note's name
 out of its MIDI Value? For instance, a 60 would retrieve me C4 (roughly
 speaking) and so on? I think that MAX has such object, but maybe I'm missing
 something in Pd's documentation...


 i made something like this once. although i am sure there are enough
 externals doing that..

 alabala

 --
 ypatios




-- 
Pedro Oliveira
www.partidoalto.net
soundcloud.com/iburiedpaul
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Retrieving MIDI Notes out of MIDI Numbers

2010-01-12 Thread Lorenzo



is there an object, or maybe an abstraction, to retrieve a
MIDI Note's name out of its MIDI Value? For instance, a 60
would retrieve me C4 (roughly speaking) and so on? I think
that MAX has such object, but maybe I'm missing something in
Pd's documentation...

I also have a slightly different version have a look if it may be of 
interest.


Bests,
Lorenzo
PS: You'll need zexy for this one, it comes with extended.
#N canvas 370 133 594 544 10;
#X floatatom 46 82 5 0 0 0 - - -;
#X obj 46 126 mod 12;
#X obj 341 152 div 12;
#X obj 341 208 - 1;
#X symbolatom 341 300 10 0 0 0 - - -;
#X obj 341 272 makefilename %i;
#X obj 46 244 packel 0;
#X obj 46 177 t b f;
#X obj 73 331 pack s s;
#X obj 73 415 symbol;
#X msg 73 386 C-1;
#X msg 73 357 set \$1\$2;
#X obj 46 298 t b s;
#X obj 46 149 + 1;
#X msg 46 209 list C C# D D# E F F# G G# A A# B;
#X symbolatom 73 445 10 0 0 0 - - -;
#X text 94 120 C is always \; multiple of 12 \; so the modulo gives
us \; the distance from C;
#X text -46 144 packel counts \; from 1;
#X text 333 102 OCTAVE CALCULATION;
#X text 374 200 midi ocataves \; start at -1;
#X text 442 264 convert the \; float to symbol;
#X text 394 140 octave is made of 12 \; semitones \, so integer \;
division by 12 gives us \; the octave;
#X text 92 79 0 is C-1 in MIDI: (A44 is A4 - 69);
#X obj 46 21 inlet;
#X obj 73 474 outlet;
#X symbolatom 232 275 10 0 0 0 - - -;
#X obj 232 474 outlet;
#X text 73 495 complete note \; and octave;
#X text 227 495 note only;
#X text 389 494 octave only;
#X obj 389 473 outlet;
#X text 129 343 pack the: symbols and: create a unique \; one;
#X connect 0 0 2 0;
#X connect 0 0 1 0;
#X connect 1 0 13 0;
#X connect 2 0 3 0;
#X connect 3 0 5 0;
#X connect 3 0 30 0;
#X connect 4 0 8 1;
#X connect 5 0 4 0;
#X connect 6 0 25 0;
#X connect 6 0 12 0;
#X connect 7 0 14 0;
#X connect 7 1 6 1;
#X connect 8 0 11 0;
#X connect 9 0 15 0;
#X connect 10 0 9 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#X connect 12 1 8 0;
#X connect 13 0 7 0;
#X connect 14 0 6 0;
#X connect 15 0 24 0;
#X connect 23 0 0 0;
#X connect 25 0 26 0;
#N canvas 5 22 448 257 10;
#X obj 137 113 mtonote;
#X floatatom 137 55 5 0 127 0 - - -;
#X msg 229 54 69;
#X msg 192 54 60;
#X floatatom 266 143 5 0 0 0 - - -;
#X symbolatom 156 143 10 0 0 0 - - -;
#X symbolatom 62 143 10 0 0 0 - - -;
#X text 156 161 outlet 2 \; Note name only;
#X text 266 161 outlet 3 \; octave only (float);
#X text 75 54 scroll -;
#X text 73 69 0 ~ 127;
#X text 12 3 mtonote - Convert MIDI note numbers to note name and octave
;
#X text 304 235 Lorenzo Sutton 2009;
#X connect 0 0 6 0;
#X connect 0 1 5 0;
#X connect 0 2 4 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] external to create folders?

2010-01-12 Thread colet . patrice
Selon Hans-Christoph Steiner h...@at.or.at:


 I think mkdir works on Windows too, no?

 .hc


file mkdir works with mingw and cygwin tcl console, but not on pdGuiRewrite
tcl entry


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


[PD] Problems with text2d / text3d

2010-01-12 Thread James Dunn
Hi list,

I currently working on a patch which displays many lines of text
(around 25) which then scroll up the screen (hopefully). My first
issue is that when using text2d, neither [translate] or [translateXYZ]
scroll far enough (+/- 4 is the maximum). So I tried using text3d, and
it crashes pd if I try to use fullscreen. Running from a terminal, I
get this error:

socket receive error: Connection reset by peer (104)
Segmentation fault

I running Ubuntu Karmic and Pd-0.42.5-extended20100111 (which I just
installed, but the problem was there in the previous version). My
graphics card is RV350 Mobility Radeon 9600 M10.

So is there a way to get text2d to scroll further? And how can I get
text3d to work in fullscreen?

thanks,

James

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


Re: [PD] [OT] Sat 30th Jan 2010 - 1 Day Workshop on the Software Usine in Berlin

2010-01-12 Thread y

oh i'm sorry because I also missed the OT-list, my mistake.

i don't use this app, it's just to help some friends who do and try to 
organize some (hopefully) interesting workshops here in berlin (and who 
for some reasons could not get this posted here).


i also think this app is weird but yeah, i heard interesting stuffs out 
of it.
i also saw pd/max users who became curious when they saw somebody else 
using it.


anyway, sorry again but i thought pd users were open-minded enough to 
accept an OT thread about another visual/modular (or whatever you call 
that) audio app workshop (i.e. i never see flaming when somebody 
mentions pd or max on sc-list)


_y


ydego...@gmail.com wrote:


yeh this is definitely off-topic and looser end 

so fucked hey? you got any music from that crap?

y wrote:

Sorry for the OT but it might be of interest to some...

---

Saturday, 30th January 2010, Berlin

1 Day Workshop to the Software Usine taught by Nay-seven

...


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


Re: [PD] Problems with text2d / text3d

2010-01-12 Thread IOhannes m zmoelnig
James Dunn wrote:
 Hi list,
 
 I currently working on a patch which displays many lines of text
 (around 25) which then scroll up the screen (hopefully). My first
 issue is that when using text2d, 

basically: don't use [text2d] if you don't have any specific reasons to
do so. use [text3d] whenever you can.


 neither [translate] or [translateXYZ]
 scroll far enough (+/- 4 is the maximum). 

which is not suprising, since both objects are really the same and only
provide av different interface to the user.

 So I tried using text3d, and
 it crashes pd if I try to use fullscreen. 

never encountered something like this (i have seen and run lot's of
installations with [text3d] in fullscreen)
are you sure it is related to [text3d], and not something else?
does fullscreen work in general?
does it still crash if you replace all the [text3d]s by a dummy
abstraction [textdummy] (inlet-outlet)?

 Running from a terminal, I
 get this error:
 
 socket receive error: Connection reset by peer (104)
 Segmentation fault

could you try to do a backtrace, to see where the carsh happened?

$ gdb --args /pat/to/pd
% run
[...crash]
% bt

 I running Ubuntu Karmic and Pd-0.42.5-extended20100111 (which I just
 installed, but the problem was there in the previous version). My
 graphics card is RV350 Mobility Radeon 9600 M10.

which driver do yo use?

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-gui-rewrite testing

2010-01-12 Thread Rich E
Hello,

I am forwarding this to the tcl-mac list too, as this question is probably
more appropriate there.

On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 On Jan 9, 2010, at 5:37 PM, Rich E wrote:


 Still in OS X 10.6.  I don't have one of these problems with Pd-devel-0.43
 (dec 15) nightly build, so it must all be because of the tk/cocoa version
 that you mention.  I'm not sure how to report it a tcl mailing list, as I
 don't know where the code is that implements these things.

 Does it make sense that the arrow keys are detected differently in
 Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


 Not to me... it should be the same, that's why its worth reporting to
 tcl-mac.  You don't need to know the exact code that's causing the problem.
  I read that list too, so I can fill in the details.  I just don't have
 access to a 10.6 machine these days.

 As for the text color issue in the audio settings, you'll have to point me
 towards what is controlling that.  I'll send you a screenshot after this
 email.


 Check out dialog_audio.tcl.  Its still mostly the original code, so it can
 be scary. ;)

 Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


 If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
 /Library/Frameworks, it should use them over the build in ones.


How do I get the Carbon-specific version (or know that it is not Cocoa)?  I
built and installed Tcl/Tk 8.5.8, but I don't see any Tcl/Tk 8.5.8/Carbon
framework, or any directions on how to build it specifically.

I think it would be best for me to test this before reporting any bugs,
although it seems clear  enough this is where the problem lays for building
Pd (dev branch) from source on Snow Leopard.

- rich



  But that means using the Makefile in packages/darwin_app and running make
 install.  For development, I just rename a nighly build as Pd-devel.app
 then inside the package, remove some guts and symlink it to my
 pd-gui-rewrite/0.43 sources:

 h...@palatschinken.at.or.at:src  ls -l
 /Applications/Pd-devel.app/Contents/Resources/
 total 152
 lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
 -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
 -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
 lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
 dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
 dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
 dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
 -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
 -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
 lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
 dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
 lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup -
 /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/

 .hc


 I'll use the nightly build in the meantime and let you know what comes up.

 -rich

 On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner h...@at.or.atwrote:


 First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6 has
 a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back end
 rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but will
 work on Mac OS X 10.5.  It would be good to flush out these bugs and report
 them to the tcl-mac list so that they can get fixed.

 One thing to try is using one of the nightly builds, which include Tcl/Tk
 8.5.7/Carbon.  I think they should work on 10.6:
 http://autobuild.puredata.info/auto-build/latest/

  On Nov 16, 2009, at 1:55 PM, Rich E wrote:

  Hi List, Hans,

 I've been using the pd-gui-rewrite-0.43 svn for a couple days now and
 here are some notes I've taken when finding various bugs (is the better sent
 to the pd-dev list?):

 • In Audio Settings, the text in the drop down menus is hardly visible
 because it is very light grey


 Never seen that, screenshot?


  • there is a new menu item called 'apple' with about pd and
 preferences


 Known issue with the Tk/Cocoa, haven't found a workaround yet.


  • editing an object name:
 ‣ moving with arrows adds a space to the end, but does not move within
 the object name


 Hmm, can't reproduce, Tk/Cocoa issue?


  • opening about pd gives an error:
 ‣ Error: can't read pd_myversion: no such variable
 ‣ an't read pd_myversion: no such variable
 can't read pd_myversion: no such variable
while executing
 regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3
(procedure ::pd_menucommands::menu_opentext line 15)
invoked from within
 ::pd_menucommands::menu_opentext $dirname/$basename
(.txt arm line 1)
invoked from within
 switch -- [string tolower [file extension $basename]] {
.txt{::pd_menucommands::menu_opentext $dirname/$basename
} .c{::...

[PD] non-jittery network connection

2010-01-12 Thread Roman Haefeli
Hi all

There was some discussion recently on #dataflow about how to transport MIDI
over a network.  One main concern was that a network connection introduces
jitter and thus makes the result 'non-musical'.
As a solution to this issue,I made two little abstractions, basically
wrappers around [netsend] and [netreceive]. On the sender side messages are
time-tagged, so that on the receiving  side they can be 'played back' while
keeping the timing between messages intact. Of course, this comes with cost
of a (settable) delay.

Thought it might be useful for others:
http://www.romanhaefeli.net/software/pd/sched.netsendreceive.tar.gz

Roman  




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

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


Re: [PD] Problems with text2d / text3d

2010-01-12 Thread James Dunn

Quoth IOhannes m zmoelnig, on 12/01/10 13:12:

So I tried using text3d, and
it crashes pd if I try to use fullscreen. 



never encountered something like this (i have seen and run lot's of
installations with [text3d] in fullscreen)
are you sure it is related to [text3d], and not something else?
does fullscreen work in general?
does it still crash if you replace all the [text3d]s by a dummy
abstraction [textdummy] (inlet-outlet)?
  


Well [text2d] used to work in fullscreen, as well as [pix_image] - 
[pix_texture] - [rectangle]...



I running Ubuntu Karmic and Pd-0.42.5-extended20100111 (which I just
installed, but the problem was there in the previous version). My
graphics card is RV350 Mobility Radeon 9600 M10.



which driver do yo use?
  
I think the driver is the problem - after some googling I tried an ATI 
driver which really messed things up (no x server!). So I removed it and 
now it's broken all of Gem! I guess this is a xorg / xserver issue so 
not for this list perhaps, but if anyone can help, please let me know!!


James

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


Re: [PD] Problems with text2d / text3d

2010-01-12 Thread IOhannes m zmoelnig
James Dunn wrote:
 Quoth IOhannes m zmoelnig, on 12/01/10 13:12:
 So I tried using text3d, and
 it crashes pd if I try to use fullscreen. 

 never encountered something like this (i have seen and run lot's of
 installations with [text3d] in fullscreen)
 are you sure it is related to [text3d], and not something else?
 does fullscreen work in general?
 does it still crash if you replace all the [text3d]s by a dummy
 abstraction [textdummy] (inlet-outlet)?
   
 
 Well [text2d] used to work in fullscreen, as well as [pix_image] -
 [pix_texture] - [rectangle]...


i haven't found anything yet that works in windowed mode but not in
fullscreen.

an alternative would be to not switch to fullscreen but rather do
[border 0, dimen 1024 768, offset 0 0(

 
 I running Ubuntu Karmic and Pd-0.42.5-extended20100111 (which I just
 installed, but the problem was there in the previous version). My
 graphics card is RV350 Mobility Radeon 9600 M10.
 

 which driver do yo use?
   
 I think the driver is the problem - after some googling I tried an ATI
 driver which really messed things up (no x server!). So I removed it and
 now it's broken all of Gem! I guess this is a xorg / xserver issue so
 not for this list perhaps, but if anyone can help, please let me know!!

i really hate ATI cards (esp. since i'm just trying to get a friends
all-in-wonder running via a remote connection)

fmadsr
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] [OT] Sat 30th Jan 2010 - 1 Day Workshop on the Software Usine in Berlin

2010-01-12 Thread ydego...@gmail.com

y wrote:

oh i'm sorry because I also missed the OT-list, my mistake.

i don't use this app, it's just to help some friends who do and try to 
organize some (hopefully) interesting workshops here in berlin (and 
who for some reasons could not get this posted here).


i also think this app is weird but yeah, i heard interesting stuffs 
out of it.
i also saw pd/max users who became curious when they saw somebody else 
using it.


anyway, sorry again but i thought pd users were open-minded enough to 
accept an OT thread about another visual/modular (or whatever you call 
that) audio app workshop (i.e. i never see flaming when somebody 
mentions pd or max on sc-list)



because they all respect the open source rules ...

what you sent is a bit of commercial propoganda ..
and another problem is that you cannot even try that marvellous software,
special offer, 70 $ and i guess it only runs on windows
( so i have to buy windows too )

i would never have said this of sc of course ...

ciao,
sevy

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


Re: [PD] Pd-GUI-Rewrite 0.43 status: usable

2010-01-12 Thread João Pais
just downloaded the latest build for xp. as soon as I click on the pd  
window, this appears:



can't set ::editmode(.pdwindow): invalid command name .pdwindow.c
invalid command name .pdwindow.c
while executing
$mycanvas configure -background white
(procedure set_cords_by_editmode line 16)
invoked from within
set_cords_by_editmode ::editmode .pdwindow write
(write trace on ::editmode(.pdwindow))
invoked from within
set ::editmode($mytoplevel) $state
(procedure pdtk_canvas_editmode line 3)
invoked from within
pdtk_canvas_editmode .pdwindow 0
(procedure ::pd_menus::configure_for_pdwindow line 13)
invoked from within
::pd_menus::configure_for_pdwindow 
(procedure ::pd_bindings::window_focusin line 9)
invoked from within
::pd_bindings::window_focusin .pdwindow
(command bound to event)


and that's it, not possible even to go to the pd window. pd has to be  
force shut.


João




There has been lots of work on the 0.43 Pd GUI Rewrite, and it should be  
quite useable now.  Please try it for any daily patching and report any  
issues that you might have so that they can be fixed.  There is a bunch  
of fun new stuff possible with plugins, like you can bind to any key,  
for example make O give you an [osc~] and P give you a [pack] while  
Ctrl-O and Ctrl-P keep their original meanings.


For a more complete ChangeLog and links to nightly builds, see:
http://puredata.info/dev/PdGuiRewrite

Also, here's the beginning of some docs on how to write GUI plugins.   
Please add anything you know of, and ask questions so we can get more  
stuff documented:


http://puredata.info/docs/PdGuiPluginsAPI

.hc



Programs should be written for people to read, and only incidentally for  
machines to execute.

  - from Structure and Interpretation of Computer Programs


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



--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jm...@gmx.net | skype: jmmmpjmmmp

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


Re: [PD] Pd-GUI-Rewrite 0.43 status: usable

2010-01-12 Thread IOhannes m zmoelnig
João Pais wrote:
 just downloaded the latest build for xp. as soon as I click on the pd
 window, this appears:
 
 
 can't set ::editmode(.pdwindow): invalid command name .pdwindow.c
 invalid command name .pdwindow.c
 while executing
 $mycanvas configure -background white
 (procedure set_cords_by_editmode line 16)
 invoked from within
 set_cords_by_editmode ::editmode .pdwindow write
 (write trace on ::editmode(.pdwindow))
 invoked from within
 set ::editmode($mytoplevel) $state
 (procedure pdtk_canvas_editmode line 3)
 invoked from within
 pdtk_canvas_editmode .pdwindow 0
 (procedure ::pd_menus::configure_for_pdwindow line 13)
 invoked from within
 ::pd_menus::configure_for_pdwindow 
 (procedure ::pd_bindings::window_focusin line 9)
 invoked from within
 ::pd_bindings::window_focusin .pdwindow
 (command bound to event)


try deleting all the startup-plugins in the startup/; i think one of
them is buggy.

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


[PD] PDuino problems

2010-01-12 Thread Andrew Faraday

Hey All
I've just downloaded the pduino object class on macOS 10.4 and everything seems 
to be in order in PD. I've also got my arduino board working fine in it's own 
right and the correct serial port opened from the [arduino] help page. However 
the only degree of direct control I appear to have is with the receive light on 
the board itself. Otherwise I appear to have no transfer to the pins or data 
going back to PD. 
Am I missing something here?
Thanks
Andrew
_
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd-GUI-Rewrite 0.43 status: usable

2010-01-12 Thread João Pais

try deleting all the startup-plugins in the startup/; i think one of
them is buggy.


sorry, where is that? I'm not following the discussion, in case that was  
explained somewhere.


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


Re: [PD] [OT] Sat 30th Jan 2010 - 1 Day Workshop on the Software Usine in Berlin

2010-01-12 Thread João Pais
anyway, sorry again but i thought pd users were open-minded enough to  
accept an OT thread about another visual/modular (or whatever you call  
that) audio app workshop (i.e. i never see flaming when somebody  
mentions pd or max on sc-list)


don't worry, some of them (I would say most of them) are. I myself don't  
mind seeing adds for workshops.


João

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


Re: [PD] external to create folders?

2010-01-12 Thread Matteo Sisti Sette

 using [operating_system] and [popen] you can do it... (see pd patch)

 best wishes,
 jos?

 PS: have not tested on a windows box, but I believe it will work..  :)

Great thanks, this is a really interesting solution, but unfortunately I 
have to discard it because of the popping shell window :(

Or is it possible to avoid it?


--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


Re: [PD] Pd-GUI-Rewrite 0.43 status: usable

2010-01-12 Thread Hans-Christoph Steiner


On Jan 12, 2010, at 1:52 PM, João Pais wrote:

try deleting all the startup-plugins in the startup/; i think one  
of

them is buggy.


sorry, where is that? I'm not following the discussion, in case that  
was explained somewhere.



path/to/pd/startup, or you might have installed a plugin in previous  
attempts.  The plugin files are called *-plugin.tcl and they can be  
loaded from anywhere in your Pd path (i.e. set in the preferences, - 
path on the command line, etc.)


.hc




Using ReBirth is like trying to play an 808 with a long stick.- 
David Zicarelli




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


Re: [PD] compiling pd vanilla problems on OS X 10.6 Snow Leopard-- EXTRAS

2010-01-12 Thread zack
I checked out and compiled the pd vanilla 0.43  below:

Last Changed Rev: 12962
Last Changed Date: 2010-01-11 18:23:55 -0500 (Mon, 11 Jan 2010)


While pd compiled and ran fine,  I was not able to compile/link/run the 
extras, such as expr etc..

Has anyone had success with the externs in extras  ??

thanks

Zack


--
my lame attempt:  


I commented out  the OPT_CFLAGS which reduced the compilation errors, but 
I wasn't able to get the extras to link properly and run.  I tried the  CFLAG 
-m32 and -m64, but with no success.



For example,  with expr~  

I tried:

cc -DPD -I../src -Wall -W -g -fPIC -arch i386  -mmacosx-version-min=10.4 -m64 
-isysroot /Developer/SDKs/MacOSX10.6.sdk   -o expr~/vexp_fun.o -c 
expr~/vexp_fun.c

and:

cc  -bundle -undefined dynamic_lookup -arch i386  -mmacosx-version-min=10.4 -o 
expr~/expr~.pd_darwin expr~/vexp.o expr~/vexp_fun.o expr~/vexp_if.o  -lc 
ld: warning: in expr~/vexp.o, file is not of required architecture


and it fails in runtime with:

/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin: 
dlopen(/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin, 10): no suitable image 
found.  Did find:
/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin: mach-o, but wrong 
architecture


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


Re: [PD] Pd-GUI-Rewrite 0.43 status: usable

2010-01-12 Thread João Pais

try deleting all the startup-plugins in the startup/; i think one of
them is buggy.


sorry, where is that? I'm not following the discussion, in case that  
was explained somewhere.



path/to/pd/startup, or you might have installed a plugin in previous  
attempts.  The plugin files are called *-plugin.tcl and they can be  
loaded from anywhere in your Pd path (i.e. set in the preferences, -path  
on the command line, etc.)


something funny here. I don't see that file/folder(?). also, there aren't  
any *-plugin.tcl files in my pd-ext. I also never installed any tcl  
plugins.


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


[PD] [OT] CMJ articles--greatest hits?

2010-01-12 Thread Derek Holzer

Howdy all,

I've been working at the KHM in Cologne once a month, and dipping into 
their fantastic library. They seem to have a full archive of the 
Country--err, ummm I mean Computer Music Journal on the shelves. I 
already checked out the Dan Slater article on chaotic synthesis, and I'm 
wondering if anyone here has some other greatest hits they'd be 
interested in sharing from this journal.


My areas of interest would be stochastic/aleotoric composition, tendency 
masks, granular synthesis, chaotic synthesis, anything to do with analog 
synthesizers and interesting visualization techniques (digital or 
analog...such as the phase space visualizations, for example).


Ditto for Leonardo Journal, although I haven't checked to see what they 
have for this one. Recommendations of other music, sound or science+art 
journals to look over also welcome.


Best from Cologne!
Derek

--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 9:
Adding on

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


Re: [PD] Pd-GUI-Rewrite 0.43 status: usable

2010-01-12 Thread Hans-Christoph Steiner


On Jan 12, 2010, at 2:20 PM, João Pais wrote:

try deleting all the startup-plugins in the startup/; i think  
one of

them is buggy.


sorry, where is that? I'm not following the discussion, in case  
that was explained somewhere.



path/to/pd/startup, or you might have installed a plugin in  
previous attempts.  The plugin files are called *-plugin.tcl and  
they can be loaded from anywhere in your Pd path (i.e. set in the  
preferences, -path on the command line, etc.)


something funny here. I don't see that file/folder(?). also, there  
aren't any *-plugin.tcl files in my pd-ext. I also never installed  
any tcl plugins.



I am guessing you have an old version of editmode_look-plugin.tcl or  
hide_cords-plugin.tcl in your pd/startup folder, or maybe /Program  
Files/Common Files/Pd.


.hc




Information wants to be free.-Stewart Brand



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


[PD] pyext always crashes

2010-01-12 Thread Matteo Sisti Sette

Hi,

I got the windows binary of py/pyext for Windows from here: 
http://g.org/ext/beta/windows/pd/


I get the following on the console:


py/pyext 0.2.1pre - python script objects
(C)2002-2008 Thomas Grill - http://g.org/ext

using Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 
bit (Intel)]

ImportError: No module named numpy.core.multiarray


I don't know if the error message that appears there is the cause, but 
whenever I try to create an object like:


[pyext scriptname classname]

with any of the example scripts, pd crashes.

If I use a nonexistent script name it fails to create the object, it 
only crashes when the .py script is actually there, so it seems it does 
find the files.


Can it be because of the ImportError? If so how can I fix that?

The scripts have unix-like newline characters, I thought that could be 
the problem, but even after converting them to dos/windows-like 
newlines, it still crashes.


Indeed, if I create a totally empty .py file (not a trivial dummy one, I 
mean an empty file), named emptyfile.py and I try creating:


[pyext emptyfile anything]

it crashes.

Any idea?

thanks
m.



--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


Re: [PD] pyext always crashes

2010-01-12 Thread patrick

maybe it's because of numpy...
install it: http://www.scipy.org/Installing_SciPy/Windows

pat


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


Re: [PD] PDuino problems

2010-01-12 Thread Andrew Faraday

It was the firmata I was missing. Digital outputs're working fine. Only trouble 
is I can't get digital inputs. Also need to get some hardware for the analog 
stuffage, so far untested. Any ideas?

 Date: Tue, 12 Jan 2010 14:48:02 -0600
 Subject: Re: [PD] PDuino problems
 From: gregp...@gmail.com
 To: jbtur...@hotmail.com
 
 3 things it might be:
 
 1.
 did you install the ftdi drivers?
 http://www.ftdichip.com/Drivers/VCP.htm
 probably if you have the right serial port
 
 2.
 did you upload firmata to the board first?
 
 3. from the arduino site:
 Why doesn't the Arduino software run after I updated the Java on my Mac?
 
 The latest Java update from Apple attempts to use 64-bit version of
 native libraries, but the Arduino application comes with a 32 bit
 version of the RXTX library. If you launch Arduino, you'll get an
 error like:
 
 Uncaught exception in main method: java.lang.UnsatisfiedLinkError:
 /Applications/arduino-0016/Arduino
 16.app/Contents/Resources/Java/librxtxSerial.jnilib: no suitable image
 found. Did find: /Applications/arduino-0016/Arduino
 16.app/Contents/Resources/Java/librxtxSerial.jnilib: no matching
 architecture in universal wrapper
 
 To fix this, click on the Arduino application (e.g. Arduino 16.app) in
 the Finder, and select Get Info from the File menu. In the info panel,
 click the Open in 32 Bit Mode checkbox. You should then be able to
 launch Arduino normally.
 
 
 
 On Tue, Jan 12, 2010 at 12:13 PM, Andrew Faraday jbtur...@hotmail.com wrote:
  Hey All
  I've just downloaded the pduino object class on macOS 10.4 and everything
  seems to be in order in PD. I've also got my arduino board working fine in
  it's own right and the correct serial port opened from the [arduino] help
  page. However the only degree of direct control I appear to have is with the
  receive light on the board itself. Otherwise I appear to have no transfer to
  the pins or data going back to PD.
  Am I missing something here?
  Thanks
  Andrew
  
  We want to hear all your funny, exciting and crazy Hotmail stories. Tell us
  now
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 
 
  
_
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pyext always crashes

2010-01-12 Thread Matteo Sisti Sette

patrick escribió:

maybe it's because of numpy...
install it: http://www.scipy.org/Installing_SciPy/Windows



The ImportError message disappeared, but pyext still crashes.

Is there anybody using [pyext] on Windows Vista successfully?


--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


Re: [PD] pd-gui-rewrite testing

2010-01-12 Thread Hans-Christoph Steiner


So based on what they said in tcl-mac, we just need to test for  
'AppKit' and only do the $mymenu.apple stuff if using Tk Carbon (i.e.  
no AppKit in [winfo server .] ).  I added two new functions for  
dealing with the special Apple menus:


http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revrevision=12970


.hc

On Jan 12, 2010, at 8:44 AM, Rich E wrote:


Hello,

I am forwarding this to the tcl-mac list too, as this question is  
probably more appropriate there.


On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner h...@at.or.at 
 wrote:


On Jan 9, 2010, at 5:37 PM, Rich E wrote:



Still in OS X 10.6.  I don't have one of these problems with Pd- 
devel-0.43 (dec 15) nightly build, so it must all be because of the  
tk/cocoa version that you mention.  I'm not sure how to report it a  
tcl mailing list, as I don't know where the code is that implements  
these things.


Does it make sense that the arrow keys are detected differently in  
Tk/Cocoa, so they are just sent to pd's gui C code as spaces?


Not to me... it should be the same, that's why its worth reporting  
to tcl-mac.  You don't need to know the exact code that's causing  
the problem.  I read that list too, so I can fill in the details.  I  
just don't have access to a 10.6 machine these days.


As for the text color issue in the audio settings, you'll have to  
point me towards what is controlling that.  I'll send you a  
screenshot after this email.


Check out dialog_audio.tcl.  Its still mostly the original code, so  
it can be scary. ;)



Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?


If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into /Library/ 
Frameworks, it should use them over the build in ones.


How do I get the Carbon-specific version (or know that it is not  
Cocoa)?  I built and installed Tcl/Tk 8.5.8, but I don't see any Tcl/ 
Tk 8.5.8/Carbon framework, or any directions on how to build it  
specifically.


I think it would be best for me to test this before reporting any  
bugs, although it seems clear  enough this is where the problem lays  
for building Pd (dev branch) from source on Snow Leopard.


- rich


 But that means using the Makefile in packages/darwin_app and  
running make install.  For development, I just rename a nighly  
build as Pd-devel.app then inside the package, remove some guts  
and symlink it to my pd-gui-rewrite/0.43 sources:


h...@palatschinken.at.or.at:src  ls -l /Applications/Pd-devel.app/ 
Contents/Resources/

total 152
lrwxr-xr-x   1 hans staff 3 2010-01-05 14:27 Scripts - bin/
-r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
-r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
lrwxr-xr-x   1 root staff59 2010-01-05 14:32 bin - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/src/

dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
-r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
-r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
lrwxr-xr-x   1 root staff58 2010-01-05 14:31 po - /Users/hans/ 
code/pure-data/branches/pd-gui-rewrite/0.43/po/

dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
lrwxr-xr-x   1 root staff63 2010-01-05 14:31 startup - /Users/ 
hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/


.hc


I'll use the nightly build in the meantime and let you know what  
comes up.


-rich

On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner  
h...@at.or.at wrote:


First off, which platform?  Is this still Mac OS X 10.6?  If so,  
10.6 has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa  
for the back end rather than Carbon.  Tcl/Tk 8.6 will only use this  
Cocoa backend, but will work on Mac OS X 10.5.  It would be good to  
flush out these bugs and report them to the tcl-mac list so that  
they can get fixed.


One thing to try is using one of the nightly builds, which include  
Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:

http://autobuild.puredata.info/auto-build/latest/

On Nov 16, 2009, at 1:55 PM, Rich E wrote:

Hi List, Hans,

I've been using the pd-gui-rewrite-0.43 svn for a couple days now  
and here are some notes I've taken when finding various bugs (is  
the better sent to the pd-dev list?):


• In Audio Settings, the text in the drop down menus is hardly  
visible because it is very light grey


Never seen that, screenshot?


• there is a new menu item called 'apple' with about pd and  
preferences


Known issue with the Tk/Cocoa, haven't found a workaround yet.


• editing an object name:
‣ moving with arrows adds a space to the end, but does not move  
within the object name


Hmm, can't reproduce, Tk/Cocoa issue?


• opening about pd gives an error:
‣ Error: can't read pd_myversion: no such variable
‣ an't read pd_myversion: no such variable
can't read pd_myversion: no such variable
   while executing

[PD] (0.43) new Window menu with tree view

2010-01-12 Thread Hans-Christoph Steiner


Ok, this kicked my butt a little bit, but I got it working.  Now, the  
Window menu shows all windows, whether they are from a parent or child  
window, or a supatch.  Even better, it shows them in tree-ish way so  
you can see how they are related.  The child windows are intended and  
inserted after their parents.  GIve it a try and let me know if it  
works for you.


http://puredata.info/dev/PdGuiRewrite

.hc



All information should be free.  - the hacker ethic





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


Re: [PD] (0.43) new Window menu with tree view

2010-01-12 Thread Roman Haefeli
On Tue, 2010-01-12 at 17:35 -0500, Hans-Christoph Steiner wrote:
 Ok, this kicked my butt a little bit, but I got it working.  Now, the  
 Window menu shows all windows, whether they are from a parent or child  
 window, or a supatch.  Even better, it shows them in tree-ish way so  
 you can see how they are related.  The child windows are intended and  
 inserted after their parents.  GIve it a try and let me know if it  
 works for you.
 
 http://puredata.info/dev/PdGuiRewrite
 

I haven't tested myself yet, but wow, it sounds great! Will definitely
give it a shot.

Roman



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


Re: [PD] Pd-GUI-Rewrite 0.43 status: usable

2010-01-12 Thread Hans-Christoph Steiner


Ok, a friend just built a fresh Karmic system, and it had the same  
problem.  WTF, why can't autotools/gcc find libm on Ubuntu Karmic?   
Anyway, I think I found a workaround, I committed it, so please try  
again :-)


.hc

On Jan 10, 2010, at 6:48 PM, Hans-Christoph Steiner wrote:



On your one machine while working on the other...  if anyone else  
can reproduce this build error, I'll gladly take a look again.  :-)  
But I cannot reproduce it.


.hc

On Jan 10, 2010, at 5:13 PM, cyrille henry wrote:


not compiling...
c


Hans-Christoph Steiner a écrit :
There has been lots of work on the 0.43 Pd GUI Rewrite, and it  
should be quite useable now.  Please try it for any daily patching  
and report any issues that you might have so that they can be  
fixed.  There is a bunch of fun new stuff possible with plugins,  
like you can bind to any key, for example make O give you an  
[osc~] and P give you a [pack] while Ctrl-O and Ctrl-P keep  
their original meanings.

For a more complete ChangeLog and links to nightly builds, see:
http://puredata.info/dev/PdGuiRewrite
Also, here's the beginning of some docs on how to write GUI  
plugins.  Please add anything you know of, and ask questions so we  
can get more stuff documented:

http://puredata.info/docs/PdGuiPluginsAPI
.hc
 Programs 
 should be written for people to read, and only incidentally for  
machines to execute.

- from Structure and Interpretation of Computer Programs
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list






Mistrust authority - promote decentralization.  - the hacker ethic








  http://at.or.at/hans/



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