Rd: [PD] spectrogram in PD

2006-11-13 Thread [EMAIL PROTECTED]
Hi Andrea,

welcome! Simple spectrum computations can be found on the
documentation annexed with pd: look at
the subfolder /doc/3.audio.examples of your PD distribution
, for example E01.spectrum.pd. This uses simple fft
computations.

Then there is the cyclone library that has a good
spectrum visualization example in the patch
spectrum-pm.pd for example. Note that cyclone only comes
with extended distributions by H.C. Steiner or
you have to install it yourself. If you have the
extended one the patch is in the
\doc\examples\cyclone\
subfolder.

Another interesting example is here:

http://crca.ucsd.edu/~jsarlo/pd/

grab the pitchnoise patch, it contains another interesting
example.

Hope that it helps,

Alberto Zin

http://puredata.org/Members/AlbertoZ

PS: by chance I got two books by you on my desk:
your thesis on musical notation and the books on Audio 
Multimedia. Congratulations, nice works!



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


Re: Rd: [PD] spectrogram in PD

2006-11-13 Thread Georg Holzmann

Hallo!

If you want to draw a logarithmic spectrum with only native pd objects 
see the attached patch ...


LG
Georg
#N canvas 265 153 333 190 10;
#N canvas 88 49 872 789 FFT_Analyse 0;
#X obj 101 102 inlet~;
#X obj 101 332 *~;
#X obj 132 331 *~;
#X obj 110 356 +~;
#X obj 111 377 powtodb~;
#N canvas 0 0 346 535 init_input_window 0;
#X obj 73 217 / 10;
#X obj 55 278 line 0 0.1;
#X msg 119 246 0;
#X obj 54 176 t f f b;
#X obj 54 239 pack;
#X obj 55 301 t f f;
#X obj 54 152 - 1;
#X obj 74 114 t f f;
#X obj 55 359 * 3.14159;
#X obj 55 381 sin;
#X msg 55 401 \$1 \$1;
#X obj 55 423 *;
#X text 119 334 0...0.99;
#X text 128 359 0...pi;
#X text 79 423 hanning;
#X msg 55 88 4096;
#X obj 100 88 f 4096;
#X obj 99 60 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 99 39 loadbang;
#X obj 74 333 / 4096;
#X obj 55 448 tabwrite \$0-window;
#X text 86 381 half-sine;
#X connect 0 0 4 1;
#X connect 1 0 5 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 3 1 0 0;
#X connect 3 2 2 0;
#X connect 4 0 1 0;
#X connect 5 0 19 0;
#X connect 5 1 20 1;
#X connect 6 0 3 0;
#X connect 7 0 6 0;
#X connect 7 1 19 1;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 20 0;
#X connect 15 0 7 0;
#X connect 16 0 7 0;
#X connect 17 0 16 0;
#X connect 18 0 17 0;
#X connect 19 0 8 0;
#X restore 161 276 pd init_input_window;
#N canvas 0 0 450 300 graph3 0;
#X array \$0-lin_scope 2048 float 0;
#X coords 0 100 2047 0 200 140 1;
#X restore 110 596 graph;
#N canvas 0 0 822 328 init_norm 0;
#X obj 43 230 outlet;
#X obj 43 187 - 100;
#X floatatom 43 208 9 0 0 0 - - -;
#X text 108 169 leistung - techn. dB;
#X msg 43 69 4096;
#X obj 80 68 f 4096;
#X obj 80 47 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 80 26 loadbang;
#X obj 43 167 rmstodb;
#X obj 43 110 / 4;
#X text 74 103 faktor 2 wegen hanning;
#X text 74 114 weiterer faktor 2 \, weil wir nur die;
#X text 73 124 erste haelfte des konjungiert komplexen spektrum sehen
;
#X text 108 135 bzw. bearbeiten \, somit nur die haelfte der spektralen
energie;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 4 0 9 0;
#X connect 5 0 9 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 8 0 1 0;
#X connect 9 0 8 0;
#X restore 126 401 pd init_norm;
#X obj 100 231 *~;
#X obj 110 425 -~ 60.206;
#X obj 123 519 *~ 0.98;
#X obj 110 541 +~;
#X obj 111 475 *~ 0.02;
#X msg 314 481 1 \$1;
#X obj 314 502 -;
#X obj 314 458 clip 0 1;
#X obj 314 437 / 100;
#X floatatom 314 413 5 0.5 100 0 - - -;
#X obj 333 366 loadbang;
#X obj 100 277 fft~;
#X obj 463 557 line 0 0.1;
#X obj 463 602 / 2;
#X obj 463 622 mtof;
#X msg 463 536 6 \, 273 26.7;
#X obj 463 580 t f f;
#X obj 494 602 - 6;
#X obj 463 642 / 44100;
#X obj 463 663 * 4096;
#X msg 656 633 6;
#X obj 656 653 / 2;
#X obj 656 673 mtof;
#X floatatom 656 693 9 0 0 0 - - -;
#X text 723 694 Hz;
#X obj 754 654 / 2;
#X obj 754 673 mtof;
#X floatatom 754 693 9 0 0 0 - - -;
#X text 822 693 Hz;
#X msg 754 634 273;
#X obj 656 612 t b b;
#X obj 463 516 metro 1000;
#X obj 463 498 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 463 458 loadbang;
#X msg 463 478 1;
#X obj 656 592 loadbang;
#X obj 468 245 loadbang;
#X obj 703 102 inlet;
#X obj 130 253 table \$0-window 4096;
#X obj 137 214 tabreceive~ \$0-window;
#X text 353 403 temporal lowpass;
#X text 355 415 parameter between 0 .. 100 %;
#X text 23 23 spectrum~;
#X text 120 23 draws the power of a spectrum in a logarithmic scale
;
#X text 118 36 (by Thomas Musil);
#X obj 123 498 tabreceive~ \$0-lin_scope;
#X obj 110 566 tabsend~ \$0-lin_scope;
#X obj 463 685 tabread4 \$0-lin_scope;
#X obj 468 267 f \$0;
#X text 553 536 transformation to log scale;
#X msg 333 385 100;
#X obj 314 341 max 0.5;
#X obj 314 319 min 100;
#X obj 440 107 inlet;
#X text 96 81 audio sig;
#X text 700 81 ON/OFF;
#X text 427 86 (0 .. 100);
#X text 408 72 temporal lowpass;
#X obj 703 125 switch~ 4096 2;
#X obj 533 244 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 463 707 tabwrite \$0-s;
#X msg 468 296 \; \$1-s xticks 0 12 2;
#X msg 491 330 \; \$1-s yticks 0 5 2;
#X connect 0 0 8 0;
#X connect 1 0 3 0;
#X connect 2 0 3 1;
#X connect 3 0 4 0;
#X connect 4 0 9 0;
#X connect 7 0 9 1;
#X connect 8 0 19 0;
#X connect 9 0 12 0;
#X connect 10 0 11 1;
#X connect 11 0 54 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 14 0 10 1;
#X connect 15 0 13 0;
#X connect 15 0 12 1;
#X connect 16 0 15 0;
#X connect 17 0 16 0;
#X connect 18 0 58 0;
#X connect 19 0 1 0;
#X connect 19 0 1 1;
#X connect 19 1 2 0;
#X connect 19 1 2 1;
#X connect 20 0 24 0;
#X connect 21 0 22 0;
#X connect 22 0 26 0;
#X connect 23 0 20 0;
#X connect 24 0 21 0;
#X connect 24 1 25 0;
#X connect 25 0 68 1;
#X connect 26 0 27 0;
#X connect 27 0 55 0;
#X connect 28 0 29 0;
#X connect 29 0 30 0;
#X connect 30 0 31 0;
#X connect 33 0 34 0;
#X connect 34 0 35 0;
#X connect 37 0 33 0;
#X connect 38 0 28 0;
#X connect 38 1 37 0;
#X connect 39 0 23 0;
#X connect 40 0 39 0;
#X connect 41 0 42 0;
#X connect 42 0 40 

Re: [PD] netpd download all patch

2006-11-13 Thread Roman Haefeli
ah, there is your mail. for me, your mails seem to be written in the
future :-), that is why i am overlooking them sometimes...


On Tue, 2006-11-14 at 03:12 +, padawan12 wrote:
 Great stuff. I need to study those and see how
 you hook the interface level up to net-pd.
 Just a question of finding the time so I'm
 very pleased you already converted some of 
 mine to net-pd. How do they perform?
 
 Is there a net-pd howto or something?

yes, there is a very cheap little tutorial in netpd (netpd/tut)

 How does net-pd handle time/synchronous
 alignment and that sort of thing? 
 btw, I listened to some output from net-pd radio
 and I hear some very impressive jams happening.
 How do you record them?

there is a simple patch called
'recorder' ( http://www.netpd.org/recorder ) , which records the output
of the netpd-mixer called 'mx' (http://www.netpd.org/mx ). so, recording
happens on the client side. anyway it is better to record in the same
instance of pd, cause like that no dropouts and glitches are recorded.

  Does each machine
 run all the synths (replicated version of one
 setup) or do they pipe audio back to a node
 that does the recording. Much I don't understand.
 
 best,
 
 Andy
 
 
 
 
 On Sun, 12 Nov 2006 07:50:03 +0100
 moritz w. [EMAIL PROTECTED] wrote:
 
  ola padawan,
  i've made already a netpd-patch
  with some of your sound-design stuff.
  (with a lot of [switch~]es in it)
  
  ---im a big fan off your tut's and gizmos!
  
  [cheers~] 
  
  moritz
  
  (the attached patch works only with netpd)
  
  
   Original-Nachricht 
  Datum: Sat, 11 Nov 2006 23:07:54 +
  Von: padawan12 [EMAIL PROTECTED]
  An: pd-list@iem.at
  Betreff: Re: [PD] netpd download all patch
  
   
   Yeah, I've been looking at it a lot recently.
   Even if your not into music (and right now really
   only techno music) net-pd sets a really good standard
   for pd programming and encapsulation, and probably
   represents the best of UI practice using only the 
   intrinsic components. I'm thinking next year I 
   will start to move the music synth (toys and gizmos)
   part of my work towards net-pd because it represents
   an important versioning commonality to share patches
   which the wider Pd lacks. There's still room for 
   improving it too. I have some ideas I'm mulling
   over to do with distributed composition which I 
   hope to add some day and net-pd seems the obvious
   place to try these out.
   If you're in London today at the Openlab3 meet we
   will hopefully get to try out setup based
   on OSC to perform with simple distributed synthesisers
   on a LAN.
   
   On Sat, 11 Nov 2006 12:18:02 +0800
   Chris McCormick [EMAIL PROTECTED] wrote:
   
On Thu, Nov 09, 2006 at 10:40:39AM +0100, Roman Haefeli wrote:
 i hope you'll have fun with netpd.

I just wanted to jump in on this thread to say that I find netpd to be
one of the most exciting things I have seen in electronic music ever.
Thanks so much Roman and all the other contributors for making it. You
guys are really pushing new frontiers with this. If anyone hasn't tried
it yet, you should get into it!

Best,

Chris.

---
[EMAIL PROTECTED]
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
  
  -- 
  Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
  Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's 
  Cup-Yacht!
  
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list






___ 
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: Rd: [PD] spectrogram in PD

2006-11-13 Thread Hans-Christoph Steiner


That's a nice patch!  It should be included in Pd-extended or  
somewhere as a fully documented object.  My only suggestion is that I  
think it should use 0.00 to 1.00 to represent the temporal  
percentage.  Except for places where it doesn't make sense (e.g.  
pitch/freq), I think all parameters should be between 0 and 1.  It  
makes for much less time spent changing the range of data, and much  
less time looking up what range a given object expects.  Plus it  
allows for unusual combinations in the spirit of play.


.hc

On Nov 13, 2006, at 12:55 PM, Georg Holzmann wrote:


Hallo!

If you want to draw a logarithmic spectrum with only native pd  
objects see the attached patch ...


LG
Georg
#N canvas 265 153 333 190 10;
#N canvas 88 49 872 789 FFT_Analyse 0;
#X obj 101 102 inlet~;
#X obj 101 332 *~;
#X obj 132 331 *~;
#X obj 110 356 +~;
#X obj 111 377 powtodb~;
#N canvas 0 0 346 535 init_input_window 0;
#X obj 73 217 / 10;
#X obj 55 278 line 0 0.1;
#X msg 119 246 0;
#X obj 54 176 t f f b;
#X obj 54 239 pack;
#X obj 55 301 t f f;
#X obj 54 152 - 1;
#X obj 74 114 t f f;
#X obj 55 359 * 3.14159;
#X obj 55 381 sin;
#X msg 55 401 \$1 \$1;
#X obj 55 423 *;
#X text 119 334 0...0.99;
#X text 128 359 0...pi;
#X text 79 423 hanning;
#X msg 55 88 4096;
#X obj 100 88 f 4096;
#X obj 99 60 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 99 39 loadbang;
#X obj 74 333 / 4096;
#X obj 55 448 tabwrite \$0-window;
#X text 86 381 half-sine;
#X connect 0 0 4 1;
#X connect 1 0 5 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 3 1 0 0;
#X connect 3 2 2 0;
#X connect 4 0 1 0;
#X connect 5 0 19 0;
#X connect 5 1 20 1;
#X connect 6 0 3 0;
#X connect 7 0 6 0;
#X connect 7 1 19 1;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 20 0;
#X connect 15 0 7 0;
#X connect 16 0 7 0;
#X connect 17 0 16 0;
#X connect 18 0 17 0;
#X connect 19 0 8 0;
#X restore 161 276 pd init_input_window;
#N canvas 0 0 450 300 graph3 0;
#X array \$0-lin_scope 2048 float 0;
#X coords 0 100 2047 0 200 140 1;
#X restore 110 596 graph;
#N canvas 0 0 822 328 init_norm 0;
#X obj 43 230 outlet;
#X obj 43 187 - 100;
#X floatatom 43 208 9 0 0 0 - - -;
#X text 108 169 leistung - techn. dB;
#X msg 43 69 4096;
#X obj 80 68 f 4096;
#X obj 80 47 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 80 26 loadbang;
#X obj 43 167 rmstodb;
#X obj 43 110 / 4;
#X text 74 103 faktor 2 wegen hanning;
#X text 74 114 weiterer faktor 2 \, weil wir nur die;
#X text 73 124 erste haelfte des konjungiert komplexen spektrum sehen
;
#X text 108 135 bzw. bearbeiten \, somit nur die haelfte der  
spektralen

energie;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 4 0 9 0;
#X connect 5 0 9 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 8 0 1 0;
#X connect 9 0 8 0;
#X restore 126 401 pd init_norm;
#X obj 100 231 *~;
#X obj 110 425 -~ 60.206;
#X obj 123 519 *~ 0.98;
#X obj 110 541 +~;
#X obj 111 475 *~ 0.02;
#X msg 314 481 1 \$1;
#X obj 314 502 -;
#X obj 314 458 clip 0 1;
#X obj 314 437 / 100;
#X floatatom 314 413 5 0.5 100 0 - - -;
#X obj 333 366 loadbang;
#X obj 100 277 fft~;
#X obj 463 557 line 0 0.1;
#X obj 463 602 / 2;
#X obj 463 622 mtof;
#X msg 463 536 6 \, 273 26.7;
#X obj 463 580 t f f;
#X obj 494 602 - 6;
#X obj 463 642 / 44100;
#X obj 463 663 * 4096;
#X msg 656 633 6;
#X obj 656 653 / 2;
#X obj 656 673 mtof;
#X floatatom 656 693 9 0 0 0 - - -;
#X text 723 694 Hz;
#X obj 754 654 / 2;
#X obj 754 673 mtof;
#X floatatom 754 693 9 0 0 0 - - -;
#X text 822 693 Hz;
#X msg 754 634 273;
#X obj 656 612 t b b;
#X obj 463 516 metro 1000;
#X obj 463 498 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 463 458 loadbang;
#X msg 463 478 1;
#X obj 656 592 loadbang;
#X obj 468 245 loadbang;
#X obj 703 102 inlet;
#X obj 130 253 table \$0-window 4096;
#X obj 137 214 tabreceive~ \$0-window;
#X text 353 403 temporal lowpass;
#X text 355 415 parameter between 0 .. 100 %;
#X text 23 23 spectrum~;
#X text 120 23 draws the power of a spectrum in a logarithmic scale
;
#X text 118 36 (by Thomas Musil);
#X obj 123 498 tabreceive~ \$0-lin_scope;
#X obj 110 566 tabsend~ \$0-lin_scope;
#X obj 463 685 tabread4 \$0-lin_scope;
#X obj 468 267 f \$0;
#X text 553 536 transformation to log scale;
#X msg 333 385 100;
#X obj 314 341 max 0.5;
#X obj 314 319 min 100;
#X obj 440 107 inlet;
#X text 96 81 audio sig;
#X text 700 81 ON/OFF;
#X text 427 86 (0 .. 100);
#X text 408 72 temporal lowpass;
#X obj 703 125 switch~ 4096 2;
#X obj 533 244 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 463 707 tabwrite \$0-s;
#X msg 468 296 \; \$1-s xticks 0 12 2;
#X msg 491 330 \; \$1-s yticks 0 5 2;
#X connect 0 0 8 0;
#X connect 1 0 3 0;
#X connect 2 0 3 1;
#X connect 3 0 4 0;
#X connect 4 0 9 0;
#X connect 7 0 9 1;
#X connect 8 0 19 0;
#X connect 9 0 12 0;
#X connect 10 0 11 1;
#X connect 11 0 54 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 14 0 10 1;
#X connect 15 0 13 0;
#X connect 15 0 12 1;
#X connect 16 0 15 

Re: Rd: [PD] spectrogram in PD

2006-11-13 Thread Georg Holzmann

Hallo!

That's a nice patch!  It should be included in Pd-extended or somewhere 
as a fully documented object.  My only suggestion is that I think it 

of course - you can include it!

should use 0.00 to 1.00 to represent the temporal percentage.  Except 

you are right ...

a more beautiful version is attached ...

LG
Georg
#N canvas 439 11 373 512 10;
#N canvas 88 49 872 789 FFT_Analyse 0;
#X obj 101 102 inlet~;
#X obj 101 332 *~;
#X obj 132 331 *~;
#X obj 110 356 +~;
#X obj 111 377 powtodb~;
#N canvas 0 0 346 535 init_input_window 0;
#X obj 73 217 / 10;
#X obj 55 278 line 0 0.1;
#X msg 119 246 0;
#X obj 54 176 t f f b;
#X obj 54 239 pack;
#X obj 55 301 t f f;
#X obj 54 152 - 1;
#X obj 74 114 t f f;
#X obj 55 359 * 3.14159;
#X obj 55 381 sin;
#X msg 55 401 \$1 \$1;
#X obj 55 423 *;
#X text 119 334 0...0.99;
#X text 128 359 0...pi;
#X text 79 423 hanning;
#X msg 55 88 4096;
#X obj 100 88 f 4096;
#X obj 99 60 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 99 39 loadbang;
#X obj 74 333 / 4096;
#X obj 55 448 tabwrite \$0-window;
#X text 86 381 half-sine;
#X connect 0 0 4 1;
#X connect 1 0 5 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 3 1 0 0;
#X connect 3 2 2 0;
#X connect 4 0 1 0;
#X connect 5 0 19 0;
#X connect 5 1 20 1;
#X connect 6 0 3 0;
#X connect 7 0 6 0;
#X connect 7 1 19 1;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 20 0;
#X connect 15 0 7 0;
#X connect 16 0 7 0;
#X connect 17 0 16 0;
#X connect 18 0 17 0;
#X connect 19 0 8 0;
#X restore 161 276 pd init_input_window;
#N canvas 0 0 450 300 graph3 0;
#X array \$0-lin_scope 2048 float 0;
#X coords 0 100 2047 0 200 140 1;
#X restore 110 596 graph;
#N canvas 0 0 822 328 init_norm 0;
#X obj 43 230 outlet;
#X obj 43 187 - 100;
#X floatatom 43 208 9 0 0 0 - - -;
#X text 108 169 leistung - techn. dB;
#X msg 43 69 4096;
#X obj 80 68 f 4096;
#X obj 80 47 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 80 26 loadbang;
#X obj 43 167 rmstodb;
#X obj 43 110 / 4;
#X text 74 103 faktor 2 wegen hanning;
#X text 74 114 weiterer faktor 2 \, weil wir nur die;
#X text 73 124 erste haelfte des konjungiert komplexen spektrum sehen
;
#X text 108 135 bzw. bearbeiten \, somit nur die haelfte der spektralen
energie;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 4 0 9 0;
#X connect 5 0 9 0;
#X connect 6 0 5 0;
#X connect 7 0 6 0;
#X connect 8 0 1 0;
#X connect 9 0 8 0;
#X restore 126 401 pd init_norm;
#X obj 100 231 *~;
#X obj 110 425 -~ 60.206;
#X obj 123 519 *~ 0.98;
#X obj 110 541 +~;
#X obj 111 475 *~ 0.02;
#X msg 314 481 1 \$1;
#X obj 314 502 -;
#X obj 314 458 clip 0 1;
#X obj 314 437 / 100;
#X floatatom 314 413 5 0.5 100 0 - - -;
#X obj 333 366 loadbang;
#X obj 100 277 fft~;
#X obj 463 557 line 0 0.1;
#X obj 463 602 / 2;
#X obj 463 622 mtof;
#X msg 463 536 6 \, 273 26.7;
#X obj 463 580 t f f;
#X obj 494 602 - 6;
#X obj 463 642 / 44100;
#X obj 463 663 * 4096;
#X msg 656 633 6;
#X obj 656 653 / 2;
#X obj 656 673 mtof;
#X floatatom 656 693 9 0 0 0 - - -;
#X text 723 694 Hz;
#X obj 754 654 / 2;
#X obj 754 673 mtof;
#X floatatom 754 693 9 0 0 0 - - -;
#X text 822 693 Hz;
#X msg 754 634 273;
#X obj 656 612 t b b;
#X obj 463 516 metro 1000;
#X obj 463 498 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X obj 463 458 loadbang;
#X msg 463 478 1;
#X obj 656 592 loadbang;
#X obj 468 245 loadbang;
#X obj 703 102 inlet;
#X obj 130 253 table \$0-window 4096;
#X obj 137 214 tabreceive~ \$0-window;
#X text 353 403 temporal lowpass;
#X text 355 415 parameter between 0 .. 100 %;
#X text 23 23 spectrum~;
#X text 120 23 draws the power of a spectrum in a logarithmic scale
;
#X text 118 36 (by Thomas Musil);
#X obj 123 498 tabreceive~ \$0-lin_scope;
#X obj 110 566 tabsend~ \$0-lin_scope;
#X obj 463 685 tabread4 \$0-lin_scope;
#X obj 468 267 f \$0;
#X text 553 536 transformation to log scale;
#X msg 333 385 100;
#X obj 314 341 max 0.5;
#X obj 314 319 min 100;
#X obj 440 107 inlet;
#X text 96 81 audio sig;
#X text 700 81 ON/OFF;
#X text 408 72 temporal lowpass;
#X obj 703 125 switch~ 4096 2;
#X obj 533 244 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 463 707 tabwrite \$0-s;
#X msg 468 296 \; \$1-s xticks 0 12 2;
#X msg 491 330 \; \$1-s yticks 0 5 2;
#X obj 440 132 * 100;
#X text 427 86 (0 .. 1);
#X connect 0 0 8 0;
#X connect 1 0 3 0;
#X connect 2 0 3 1;
#X connect 3 0 4 0;
#X connect 4 0 9 0;
#X connect 7 0 9 1;
#X connect 8 0 19 0;
#X connect 9 0 12 0;
#X connect 10 0 11 1;
#X connect 11 0 54 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 14 0 10 1;
#X connect 15 0 13 0;
#X connect 15 0 12 1;
#X connect 16 0 15 0;
#X connect 17 0 16 0;
#X connect 18 0 58 0;
#X connect 19 0 1 0;
#X connect 19 0 1 1;
#X connect 19 1 2 0;
#X connect 19 1 2 1;
#X connect 20 0 24 0;
#X connect 21 0 22 0;
#X connect 22 0 26 0;
#X connect 23 0 20 0;
#X connect 24 0 21 0;
#X connect 24 1 25 0;
#X connect 25 0 67 1;
#X connect 26 0 27 0;
#X connect 27 0 55 0;
#X connect 28 0 29 0;
#X connect 

Re: [PD] netpd download all patch

2006-11-13 Thread Enrique Erne





 Is there a net-pd howto or something?

 yes, there is a very cheap little tutorial in netpd (netpd/tut)

some useful links here:
http://www.netpd.org/Devel


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


Re: [PD] desiredata 0.39.A.pre2

2006-11-13 Thread james tittle


On Nov 13, 2006, at 11:00 AM, Thomas Grill wrote:


Hi all,
actually, OSX builds _need_ portaudio. Therefore, you can't just  
specify portaudio=0.
You'd need to download portaudio-v19 (or check out from portaudio  
SVN) and the latest portmidi package. You don't need to build  
those, just point the scons variables portaudiopath and  
portmidipath to these folders and set portaudio to 1.

(You get a list of config variables with scons --help).


...one problem I've found with setting the portaudiopath and  
portmidipath's explicitly is that they assume some non-standard  
arrangement...for example, if I download cvs of portaudio, I get:


portaudio/pa_common
portaudio/pa_mac_core
...etc...

...but if I scons with portaudiopath=path/to/cvs/portaudio, scons  
looks for something like this:


path/to/portaudio/include
path/to/portaudio/src/common

...to make the point further, here's the compile line I've used:

gcc -g -Wall -faltivec -maltivec -fnested-functions -fasm-blocks -DPD  
-DDL_OPEN -DNEWHASH -DLOCKFREE -DDESIRE -DPABLIO -DPA_LOG_API_CALLS - 
DUNISTD -DPA_USE_COREAUDIO -DMACOSX -DUSEAPI_JACK -DUSEAPI_PORTAUDIO - 
DPA19 -DDEBUG -DHAVE_ALLOCA -DPD_INTERNAL -I/Library/Frameworks/ 
Tk.framework/Headers -I/Library/Frameworks/Tcl.framework/Headers -I/ 
usr/include/tcl8.4 -Isrc -I/Users/tigital/dev/portmidi -I/Users/ 
tigital/dev/portmidi/pm_common -I/Users/tigital/dev/portmidi/porttime  
-I/Users/tigital/dev/portmidi/pm_mac -I/Users/tigital/dev/portaudio/ 
include -I/Users/tigital/dev/portaudio/src/common -c -o src/ 
s_audio_pa.o src/s_audio_pa.c


...of course, an easy fix here is to add ,papath+'/pa_common' to  
line 497 of the src/SConscript (ex. pdenv.Append(CPPPATH=[papath+'/ 
include',papath+'/src/common',papath+'/pa_common']) ), but that leads  
to the following error:


gcc -g -Wall -faltivec -maltivec -fnested-functions -fasm-blocks -DPD  
-DDL_OPEN -DNEWHASH -DLOCKFREE -DDESIRE -DPABLIO -DPA_LOG_API_CALLS - 
DUNISTD -DPA_USE_COREAUDIO -DMACOSX -DUSEAPI_JACK -DUSEAPI_PORTAUDIO - 
DPA19 -DDEBUG -DHAVE_ALLOCA -DPD_INTERNAL -I/Library/Frameworks/ 
Tk.framework/Headers -I/Library/Frameworks/Tcl.framework/Headers -I/ 
usr/include/tcl8.4 -Isrc -I/Users/tigital/dev/portmidi -I/Users/ 
tigital/dev/portmidi/pm_common -I/Users/tigital/dev/portmidi/porttime  
-I/Users/tigital/dev/portmidi/pm_mac -I/Users/tigital/dev/portaudio/ 
include -I/Users/tigital/dev/portaudio/src/common -I/Users/tigital/ 
dev/portaudio/pa_common -c -o src/s_audio_paring.o src/s_audio_paring.c
scons: *** Source `/Users/tigital/dev/portaudio/src/common/ 
pa_allocation.c' not found, needed by target `/Users/tigital/dev/ 
portaudio/src/common/pa_allocation.o'.  Stop.


...unfortunately, I don't know where this is coming from:  portaudio  
in scons is spread out in several spots...


...one last question:  are we now using s_audio_pa.c or  
s_audio_portaudio.c?


james





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


Re: [PD] desiredata 0.39.A.pre2

2006-11-13 Thread Thomas Grill

Hi Jamie,


...one problem I've found with setting the portaudiopath and 
portmidipath's explicitly is that they assume some non-standard 
arrangement...for example, if I download cvs of portaudio, I get:


portaudio/pa_common
portaudio/pa_mac_core
...etc...
portaudio has switched to svn a while ago... the cvs shouldn't be used 
anymore.


...one last question:  are we now using s_audio_pa.c or 
s_audio_portaudio.c?


Tim Blechmann has coded the s_audio_portaudio.c interface for the vibrez 
project, that's why i am using it. I run it under OSX and Windows and 
due to callback scheduling it has far lower latency than Miller's 
implementation.


best greetings,
Thomas

--
Thomas Grill
http://g.org



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


Re: [PD] desiredata 0.39.A.pre2

2006-11-13 Thread james tittle

On Nov 13, 2006, at 3:13 PM, Thomas Grill wrote:
portaudio has switched to svn a while ago... the cvs shouldn't be  
used anymore.


...gah!  my last check on the website was back in april...as  
expected, with the right sources it compiles fine here, too ;-)


...one last question:  are we now using s_audio_pa.c or  
s_audio_portaudio.c?


Tim Blechmann has coded the s_audio_portaudio.c interface for the  
vibrez project, that's why i am using it. I run it under OSX and  
Windows and due to callback scheduling it has far lower latency  
than Miller's implementation.


...hmm, I guess someone needs to make a patch for inclusion in main  
pd:  thanks for the clarification!


jamie

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


Re: [Pd] OT: this is the kind of interface I want

2006-11-13 Thread Damian Stewart

Claude Heiland-Allen wrote:


Something like this?

http://www.inference.phy.cam.ac.uk/dasher/


yes! that was the one i was thinking of :-)

--
Damian Stewart
+64 27 305 4107

f r e y
live music with machines
http://www.frey.co.nz
http://www.myspace.com/freyed


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


Re: [PD] spectrogram in PD

2006-11-13 Thread Frank Barknecht
Hallo,
andrea valle hat gesagt: // andrea valle wrote:

 I was trying to understand if there's a(n easy) way to plot a spectrum. 
 I guess it should be easily feasible, as I saw both pd capabilties in 
 time domain, both Miller Puckette's figures in the book.
 
 But looking in docs and on the web I got confused and I'm not able to 
 find answers to my question.

There are several examples using a spectrum display inside the Pd
docs. For a quick start I would recommend
3.audio.examples/E09.FM.spectrum.pd

Inside of [pd fft] you will see the basic approach which is squaring
the output of [rfft~], adding it and taking the square root.

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

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


[PD] [failsafe] to save you when Pd pegs the CPU

2006-11-13 Thread Hans-Christoph Steiner


I was just playing with Alberto Zin's OuterSpace on my poor old 800  
MHz laptop.  When I opened it the first time, it pegged my CPU and  
locked me out.  I had to power cycle my machine.  This isn't the  
first time something like this has happened to me, so now I did  
something about it:


I wrote [failsafe].  When the CPU is pegged, it first tries turning  
off the DSP (this could also easily turn off Gem rendering).  If that  
fails, it will quit Pd, thus saving the poor machine the hard reset.


http://pure-data.cvs.sourceforge.net/pure-data/externals/hcs/general/ 
failsafe.pd


http://pure-data.cvs.sourceforge.net/pure-data/externals/hcs/general/ 
doc/failsafe-help.pd


Ultimately, I think that something like this should be built into Pd,  
which makes me think that there should be a way to run Pd patches as  
init scripts for Pd.  They would be hidden, unless you made them  
viewable.  Maybe something like a patch embedded in the Pd window.


.hc



I spent 33 years and four months in active military service and  
during that period I spent most of my time as a high class muscle man  
for Big Business, for Wall Street and the bankers.  - General  
Smedley Butler




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


Re: [PD] Re: desiredata 0.39.A.pre2

2006-11-13 Thread David NG McCallum

Holy crap, THIS LOOKS AWESOME.

D

On 13/11/06, Mathieu Bouchard [EMAIL PROTECTED] wrote:

On Sun, 12 Nov 2006, Mathieu Bouchard wrote:

 Preview 2 of DesireData is now available. Since Preview 1 (august) the main
 changes are:
  * Chun did a *lot* of work on subpatches, GOP, and keyboard shortcuts.
  * I deleted a few thousand lines of C that we don't need anymore
  * Mario Mora updated the Spanish translations
 http://artengine.ca/desiredata/download/desiredata-0.39.A.pre2.tar.gz

I wanted to mention the new auto-apply checkbox, which is present in all
PropertiesDialogs, and when checked, applies the changes as they are done.

Also, I would like to post again some links to cool videos of DesireData
features that Chun Lee has coded since the last preview:

   http://artengine.ca/desiredata/gallery/connection.mpeg
   http://artengine.ca/desiredata/gallery/insert.mpeg

  _ _ __ ___ _  _ _ ...
| Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
| Freelance Digital Arts Engineer, Montréal QC Canada

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






--
__ _  _  _  __ _
http://sintheta.org

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


Re: [PD] arraysize missing from pd-extended nightlies on w32

2006-11-13 Thread Hans-Christoph Steiner


Please file a bug report, otherwise it gets lost in the fray.

.hc

On Nov 13, 2006, at 10:41 PM, Damian Stewart wrote:


as per subject line

a version from an earlier build appears to be nonfunctional

--
Damian Stewart
+64 27 305 4107

f r e y
live music with machines
http://www.frey.co.nz
http://www.myspace.com/freyed






Mistrust authority - promote decentralization.  - the hacker ethic



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