Re: [PD] Gem as GUI

2009-05-09 Thread Roman Haefeli
On Fri, 2009-05-08 at 21:21 -0300, glerm soares wrote:
 Is there any project of abstractions that uses Gem as Graphic User
 Interface seriously?
 
 I mean: Create other design of tables, envelopes, data representation,
 even other design of buttons, leds, sliders and knobs that could be
 manipulated in realtime
 
 A library of Gem objects for that could worth? Or it would be too much
 cpu expensive for DSP audio ?

I guess, it would be even much faster to display constantly updating
arrays or other GUIs in Gem.

 I'm curious about it...
 
 Do we have some examples?

Checkout the pdmtl abstraction library. it ships with a Gem GUI
framework.

roman




___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


Re: [PD] Gem as GUI

2009-05-09 Thread Kyle Klipowicz
Where is this in the library? I can't seem to find any GUI's listed under
the gems category.
~Kyle

On Sat, May 9, 2009 at 1:39 AM, Roman Haefeli reduzie...@yahoo.de wrote:

 On Fri, 2009-05-08 at 21:21 -0300, glerm soares wrote:
  Is there any project of abstractions that uses Gem as Graphic User
  Interface seriously?
 
  I mean: Create other design of tables, envelopes, data representation,
  even other design of buttons, leds, sliders and knobs that could be
  manipulated in realtime
 
  A library of Gem objects for that could worth? Or it would be too much
  cpu expensive for DSP audio ?

 I guess, it would be even much faster to display constantly updating
 arrays or other GUIs in Gem.

  I'm curious about it...
 
  Do we have some examples?

 Checkout the pdmtl abstraction library. it ships with a Gem GUI
 framework.

 roman




 ___
 Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
 http://mail.yahoo.de



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




-- 
-

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


[PD] pdmtl seq_8 sequencer with save preset feature

2009-05-09 Thread glerm soares
Hiya,

I found this modification I made some months ago in the seq_8 matrix
sequencer of pdmtl lib. I think it could be useful for more pdmtl users...

It uses [txtfile]  to save presets in a text file with .mtx into your
local folder.

Maybe it could be improved, but already works...

Suggestions welcome...


salut

glerm


seq8_rec.pd
Description: Binary data


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


Re: [PD] PD] microbs/virus/fluids and such visuals

2009-05-09 Thread ydego...@gmail.com

ola,

the closest i got to something like viruses
is playing around with pdp_opencv
and the distance algorithm :

http://ydegoyon.free.fr/mics.ogg

patch is attached and it's a pure pdp/3dp solution,
don't ask a version for windows.

saludos,
sevy

ps : fluids is another problem...

ydego...@gmail.com wrote:

hey oskar,

that medicine ain't enough,
or has it ever been?

lumafilt' don't remember that
but i can check,
it think still it's nothing close to life !!

kuss
sevy



#N canvas 362 116 670 709 10;
#X obj 101 158 pdp_xv;
#X floatatom 276 106 5 0 0 0 - - -;
#X obj 101 99 pdp_opencv_distrans;
#X text 315 107 edge threshold;
#X msg 253 23 type 3;
#X msg 263 43 type 5;
#X msg 273 62 type 0;
#X msg 251 -2 voronoi \$1;
#X obj 342 -2 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 361 -2 switch Voronoi diagram mode on/off;
#X text 310 24 use 3x3 mask;
#X text 320 43 use 5x5 mask;
#X text 326 62 use precise distance transform;
#X obj 241 -96 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X msg 106 -67 loop \$1;
#X obj 107 -89 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1
1;
#X msg 137 -98 open \$1;
#X obj 136 -122 openpanel;
#X obj 121 -139 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144
-1 -1;
#X msg 200 -97 stop;
#X obj 118 -33 pdp_yqt;
#X obj 202 -67 metro 400;
#X obj 310 -75 pdp_v4l2;
#X obj 313 -106 metro 40;
#X obj 321 -138 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
0 1;
#X obj 318 189 3dp_windowcontext;
#X obj 318 164 metro 40;
#X obj 318 144 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 321 339 3dp_view transy 1;
#X floatatom 425 314 5 0 0 0 - - -;
#X floatatom 435 368 5 0 0 0 - - -;
#X obj 320 256 3dp_mouserotate;
#X obj 37 236 pdp_convert texture/*/*;
#X obj 278 540 pdp_rec~;
#X msg 359 448 open /tmp/mics.mov;
#X msg 359 472 start;
#X msg 358 499 stop;
#X floatatom 342 543 5 0 0 0 - - -;
#X obj 143 533 pdp_xv;
#X obj 371 397 loadbang;
#X msg 319 418 autosnap 1;
#X obj 205 444 3dp_snap image/YCrCb/*;
#X obj 227 386 3dp_draw sphere 4;
#X msg 317 86 7;
#X obj 363 86 loadbang;
#X connect 1 0 2 1;
#X connect 2 0 0 0;
#X connect 2 0 32 0;
#X connect 4 0 2 0;
#X connect 5 0 2 0;
#X connect 6 0 2 0;
#X connect 7 0 2 0;
#X connect 8 0 7 0;
#X connect 13 0 21 0;
#X connect 14 0 20 0;
#X connect 15 0 14 0;
#X connect 16 0 20 0;
#X connect 17 0 16 0;
#X connect 18 0 17 0;
#X connect 19 0 21 0;
#X connect 20 0 2 0;
#X connect 21 0 20 0;
#X connect 22 0 2 0;
#X connect 23 0 22 0;
#X connect 24 0 23 0;
#X connect 25 0 31 0;
#X connect 25 1 31 1;
#X connect 26 0 25 0;
#X connect 27 0 26 0;
#X connect 28 0 42 0;
#X connect 29 0 28 1;
#X connect 30 0 42 2;
#X connect 31 0 28 0;
#X connect 32 0 42 1;
#X connect 33 0 37 0;
#X connect 34 0 33 0;
#X connect 35 0 33 0;
#X connect 36 0 33 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 1 33 0;
#X connect 41 1 38 0;
#X connect 42 0 41 0;
#X connect 43 0 1 0;
#X connect 44 0 43 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem as GUI

2009-05-09 Thread Peter Plessas
See my humble little effort in making a VU meter in Gem, as i was trying 
to avoid the CPU strain of 24 VU meters in Tcl/Tk.


http://plessas.mur.at/

cheers, Peter

glerm soares wrote:

Is there any project of abstractions that uses Gem as Graphic User Interface
seriously?

I mean: Create other design of tables, envelopes, data representation, even
other design of buttons, leds, sliders and knobs that could be manipulated
in realtime

A library of Gem objects for that could worth? Or it would be too much cpu
expensive for DSP audio ?

I'm curious about it...

Do we have some examples?

thanx

glerm





___
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] preventing comport freezes

2009-05-09 Thread Martin Peach

Roman Haefeli wrote:

thanks for the info.

On Fri, 2009-05-08 at 19:27 +, martin.pe...@sympatico.ca wrote:

just out of curiosity: if there is a solution, that works well for
[tcpserver], couldn't it be applied also to [comport]?


Maybe. But I think you should be able to use [comport] with no
hardware handshaking enabled and send data even if no cable is
attached. Sometimes the absence of one of the two input handshake
signals prevents the serial hardware from sending. Also if an error
occurred in the reception of serial data it may not be handled
properly in [comport]. So I'm not sure what is causing this particular
crash, since HC said that it happened when the remote device was
disconnected but gave no further detail.


iirc, on linux at least, [comport] makes pd hang, _whenever_ the other
end disappears. i.e.:

- pulling out the usb-cable, while the arduino is connected
- turning off an rfcomm device




This looks like something related to the usb interface. I think pulling 
out an RS-232 cable has no effect, as the serial driver can only be 
closed by [comport]. With a usb adapter the usb driver can close the port.
I suspect that the comport_tick routine, which is called periodically to 
check for received characters, tries to access the serial port after the 
usb driver has closed it.

The non-Windows code in comport_tick looks like this:

unsigned char   serial_byte;
fd_set  com_rfds;
int count = 0;

FD_ZERO(com_rfds);
FD_SET(fd,com_rfds);

while((err=select(fd+1,com_rfds,NULL,NULL,null_tv))  0)
{
err = read(fd,(char *) serial_byte,1);
outlet_float(x-x_data_outlet, (t_float) serial_byte);
++count;
}

As you can see the select call only checks for the presence of received 
characters with com_rfds, and doesn't check the write or exception 
status. I suppose the select call should also check the exception 
fd_set, as the usb driver has no other way of informing [comport] that 
it has closed the port, it should have flagged it there.
(Although if the fd itself is no longer valid I don't know what to 
do...using non-existent file descriptors is a good way to crash Pd)


ATM I only have 'legacy' RS-232 ports on my hardware so I can't test it, 
but I can change the code.


Martin


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


[PD] pix_record issues with geos and frames per second

2009-05-09 Thread Derrick Barnicoat
Hello,
I am very much a newbie to PD/GEM and I just recently created my first video 
mixer/processer. I am using pix_mix to mix a video of an improvised performance 
I did with a dancer mixed with itself. I stretched each video over a cube geo. 
It is 2 chanels. One chanel is an uneffected version of the video. The other 
video has pix_rtx, pix_lumaoffset, pix_contrast, colorRGB with alpha, and 
pix_rgb2hsv as filters. Each cube has sliders assigned to control translation, 
rotation, and scale in unison. There are also three metro objects that control 
several inputs of the filters. 

Everything works fine as far as live performance but I want to record the 
performance as a video file so I can send a version of it to the dancer and 
perhaps share it via youtube or another video sharing site. I have made various 
attempts using pix_record and pix_snap objects but the results have been 
disappointing in various ways.

The first attempts resulted in a .mov file but at the wrong fps and thus to 
slow to match the audio track. As I understand it pix_record only outputs 20fps 
files but I have a dialog that offers other options. The problem is the dialog 
closes the gemwin everytime I try to use it and the dialog seems to be set to 
12fps. So I tried importing 12fps and 20fps versions of the same video. 

This was before I added the pix_snap object which I added to resolve another 
issue. The other issue is that the cube geos are not included in the recording. 
All the effects are present but no cubes, only the video without texturing to 
the geos. I researched various techniques to record the geos as well and the 
best option seemed to be to use pix_snap. 

Pix_snap resulted in a single frame video with no geos. 

I guess my question is basicly how do I record a Gem video with all elements 
included and at the correct fps? Is there another way besides pix_record? Is 
pix_write the other way? If so how would I use pix_write as it only exports 
.jpg and .tiff files? I am kind of hoping there is a way to churn out various 
improvised video manipulations of this performance and other videos I have done 
so I can share them. Any ideas or is GEM just not meant to be recorded. I mean 
I have seen GEM videos posted online so there must be an obvious way to do this 
that I am missing.

I feel like I just don't know the proper way to use pix_record and pix_snap 
together, but maybe I am just going about the process in the absolutely wrong 
way. 

Any ideas? please be as specific as possible because I am new to this and still 
don't understand allot. Thanks so much.

Derrick

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


Re: [PD] [PD-announce] NIME 2009 Conference and Workshops Update

2009-05-09 Thread Jose Luis Santorcuato
CONGRATULATION... i like arduino... see my blog Hans... good luck

José


-- 
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com/
http://www.myspace.com/santorcuato

2009/5/8 Hans-Christoph Steiner h...@at.or.at


 I'll be teaching a Pd+Arduino+Mapping workshop at the next NIME conference:

 Begin forwarded message:

  From: n...@ece.ubc.ca
 Date: April 13, 2009 10:07:02 AM EDT
 To: commun...@nime.org
 Subject: [NIME community] NIME 2009 Conference and Workshops Update

 Carnegie Mellon hosts NIME 2009
 ---
 Carnegie Mellon University will host the New Interfaces for Musical
 Expression
 (NIME) Conference June 4 - 6, 2009. NIME 2009 will feature a variety of
 workshops, papers, posters, demonstrations, and performances. These
 presentations will be given by researchers and musicians from all over the
 world, who will gather in Pittsburgh to share their knowledge and
 late-breaking
 work on new musical interface design.

 NIME 2009 will include a special focus on Tradition and Innovation. Events
 related to this theme include a keynote speech by acclaimed electronic
 media
 artist Paul DeMarinis, and an international teleconference with computer
 music
 pioneers William Buxton, John Chowning, Roger Linn, and Max Mathews.

 There is still time to register for the conference at the early
 registration
 rate of $300 or the early student registration rate of $150 by May 1.
 After May
 1, regular registration wil cost $400 and regular student registration
 will be
 $200.
 To register, visit http://www.nime2009.org/registration.php.

 In addition to the conference, Carnegie Mellon also is hosting day-long
 workshops, all of which take place on campus June 3.
 The workshops include:
 ·Sound Synthesis and Algorithmic Composition Using Nyquist and
 Audacity
 Presenter: Roger B. Dannenberg
 ·Mapping Sensors to Pd via Firmata
 Presenter: Hans-Christoph Steiner
 ·Interactivity by Code: SuperCollider
 Presenter: James Harkins
 ·Handmade Electronic Music -- The Art of Hardware Hacking
 Presenter: Alex Inglizian
 ·Max MSP
 Presenters: Luke DuBois and Andrew Benson
 ·Sensor interfacing with I-CubeX
 Presenter: Axel Mulder

 For more information, visit: http://www.nime2009.org/workshops.php.

 We look forward to your participation in the expanded community of
 creators,
 composers, performers and artists who will be represented at NIME 2009!

 NIME 2009 is sponsored by Carnegie Mellon School of Music, Carnegie Mellon
 College of Fine Arts, Carnegie Institute of Technology, Carnegie Mellon
 School
 of Computer Science, Carnegie Mellon Entertainment Technology Center, The
 University of Pittsburgh Department of Music and Duquesne University's
 Mary
 Pappert School of Music.





 

 If you are not part of the solution, you are part of the problem.



 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce

 ___
 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] PD] microbs/virus/fluids and such visuals

2009-05-09 Thread Hans-Christoph Steiner


Did you make swine flu in Pd?!?  nice video

.hc

On May 9, 2009, at 2:09 PM, ydego...@gmail.com wrote:


ola,

the closest i got to something like viruses
is playing around with pdp_opencv
and the distance algorithm :

http://ydegoyon.free.fr/mics.ogg

patch is attached and it's a pure pdp/3dp solution,
don't ask a version for windows.

saludos,
sevy

ps : fluids is another problem...

ydego...@gmail.com wrote:

hey oskar,

that medicine ain't enough,
or has it ever been?

lumafilt' don't remember that
but i can check,
it think still it's nothing close to life !!

kuss
sevy



#N canvas 362 116 670 709 10;
#X obj 101 158 pdp_xv;
#X floatatom 276 106 5 0 0 0 - - -;
#X obj 101 99 pdp_opencv_distrans;
#X text 315 107 edge threshold;
#X msg 253 23 type 3;
#X msg 263 43 type 5;
#X msg 273 62 type 0;
#X msg 251 -2 voronoi \$1;
#X obj 342 -2 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 361 -2 switch Voronoi diagram mode on/off;
#X text 310 24 use 3x3 mask;
#X text 320 43 use 5x5 mask;
#X text 326 62 use precise distance transform;
#X obj 241 -96 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1
-1;
#X msg 106 -67 loop \$1;
#X obj 107 -89 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1
1;
#X msg 137 -98 open \$1;
#X obj 136 -122 openpanel;
#X obj 121 -139 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144
-1 -1;
#X msg 200 -97 stop;
#X obj 118 -33 pdp_yqt;
#X obj 202 -67 metro 400;
#X obj 310 -75 pdp_v4l2;
#X obj 313 -106 metro 40;
#X obj 321 -138 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
0 1;
#X obj 318 189 3dp_windowcontext;
#X obj 318 164 metro 40;
#X obj 318 144 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 321 339 3dp_view transy 1;
#X floatatom 425 314 5 0 0 0 - - -;
#X floatatom 435 368 5 0 0 0 - - -;
#X obj 320 256 3dp_mouserotate;
#X obj 37 236 pdp_convert texture/*/*;
#X obj 278 540 pdp_rec~;
#X msg 359 448 open /tmp/mics.mov;
#X msg 359 472 start;
#X msg 358 499 stop;
#X floatatom 342 543 5 0 0 0 - - -;
#X obj 143 533 pdp_xv;
#X obj 371 397 loadbang;
#X msg 319 418 autosnap 1;
#X obj 205 444 3dp_snap image/YCrCb/*;
#X obj 227 386 3dp_draw sphere 4;
#X msg 317 86 7;
#X obj 363 86 loadbang;
#X connect 1 0 2 1;
#X connect 2 0 0 0;
#X connect 2 0 32 0;
#X connect 4 0 2 0;
#X connect 5 0 2 0;
#X connect 6 0 2 0;
#X connect 7 0 2 0;
#X connect 8 0 7 0;
#X connect 13 0 21 0;
#X connect 14 0 20 0;
#X connect 15 0 14 0;
#X connect 16 0 20 0;
#X connect 17 0 16 0;
#X connect 18 0 17 0;
#X connect 19 0 21 0;
#X connect 20 0 2 0;
#X connect 21 0 20 0;
#X connect 22 0 2 0;
#X connect 23 0 22 0;
#X connect 24 0 23 0;
#X connect 25 0 31 0;
#X connect 25 1 31 1;
#X connect 26 0 25 0;
#X connect 27 0 26 0;
#X connect 28 0 42 0;
#X connect 29 0 28 1;
#X connect 30 0 42 2;
#X connect 31 0 28 0;
#X connect 32 0 42 1;
#X connect 33 0 37 0;
#X connect 34 0 33 0;
#X connect 35 0 33 0;
#X connect 36 0 33 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 1 33 0;
#X connect 41 1 38 0;
#X connect 42 0 41 0;
#X connect 43 0 1 0;
#X connect 44 0 43 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list







You can't steal a gift. Bird gave the world his music, and if you can  
hear it, you can have it. - Dizzy Gillespie





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