aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-31 04:27:27 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit76e9fc3a254f558b23e196176a651bdb28c32e07 (patch)
tree633fb8ea3e4bdf6936ac934a4a8af42734066695
parent12eb493f82763ad6c9497c18a0bb8af131eb5e0a (diff)
sorted out the examples and help files and got 'make install' working
svn path=/trunk/externals/unauthorized/; revision=15176
-rw-r--r--Makefile4
-rw-r--r--examples/analyze-100.pd (renamed from analyze-100.pd)4
-rw-r--r--examples/mrandtab.pd (renamed from mrandtab.pd)5
-rw-r--r--examples/randtab.pd (renamed from randtab.pd)2
-rw-r--r--examples/resynth-64.pd (renamed from resynth-64.pd)26
-rw-r--r--examples/setosc.pd (renamed from setosc.pd)0
-rw-r--r--examples/test-streaming-mp3.pd98
-rw-r--r--examples/xmms.pd146
-rw-r--r--graphic-mp3amp~-help.pd52
-rw-r--r--mp3amp~/mp3amp~.libs1
-rw-r--r--mp3amp~/mpg123.h136
-rw-r--r--mp3cast~/mp3cast~.libs1
-rw-r--r--mp3cast~/mpg123.h136
-rw-r--r--mp3fileout~-help.pd (renamed from mp3live~-help.pd)0
-rw-r--r--mp3live~/mp3fileout~.libs1
-rw-r--r--mp3live~/mp3streamin~.libs1
-rw-r--r--mp3live~/mp3streamout~.libs1
-rw-r--r--mp3live~/mpg123.h136
-rw-r--r--mp3streamin~-help.pd118
-rw-r--r--mp3streamout~-help.pd118
-rw-r--r--mp3write~/mp3write~.libs1
-rw-r--r--mp3write~/mpg123.h136
-rw-r--r--[-rwxr-xr-x]scrolllist.tcl0
-rw-r--r--sonograph~-help.pd10
-rw-r--r--speexin~-help.pd (renamed from speex~-help.pd)0
-rw-r--r--speexout~-help.pd68
-rw-r--r--speex~/speexin~.libs1
-rw-r--r--speex~/speexout~.libs1
-rw-r--r--test-streaming-mp3.pd96
-rw-r--r--xmms.pd144
30 files changed, 571 insertions, 872 deletions
diff --git a/Makefile b/Makefile
index 0368da8..da57298 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ SOURCES = audience~.c beatify~.c blinkenlights.c compressor~.c cooled~.c countun
PDOBJECTS =
# example patches and related files, in the 'examples' subfolder
-EXAMPLES = speaker.gif wanderer.gif
+EXAMPLES = analyze-100.pd mrandtab.pd randtab.pd resynth-64.pd setosc.pd speaker.gif test-streaming-mp3.pd wanderer.gif xmms.pd yesterday.txt
# manuals and related files, in the 'manual' subfolder
MANUAL =
@@ -35,7 +35,7 @@ EXTRA_DIST = audience~.h exciter.h filterbank~.h interface.h g_grid.h mpg123.h m
# -I"$(PD_INCLUDE)/pd" supports the header location for 0.43
CFLAGS = -I"$(PD_INCLUDE)/pd" -Wall -W -g
LDFLAGS =
-LIBS =
+LIBS = -lspeex -lmp3lame
#------------------------------------------------------------------------------#
#
diff --git a/analyze-100.pd b/examples/analyze-100.pd
index 132876b..4006b29 100644
--- a/analyze-100.pd
+++ b/examples/analyze-100.pd
@@ -1,4 +1,5 @@
-#N canvas 112 -6 970 685 10;
+#N canvas 112 22 970 685 10;
+#X declare -lib unauthorized;
#X obj 236 283 filterbank~ 0 2000 100;
#X obj 31 62 t s b;
#X obj 80 68 float \$0;
@@ -19,6 +20,7 @@
#X msg 484 52 location /Samples;
#X obj 484 25 loadbang;
#X obj 391 369 dac~;
+#X obj 728 13 import unauthorized;
#X connect 0 8 19 0;
#X connect 0 15 19 1;
#X connect 0 28 19 1;
diff --git a/mrandtab.pd b/examples/mrandtab.pd
index 157111c..6532ff1 100644
--- a/mrandtab.pd
+++ b/examples/mrandtab.pd
@@ -1,6 +1,7 @@
#N canvas 187 22 737 487 10;
+#X obj 300 10 import unauthorized;
#X obj 138 151 dac~;
#X obj 136 114 randtab;
#X text 174 86 Everything is in the subpatch;
-#X connect 1 0 0 0;
-#X connect 1 0 0 1;
+#X connect 2 0 1 0;
+#X connect 2 0 1 1;
diff --git a/randtab.pd b/examples/randtab.pd
index 089a86e..36226b3 100644
--- a/randtab.pd
+++ b/examples/randtab.pd
@@ -14,7 +14,7 @@
#X obj 110 303 tabread4~ \$0-music;
#X obj 20 331 print~;
#X msg 19 307 bang;
-#X obj 138 29 opanel;
+#X obj 138 29 openpanel;
#X obj 109 330 /~ 100;
#X obj 34 235 randomblock~ 1000;
#X obj 241 325 print~;
diff --git a/resynth-64.pd b/examples/resynth-64.pd
index bb5a93d..7dfdc24 100644
--- a/resynth-64.pd
+++ b/examples/resynth-64.pd
@@ -1,7 +1,8 @@
-#N canvas 36 14 971 657 10;
+#N canvas 159 22 971 657 10;
+#X declare -lib unauthorized;
#X obj 56 522 *~ 1;
#X obj 103 522 / 100;
-#X floatatom 147 522 5 0 0;
+#X floatatom 147 522 5 0 0 0 - - -;
#X obj 272 280 filterbank~ 0 1920 64;
#X obj 31 62 t s b;
#X obj 80 68 float \$0;
@@ -19,13 +20,13 @@
#X obj 486 42 playlist all 200 200;
#X msg 359 35 location /Samples;
#X obj 359 12 loadbang;
-#X obj 374 569 volpan;
+#X obj 374 569 output~;
#X msg 518 250 randomize 0;
#X obj 354 123 s fbstep;
-#X floatatom 354 100 5 0 0;
+#X floatatom 354 100 5 0 0 0 - - -;
#X msg 306 91 30;
#X obj 306 68 loadbang;
-#X floatatom 229 42 5 0 0;
+#X floatatom 229 42 5 0 0 0 - - -;
#X obj 210 68 s firstfreq;
#X msg 181 35 15;
#X obj 181 12 loadbang;
@@ -39,7 +40,7 @@
#X obj 108 476 setosc 7;
#X obj 199 521 *~ 1;
#X obj 246 521 / 100;
-#X floatatom 290 521 5 0 0;
+#X floatatom 290 521 5 0 0 0 - - -;
#X obj 250 313 setosc 8;
#X obj 250 336 setosc 9;
#X obj 250 359 setosc 10;
@@ -50,7 +51,7 @@
#X obj 251 475 setosc 15;
#X obj 339 519 *~ 1;
#X obj 386 519 / 100;
-#X floatatom 430 519 5 0 0;
+#X floatatom 430 519 5 0 0 0 - - -;
#X obj 390 311 setosc 16;
#X obj 390 334 setosc 17;
#X obj 390 357 setosc 18;
@@ -61,7 +62,7 @@
#X obj 391 473 setosc 23;
#X obj 479 519 *~ 1;
#X obj 526 519 / 100;
-#X floatatom 570 519 5 0 0;
+#X floatatom 570 519 5 0 0 0 - - -;
#X obj 530 311 setosc 24;
#X obj 530 334 setosc 25;
#X obj 530 357 setosc 26;
@@ -72,7 +73,7 @@
#X obj 531 473 setosc 31;
#X obj 621 518 *~ 1;
#X obj 668 518 / 100;
-#X floatatom 712 518 5 0 0;
+#X floatatom 712 518 5 0 0 0 - - -;
#X obj 672 310 setosc 32;
#X obj 672 333 setosc 33;
#X obj 672 356 setosc 34;
@@ -83,7 +84,7 @@
#X obj 673 472 setosc 39;
#X obj 762 519 *~ 1;
#X obj 809 519 / 100;
-#X floatatom 853 519 5 0 0;
+#X floatatom 853 519 5 0 0 0 - - -;
#X obj 813 311 setosc 40;
#X obj 813 334 setosc 41;
#X obj 813 357 setosc 42;
@@ -94,7 +95,7 @@
#X obj 814 473 setosc 47;
#X obj 903 519 *~ 1;
#X obj 950 519 / 100;
-#X floatatom 994 519 5 0 0;
+#X floatatom 994 519 5 0 0 0 - - -;
#X obj 954 311 setosc 48;
#X obj 954 334 setosc 49;
#X obj 954 357 setosc 50;
@@ -105,7 +106,7 @@
#X obj 955 473 setosc 55;
#X obj 1041 518 *~ 1;
#X obj 1088 518 / 100;
-#X floatatom 1132 518 5 0 0;
+#X floatatom 1132 518 5 0 0 0 - - -;
#X obj 1092 310 setosc 56;
#X obj 1092 333 setosc 57;
#X obj 1092 356 setosc 58;
@@ -114,6 +115,7 @@
#X obj 1092 425 setosc 61;
#X obj 1092 448 setosc 62;
#X obj 1093 472 setosc 63;
+#X obj 682 9 import unauthorized;
#X connect 0 0 20 0;
#X connect 1 0 0 1;
#X connect 2 0 1 0;
diff --git a/setosc.pd b/examples/setosc.pd
index 6cb4ff0..6cb4ff0 100644
--- a/setosc.pd
+++ b/examples/setosc.pd
diff --git a/examples/test-streaming-mp3.pd b/examples/test-streaming-mp3.pd
new file mode 100644
index 0000000..b097d78
--- /dev/null
+++ b/examples/test-streaming-mp3.pd
@@ -0,0 +1,98 @@
+#N canvas 252 67 986 678 10;
+#X declare -lib unauthorized;
+#X msg 63 88 bang;
+#X obj 63 108 openpanel;
+#X obj 63 130 t s b;
+#X obj 63 167 pack s s;
+#X obj 99 130 float \$0;
+#X text 51 69 Step 1 : Load a sound file;
+#X obj 117 167 makefilename %d-sample;
+#X msg 443 310 \; pd dsp 1;
+#X msg 509 310 \; pd dsp 0;
+#X obj 454 284 loadbang;
+#X obj 62 247 mp3streamout~;
+#X floatatom 63 270 5 0 0 0 - - -;
+#X obj 62 211 readsf~;
+#X msg 62 188 open \$1 \$2;
+#X msg 33 178 1;
+#X msg 265 215 disconnect;
+#X obj 63 147 route float;
+#X msg 569 77 bang;
+#X obj 569 97 openpanel;
+#X obj 569 119 t s b;
+#X obj 569 156 pack s s;
+#X obj 605 119 float \$0;
+#X text 557 58 Step 1 : Load a sound file;
+#X obj 623 156 makefilename %d-sample;
+#X obj 568 236 mp3streamout~;
+#X floatatom 569 259 5 0 0 0 - - -;
+#X obj 568 200 readsf~;
+#X msg 568 177 open \$1 \$2;
+#X msg 539 167 1;
+#X msg 784 207 disconnect;
+#X obj 569 136 route float;
+#X obj 364 492 dac~;
+#X obj 361 468 *~;
+#X floatatom 416 495 5 0 0 0 - - -;
+#X symbolatom 459 467 15 0 0 0 - - -;
+#X obj 407 470 / 100;
+#X obj 122 500 dac~;
+#X obj 119 476 *~;
+#X floatatom 174 503 5 0 0 0 - - -;
+#X symbolatom 217 475 10 0 0 0 - - -;
+#X obj 165 478 / 100;
+#X obj 96 449 mp3streamin~ 5001 1;
+#X obj 345 440 mp3streamin~ 5000 1;
+#X msg 777 179 connect yves 5001;
+#X msg 246 258 mpeg 32 2 5;
+#X msg 246 258 mpeg 32 2 5;
+#X msg 246 294 mpeg 224 2 5;
+#X msg 258 187 connect localhost 5000;
+#X msg 263 155 connect dregs 5000;
+#X obj 816 13 import unauthorized;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 1 4 0;
+#X connect 3 0 13 0;
+#X connect 4 0 16 0;
+#X connect 6 0 3 1;
+#X connect 9 0 7 0;
+#X connect 10 0 11 0;
+#X connect 12 0 10 0;
+#X connect 12 0 10 1;
+#X connect 13 0 12 0;
+#X connect 14 0 12 0;
+#X connect 15 0 10 0;
+#X connect 16 0 6 0;
+#X connect 17 0 18 0;
+#X connect 18 0 19 0;
+#X connect 19 0 20 0;
+#X connect 19 1 21 0;
+#X connect 20 0 27 0;
+#X connect 21 0 30 0;
+#X connect 23 0 20 1;
+#X connect 24 0 25 0;
+#X connect 26 0 24 0;
+#X connect 26 0 24 1;
+#X connect 27 0 26 0;
+#X connect 28 0 26 0;
+#X connect 29 0 24 0;
+#X connect 30 0 23 0;
+#X connect 32 0 31 0;
+#X connect 32 0 31 1;
+#X connect 33 0 35 0;
+#X connect 35 0 32 1;
+#X connect 37 0 36 0;
+#X connect 37 0 36 1;
+#X connect 38 0 40 0;
+#X connect 40 0 37 1;
+#X connect 41 0 37 0;
+#X connect 41 2 39 0;
+#X connect 42 0 32 0;
+#X connect 42 2 34 0;
+#X connect 43 0 24 0;
+#X connect 44 0 10 0;
+#X connect 46 0 10 0;
+#X connect 47 0 10 0;
+#X connect 48 0 10 0;
diff --git a/examples/xmms.pd b/examples/xmms.pd
new file mode 100644
index 0000000..fb37327
--- /dev/null
+++ b/examples/xmms.pd
@@ -0,0 +1,146 @@
+#N canvas 146 29 756 589 10;
+#X declare -lib unauthorized;
+#X obj 411 164 mp3fileout~;
+#X floatatom 411 185 5 0 0 0 - - -;
+#X floatatom 456 185 5 0 0 0 - - -;
+#X msg 409 133 open \$1;
+#X msg 466 133 start;
+#X msg 511 134 stop;
+#X text 534 174 Number of frames emitted;
+#X text 396 204 Connection state;
+#X symbolatom 127 306 80 0 0 0 - - -;
+#X floatatom 520 83 5 0 0 0 - - -;
+#X obj 20 77 playlist mp3 300 200;
+#X msg 651 57 bang;
+#X text 23 37 Step 1 : point to your MP3s directory;
+#X obj 357 533 dac~;
+#X symbolatom 131 458 10 0 0 0 - - -;
+#X text 127 472 Incomer's address;
+#X obj 349 490 *~ 1;
+#X floatatom 461 533 5 0 0 0 - - -;
+#X obj 427 533 / 100;
+#X obj 390 490 *~ 1;
+#X text 501 535 Volume;
+#X msg 336 58 connect localhost 5672;
+#X obj 95 361 mp3streamin~ 5672 1;
+#X text 295 35 Step 2 : connect to the streamer;
+#X text 65 305 Playing :;
+#X msg 463 84 seek \$1;
+#X text 566 31 Step 3 :start random play;
+#X obj 657 430 loadbang;
+#X msg 656 454 \; pd dsp 1;
+#X msg 379 240 seek \$1;
+#X obj 437 239 hsl 128 15 0 1e+07 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 0 0;
+#X msg 547 134 disconnect;
+#X obj 573 57 random 1000;
+#X msg 620 93 seed \$1;
+#X floatatom 673 93 5 0 0 0 - - -;
+#X msg 634 240 bang;
+#X text 575 284 Step 3 bis :start seq play;
+#X obj 592 240 countn;
+#X obj 578 262 - 1;
+#X floatatom 531 263 5 0 0 0 - - -;
+#X obj 551 207 spigot;
+#X obj 599 206 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
+1;
+#X msg 624 206 1;
+#X obj 618 115 spigot;
+#X obj 666 114 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
+1;
+#X msg 691 114 1;
+#X obj 362 461 ekwalizer --------------------------;
+#X msg 544 335 100;
+#X obj 385 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 7900 1;
+#X obj 408 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 7900 1;
+#X obj 432 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 7900 1;
+#X obj 454 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 7900 1;
+#X obj 477 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 0 1;
+#X obj 498 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 0 1;
+#X obj 516 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 0 1;
+#X obj 534 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 0 1;
+#X obj 552 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 0 1;
+#X obj 573 363 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
+-1 -1 0 1;
+#X obj 579 335 loadbang;
+#X obj 494 559 loadbang;
+#X msg 463 559 50;
+#X obj 259 506 compressor~;
+#X floatatom 279 454 5 0 0 0 - - -;
+#X obj 241 529 env~;
+#X obj 266 483 / 100;
+#X obj 618 7 import unauthorized;
+#X connect 0 0 1 0;
+#X connect 0 1 2 0;
+#X connect 0 2 40 0;
+#X connect 0 2 43 0;
+#X connect 3 0 0 0;
+#X connect 4 0 0 0;
+#X connect 5 0 0 0;
+#X connect 10 0 8 0;
+#X connect 10 0 3 0;
+#X connect 11 0 32 0;
+#X connect 11 0 45 0;
+#X connect 16 0 61 0;
+#X connect 17 0 18 0;
+#X connect 18 0 16 1;
+#X connect 18 0 19 1;
+#X connect 19 0 61 0;
+#X connect 21 0 0 0;
+#X connect 21 0 4 0;
+#X connect 22 0 46 0;
+#X connect 22 1 46 0;
+#X connect 22 2 14 0;
+#X connect 25 0 10 0;
+#X connect 27 0 28 0;
+#X connect 29 0 0 0;
+#X connect 30 0 29 0;
+#X connect 31 0 0 0;
+#X connect 32 0 9 0;
+#X connect 32 0 25 0;
+#X connect 33 0 32 0;
+#X connect 34 0 33 0;
+#X connect 35 0 37 0;
+#X connect 35 0 42 0;
+#X connect 37 0 38 0;
+#X connect 38 0 25 0;
+#X connect 38 0 39 0;
+#X connect 40 0 37 0;
+#X connect 41 0 40 1;
+#X connect 42 0 41 0;
+#X connect 43 0 32 0;
+#X connect 44 0 43 1;
+#X connect 45 0 44 0;
+#X connect 46 0 19 0;
+#X connect 46 0 16 0;
+#X connect 47 0 48 0;
+#X connect 47 0 49 0;
+#X connect 47 0 50 0;
+#X connect 47 0 51 0;
+#X connect 48 0 46 1;
+#X connect 49 0 46 2;
+#X connect 50 0 46 3;
+#X connect 51 0 46 4;
+#X connect 52 0 46 5;
+#X connect 53 0 46 6;
+#X connect 54 0 46 7;
+#X connect 55 0 46 8;
+#X connect 56 0 46 9;
+#X connect 57 0 46 10;
+#X connect 58 0 47 0;
+#X connect 59 0 60 0;
+#X connect 60 0 17 0;
+#X connect 61 0 13 0;
+#X connect 61 0 13 1;
+#X connect 61 0 63 0;
+#X connect 62 0 64 0;
+#X connect 64 0 61 1;
diff --git a/graphic-mp3amp~-help.pd b/graphic-mp3amp~-help.pd
deleted file mode 100644
index 241a607..0000000
--- a/graphic-mp3amp~-help.pd
+++ /dev/null
@@ -1,52 +0,0 @@
-#N canvas 171 33 789 555 10;
-#X obj 115 265 dac~;
-#X floatatom 164 265 5 0 0;
-#X msg 29 150 disconnect;
-#X text 208 267 connection status;
-#X obj 458 48 loadbang;
-#X msg 458 71 \; pd dsp 1;
-#X msg 99 76 connect yves puredata 8000;
-#X text 96 55 connect <host> <mountpoint> <port>;
-#X text 38 18 constructor : mp3amp~ <graphic flag = 0 | 1>;
-#X text 151 127 connect to SHOUTcast server;
-#X msg 157 145 connect localhost listen.pls 8000;
-#X msg 176 165 connect localhost content/scpromo.mp3 8000;
-#X text 399 141 <-- play livestream;
-#X text 479 165 <-- play file;
-#X msg 121 99 connect localhost kas 8000;
-#X text 97 44 connect to ICEcast server;
-#X text 38 7 mp3amp~ : an icecast/shoucast client for PD;
-#X text 226 186 Another way of connecting;
-#X msg 226 205 connecturl http://localhost:8000/kas;
-#X msg 31 374 standby 0;
-#X text 114 380 for CPU load reasons \,;
-#X text 115 392 ability to freeze decoding;
-#X text 114 405 ( packets are read and ignored );
-#X msg 31 399 standby 1;
-#X obj 115 196 mp3amp~ 1;
-#X msg 353 230 connecturl http://216.235.81.7:20690/play?session=panjabiradio:0&amp\;lid=-1-fra&amp\;SaneID=212.198.0.97-1030988754258
-;
-#X msg 352 280 connecturl http://213.197.144.44:8000/;
-#X msg 352 334 connecturl http://24.207.26.60:8000/;
-#X msg 354 307 connecturl http://64.113.197.158:8000/;
-#X msg 352 361 connecturl http://liveice.agria.hu:8000/radioeger-hq
-;
-#X text 406 511 Authors : Yves Degoyon ( ydegoyon@free.fr );
-#X connect 2 0 24 0;
-#X connect 4 0 5 0;
-#X connect 6 0 24 0;
-#X connect 10 0 24 0;
-#X connect 11 0 24 0;
-#X connect 14 0 24 0;
-#X connect 18 0 24 0;
-#X connect 19 0 24 0;
-#X connect 23 0 24 0;
-#X connect 24 0 0 0;
-#X connect 24 0 0 1;
-#X connect 24 1 0 1;
-#X connect 24 2 1 0;
-#X connect 25 0 24 0;
-#X connect 26 0 24 0;
-#X connect 27 0 24 0;
-#X connect 28 0 24 0;
-#X connect 29 0 24 0;
diff --git a/mp3amp~/mp3amp~.libs b/mp3amp~/mp3amp~.libs
deleted file mode 100644
index 25f437c..0000000
--- a/mp3amp~/mp3amp~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lmp3lame
diff --git a/mp3amp~/mpg123.h b/mp3amp~/mpg123.h
deleted file mode 100644
index 1c530d3..0000000
--- a/mp3amp~/mpg123.h
+++ /dev/null
@@ -1,136 +0,0 @@
-#ifndef MPG123_H_INCLUDED
-#define MPG123_H_INCLUDED
-
-#include <stdio.h>
-
-#define STDC_HEADERS
-
-#ifdef STDC_HEADERS
-# include <string.h>
-#else
-# ifndef HAVE_STRCHR
-# define strchr index
-# define strrchr rindex
-# endif
-char *strchr (), *strrchr ();
-# ifndef HAVE_MEMCPY
-# define memcpy(d, s, n) bcopy ((s), (d), (n))
-# define memmove(d, s, n) bcopy ((s), (d), (n))
-# endif
-#endif
-
-#include <signal.h>
-
-
-#if defined(__riscos__) && defined(FPA10)
-#include "ymath.h"
-#else
-#include <math.h>
-#endif
-
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-#ifndef M_SQRT2
-#define M_SQRT2 1.41421356237309504880
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-
-#ifdef REAL_IS_FLOAT
-# define real float
-#elif defined(REAL_IS_LONG_DOUBLE)
-# define real long double
-#else
-# define real double
-#endif
-
-#define FALSE 0
-#define TRUE 1
-
-#define SBLIMIT 32
-#define SSLIMIT 18
-
-#define MPG_MD_STEREO 0
-#define MPG_MD_JOINT_STEREO 1
-#define MPG_MD_DUAL_CHANNEL 2
-#define MPG_MD_MONO 3
-
-#define MAXFRAMESIZE 1792
-
-/* AF: ADDED FOR LAYER1/LAYER2 */
-#define SCALE_BLOCK 12
-
-
-/* Pre Shift fo 16 to 8 bit converter table */
-#define AUSHIFT (3)
-
-struct frame {
- int stereo;
- int jsbound;
- int single;
- int lsf;
- int mpeg25;
- int header_change;
- int lay;
- int error_protection;
- int bitrate_index;
- int sampling_frequency;
- int padding;
- int extension;
- int mode;
- int mode_ext;
- int copyright;
- int original;
- int emphasis;
- int framesize; /* computed framesize */
-
- /* AF: ADDED FOR LAYER1/LAYER2 */
-#if defined(USE_LAYER_2) || defined(USE_LAYER_1)
- int II_sblimit;
- struct al_table2 *alloc;
- int down_sample_sblimit;
- int down_sample;
-
-#endif
-
-};
-
-struct gr_info_s {
- int scfsi;
- unsigned part2_3_length;
- unsigned big_values;
- unsigned scalefac_compress;
- unsigned block_type;
- unsigned mixed_block_flag;
- unsigned table_select[3];
- unsigned subblock_gain[3];
- unsigned maxband[3];
- unsigned maxbandl;
- unsigned maxb;
- unsigned region1start;
- unsigned region2start;
- unsigned preflag;
- unsigned scalefac_scale;
- unsigned count1table_select;
- real *full_gain[3];
- real *pow2gain;
-};
-
-struct III_sideinfo
-{
- unsigned main_data_begin;
- unsigned private_bits;
- struct {
- struct gr_info_s gr[2];
- } ch[2];
-};
-
-
-#endif
diff --git a/mp3cast~/mp3cast~.libs b/mp3cast~/mp3cast~.libs
deleted file mode 100644
index 25f437c..0000000
--- a/mp3cast~/mp3cast~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lmp3lame
diff --git a/mp3cast~/mpg123.h b/mp3cast~/mpg123.h
deleted file mode 100644
index 1c530d3..0000000
--- a/mp3cast~/mpg123.h
+++ /dev/null
@@ -1,136 +0,0 @@
-#ifndef MPG123_H_INCLUDED
-#define MPG123_H_INCLUDED
-
-#include <stdio.h>
-
-#define STDC_HEADERS
-
-#ifdef STDC_HEADERS
-# include <string.h>
-#else
-# ifndef HAVE_STRCHR
-# define strchr index
-# define strrchr rindex
-# endif
-char *strchr (), *strrchr ();
-# ifndef HAVE_MEMCPY
-# define memcpy(d, s, n) bcopy ((s), (d), (n))
-# define memmove(d, s, n) bcopy ((s), (d), (n))
-# endif
-#endif
-
-#include <signal.h>
-
-
-#if defined(__riscos__) && defined(FPA10)
-#include "ymath.h"
-#else
-#include <math.h>
-#endif
-
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-#ifndef M_SQRT2
-#define M_SQRT2 1.41421356237309504880
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-
-#ifdef REAL_IS_FLOAT
-# define real float
-#elif defined(REAL_IS_LONG_DOUBLE)
-# define real long double
-#else
-# define real double
-#endif
-
-#define FALSE 0
-#define TRUE 1
-
-#define SBLIMIT 32
-#define SSLIMIT 18
-
-#define MPG_MD_STEREO 0
-#define MPG_MD_JOINT_STEREO 1
-#define MPG_MD_DUAL_CHANNEL 2
-#define MPG_MD_MONO 3
-
-#define MAXFRAMESIZE 1792
-
-/* AF: ADDED FOR LAYER1/LAYER2 */
-#define SCALE_BLOCK 12
-
-
-/* Pre Shift fo 16 to 8 bit converter table */
-#define AUSHIFT (3)
-
-struct frame {
- int stereo;
- int jsbound;
- int single;
- int lsf;
- int mpeg25;
- int header_change;
- int lay;
- int error_protection;
- int bitrate_index;
- int sampling_frequency;
- int padding;
- int extension;
- int mode;
- int mode_ext;
- int copyright;
- int original;
- int emphasis;
- int framesize; /* computed framesize */
-
- /* AF: ADDED FOR LAYER1/LAYER2 */
-#if defined(USE_LAYER_2) || defined(USE_LAYER_1)
- int II_sblimit;
- struct al_table2 *alloc;
- int down_sample_sblimit;
- int down_sample;
-
-#endif
-
-};
-
-struct gr_info_s {
- int scfsi;
- unsigned part2_3_length;
- unsigned big_values;
- unsigned scalefac_compress;
- unsigned block_type;
- unsigned mixed_block_flag;
- unsigned table_select[3];
- unsigned subblock_gain[3];
- unsigned maxband[3];
- unsigned maxbandl;
- unsigned maxb;
- unsigned region1start;
- unsigned region2start;
- unsigned preflag;
- unsigned scalefac_scale;
- unsigned count1table_select;
- real *full_gain[3];
- real *pow2gain;
-};
-
-struct III_sideinfo
-{
- unsigned main_data_begin;
- unsigned private_bits;
- struct {
- struct gr_info_s gr[2];
- } ch[2];
-};
-
-
-#endif
diff --git a/mp3live~-help.pd b/mp3fileout~-help.pd
index ac68464..ac68464 100644
--- a/mp3live~-help.pd
+++ b/mp3fileout~-help.pd
diff --git a/mp3live~/mp3fileout~.libs b/mp3live~/mp3fileout~.libs
deleted file mode 100644
index 25f437c..0000000
--- a/mp3live~/mp3fileout~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lmp3lame
diff --git a/mp3live~/mp3streamin~.libs b/mp3live~/mp3streamin~.libs
deleted file mode 100644
index 25f437c..0000000
--- a/mp3live~/mp3streamin~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lmp3lame
diff --git a/mp3live~/mp3streamout~.libs b/mp3live~/mp3streamout~.libs
deleted file mode 100644
index 25f437c..0000000
--- a/mp3live~/mp3streamout~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lmp3lame
diff --git a/mp3live~/mpg123.h b/mp3live~/mpg123.h
deleted file mode 100644
index 1c530d3..0000000
--- a/mp3live~/mpg123.h
+++ /dev/null
@@ -1,136 +0,0 @@
-#ifndef MPG123_H_INCLUDED
-#define MPG123_H_INCLUDED
-
-#include <stdio.h>
-
-#define STDC_HEADERS
-
-#ifdef STDC_HEADERS
-# include <string.h>
-#else
-# ifndef HAVE_STRCHR
-# define strchr index
-# define strrchr rindex
-# endif
-char *strchr (), *strrchr ();
-# ifndef HAVE_MEMCPY
-# define memcpy(d, s, n) bcopy ((s), (d), (n))
-# define memmove(d, s, n) bcopy ((s), (d), (n))
-# endif
-#endif
-
-#include <signal.h>
-
-
-#if defined(__riscos__) && defined(FPA10)
-#include "ymath.h"
-#else
-#include <math.h>
-#endif
-
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-#ifndef M_SQRT2
-#define M_SQRT2 1.41421356237309504880
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-
-#ifdef REAL_IS_FLOAT
-# define real float
-#elif defined(REAL_IS_LONG_DOUBLE)
-# define real long double
-#else
-# define real double
-#endif
-
-#define FALSE 0
-#define TRUE 1
-
-#define SBLIMIT 32
-#define SSLIMIT 18
-
-#define MPG_MD_STEREO 0
-#define MPG_MD_JOINT_STEREO 1
-#define MPG_MD_DUAL_CHANNEL 2
-#define MPG_MD_MONO 3
-
-#define MAXFRAMESIZE 1792
-
-/* AF: ADDED FOR LAYER1/LAYER2 */
-#define SCALE_BLOCK 12
-
-
-/* Pre Shift fo 16 to 8 bit converter table */
-#define AUSHIFT (3)
-
-struct frame {
- int stereo;
- int jsbound;
- int single;
- int lsf;
- int mpeg25;
- int header_change;
- int lay;
- int error_protection;
- int bitrate_index;
- int sampling_frequency;
- int padding;
- int extension;
- int mode;
- int mode_ext;
- int copyright;
- int original;
- int emphasis;
- int framesize; /* computed framesize */
-
- /* AF: ADDED FOR LAYER1/LAYER2 */
-#if defined(USE_LAYER_2) || defined(USE_LAYER_1)
- int II_sblimit;
- struct al_table2 *alloc;
- int down_sample_sblimit;
- int down_sample;
-
-#endif
-
-};
-
-struct gr_info_s {
- int scfsi;
- unsigned part2_3_length;
- unsigned big_values;
- unsigned scalefac_compress;
- unsigned block_type;
- unsigned mixed_block_flag;
- unsigned table_select[3];
- unsigned subblock_gain[3];
- unsigned maxband[3];
- unsigned maxbandl;
- unsigned maxb;
- unsigned region1start;
- unsigned region2start;
- unsigned preflag;
- unsigned scalefac_scale;
- unsigned count1table_select;
- real *full_gain[3];
- real *pow2gain;
-};
-
-struct III_sideinfo
-{
- unsigned main_data_begin;
- unsigned private_bits;
- struct {
- struct gr_info_s gr[2];
- } ch[2];
-};
-
-
-#endif
diff --git a/mp3streamin~-help.pd b/mp3streamin~-help.pd
new file mode 100644
index 0000000..ac68464
--- /dev/null
+++ b/mp3streamin~-help.pd
@@ -0,0 +1,118 @@
+#N canvas 11 -3 941 684 10;
+#X msg 35 594 \; pd dsp 1;
+#X text 432 123 <-- settings for mp3 stream;
+#X text 492 177 1 = joint stereo (default);
+#X text 456 165 mode: 0 = stereo;
+#X text 492 189 2 = dual channel;
+#X msg 101 594 \; pd dsp 0;
+#X obj 551 317 dac~;
+#X msg 368 80 disconnect;
+#X floatatom 221 227 5 0 0;
+#X obj 221 199 mp3streamout~;
+#X msg 367 54 connect localhost 5000;
+#X msg 767 69 bang;
+#X obj 767 89 openpanel;
+#X obj 766 186 soundfiler;
+#X floatatom 767 210 10 0 0;
+#X obj 767 111 t s b;
+#X obj 767 148 pack s s;
+#X msg 766 169 read -resize \$1 \$2;
+#X obj 803 111 float \$0;
+#X text 755 50 Step 1 : Load a sound file;
+#X obj 767 128 route float;
+#X obj 123 149 tabplay~ \$0-sample;
+#X msg 123 120 bang;
+#X obj 114 627 table \$0-sample;
+#X obj 821 148 makefilename %d-sample;
+#X text 371 34 Step 2 : connect the streamer;
+#X text 8 100 Step 3 : emit a sound through the streamer;
+#X obj 234 276 env~;
+#X obj 67 310 timer;
+#X obj 207 276 > 0;
+#X obj 159 276 route 1;
+#X obj 122 276 t b f;
+#X floatatom 121 340 5 0 0;
+#X obj 80 276 spigot;
+#X msg 102 256 0;
+#X msg 130 256 1;
+#X text 453 135 (bitrate \, mode \, quality);
+#X text 453 227 Note : resampling is not supported for now;
+#X text 454 238 Note : see the README for allowed bitrate;
+#X text 30 9 mp3live~ : mp3streamout~ / mp3streamin~;
+#X text 30 20 peer-to-peer mp3 streaming \, written by ydegoyon@free.fr
+;
+#X msg 342 147 mpeg 32 2 9;
+#X text 492 202 3 = mono ( not supported );
+#X text 455 153 bitrate: bitrate of stream \, def. 128kbit/s;
+#X text 452 215 quality: 5 = high \, 9 = low;
+#X text 85 360 streamer latency (ms);
+#X obj 35 573 loadbang;
+#X msg 343 123 mpeg 128 0 5;
+#X obj 536 270 mp3streamin~ 5000 1;
+#X symbolatom 639 300 10 0 0;
+#X text 622 316 Incomer's address;
+#X floatatom 229 496 5 0 0;
+#X floatatom 327 498 5 0 0;
+#X text 282 366 Step 3 bis : emit a file through the streamer;
+#X msg 298 386 bang;
+#X msg 299 423 open \$1;
+#X msg 393 410 disconnect;
+#X msg 393 391 connect localhost 5000;
+#X msg 393 429 start;
+#X msg 438 430 stop;
+#X obj 298 406 openpanel;
+#X text 292 522 Number of frames emitted;
+#X text 160 515 Connection state;
+#X text 31 36 Warning : mp3fileout~ will not read ANY mp3 file \,;
+#X text 30 46 but \, at least \, those produced with mp3write~.;
+#X msg 474 430 resume;
+#X msg 524 429 seek 10000;
+#X text 391 503 A bang is emitted at the end of the file;
+#X obj 301 454 mp3fileout~;
+#X obj 389 485 print thisistheend;
+#X connect 7 0 9 0;
+#X connect 9 0 8 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 0;
+#X connect 12 0 15 0;
+#X connect 13 0 14 0;
+#X connect 15 0 16 0;
+#X connect 15 1 18 0;
+#X connect 16 0 17 0;
+#X connect 17 0 13 0;
+#X connect 18 0 20 0;
+#X connect 20 0 24 0;
+#X connect 21 0 9 0;
+#X connect 21 0 9 1;
+#X connect 22 0 21 0;
+#X connect 22 0 28 0;
+#X connect 22 0 35 0;
+#X connect 24 0 16 1;
+#X connect 27 0 29 0;
+#X connect 28 0 32 0;
+#X connect 29 0 30 0;
+#X connect 30 0 31 0;
+#X connect 31 0 33 0;
+#X connect 32 0 34 0;
+#X connect 33 0 28 1;
+#X connect 34 0 33 1;
+#X connect 35 0 33 1;
+#X connect 41 0 9 0;
+#X connect 46 0 0 0;
+#X connect 47 0 9 0;
+#X connect 48 0 6 0;
+#X connect 48 0 27 0;
+#X connect 48 1 6 1;
+#X connect 48 2 49 0;
+#X connect 54 0 60 0;
+#X connect 55 0 68 0;
+#X connect 56 0 68 0;
+#X connect 57 0 68 0;
+#X connect 58 0 68 0;
+#X connect 59 0 68 0;
+#X connect 60 0 55 0;
+#X connect 65 0 68 0;
+#X connect 66 0 68 0;
+#X connect 68 0 51 0;
+#X connect 68 1 52 0;
+#X connect 68 2 69 0;
diff --git a/mp3streamout~-help.pd b/mp3streamout~-help.pd
new file mode 100644
index 0000000..ac68464
--- /dev/null
+++ b/mp3streamout~-help.pd
@@ -0,0 +1,118 @@
+#N canvas 11 -3 941 684 10;
+#X msg 35 594 \; pd dsp 1;
+#X text 432 123 <-- settings for mp3 stream;
+#X text 492 177 1 = joint stereo (default);
+#X text 456 165 mode: 0 = stereo;
+#X text 492 189 2 = dual channel;
+#X msg 101 594 \; pd dsp 0;
+#X obj 551 317 dac~;
+#X msg 368 80 disconnect;
+#X floatatom 221 227 5 0 0;
+#X obj 221 199 mp3streamout~;
+#X msg 367 54 connect localhost 5000;
+#X msg 767 69 bang;
+#X obj 767 89 openpanel;
+#X obj 766 186 soundfiler;
+#X floatatom 767 210 10 0 0;
+#X obj 767 111 t s b;
+#X obj 767 148 pack s s;
+#X msg 766 169 read -resize \$1 \$2;
+#X obj 803 111 float \$0;
+#X text 755 50 Step 1 : Load a sound file;
+#X obj 767 128 route float;
+#X obj 123 149 tabplay~ \$0-sample;
+#X msg 123 120 bang;
+#X obj 114 627 table \$0-sample;
+#X obj 821 148 makefilename %d-sample;
+#X text 371 34 Step 2 : connect the streamer;
+#X text 8 100 Step 3 : emit a sound through the streamer;
+#X obj 234 276 env~;
+#X obj 67 310 timer;
+#X obj 207 276 > 0;
+#X obj 159 276 route 1;
+#X obj 122 276 t b f;
+#X floatatom 121 340 5 0 0;
+#X obj 80 276 spigot;
+#X msg 102 256 0;
+#X msg 130 256 1;
+#X text 453 135 (bitrate \, mode \, quality);
+#X text 453 227 Note : resampling is not supported for now;
+#X text 454 238 Note : see the README for allowed bitrate;
+#X text 30 9 mp3live~ : mp3streamout~ / mp3streamin~;
+#X text 30 20 peer-to-peer mp3 streaming \, written by ydegoyon@free.fr
+;
+#X msg 342 147 mpeg 32 2 9;
+#X text 492 202 3 = mono ( not supported );
+#X text 455 153 bitrate: bitrate of stream \, def. 128kbit/s;
+#X text 452 215 quality: 5 = high \, 9 = low;
+#X text 85 360 streamer latency (ms);
+#X obj 35 573 loadbang;
+#X msg 343 123 mpeg 128 0 5;
+#X obj 536 270 mp3streamin~ 5000 1;
+#X symbolatom 639 300 10 0 0;
+#X text 622 316 Incomer's address;
+#X floatatom 229 496 5 0 0;
+#X floatatom 327 498 5 0 0;
+#X text 282 366 Step 3 bis : emit a file through the streamer;
+#X msg 298 386 bang;
+#X msg 299 423 open \$1;
+#X msg 393 410 disconnect;
+#X msg 393 391 connect localhost 5000;
+#X msg 393 429 start;
+#X msg 438 430 stop;
+#X obj 298 406 openpanel;
+#X text 292 522 Number of frames emitted;
+#X text 160 515 Connection state;
+#X text 31 36 Warning : mp3fileout~ will not read ANY mp3 file \,;
+#X text 30 46 but \, at least \, those produced with mp3write~.;
+#X msg 474 430 resume;
+#X msg 524 429 seek 10000;
+#X text 391 503 A bang is emitted at the end of the file;
+#X obj 301 454 mp3fileout~;
+#X obj 389 485 print thisistheend;
+#X connect 7 0 9 0;
+#X connect 9 0 8 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 0;
+#X connect 12 0 15 0;
+#X connect 13 0 14 0;
+#X connect 15 0 16 0;
+#X connect 15 1 18 0;
+#X connect 16 0 17 0;
+#X connect 17 0 13 0;
+#X connect 18 0 20 0;
+#X connect 20 0 24 0;
+#X connect 21 0 9 0;
+#X connect 21 0 9 1;
+#X connect 22 0 21 0;
+#X connect 22 0 28 0;
+#X connect 22 0 35 0;
+#X connect 24 0 16 1;
+#X connect 27 0 29 0;
+#X connect 28 0 32 0;
+#X connect 29 0 30 0;
+#X connect 30 0 31 0;
+#X connect 31 0 33 0;
+#X connect 32 0 34 0;
+#X connect 33 0 28 1;
+#X connect 34 0 33 1;
+#X connect 35 0 33 1;
+#X connect 41 0 9 0;
+#X connect 46 0 0 0;
+#X connect 47 0 9 0;
+#X connect 48 0 6 0;
+#X connect 48 0 27 0;
+#X connect 48 1 6 1;
+#X connect 48 2 49 0;
+#X connect 54 0 60 0;
+#X connect 55 0 68 0;
+#X connect 56 0 68 0;
+#X connect 57 0 68 0;
+#X connect 58 0 68 0;
+#X connect 59 0 68 0;
+#X connect 60 0 55 0;
+#X connect 65 0 68 0;
+#X connect 66 0 68 0;
+#X connect 68 0 51 0;
+#X connect 68 1 52 0;
+#X connect 68 2 69 0;
diff --git a/mp3write~/mp3write~.libs b/mp3write~/mp3write~.libs
deleted file mode 100644
index 25f437c..0000000
--- a/mp3write~/mp3write~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lmp3lame
diff --git a/mp3write~/mpg123.h b/mp3write~/mpg123.h
deleted file mode 100644
index 1c530d3..0000000
--- a/mp3write~/mpg123.h
+++ /dev/null
@@ -1,136 +0,0 @@
-#ifndef MPG123_H_INCLUDED
-#define MPG123_H_INCLUDED
-
-#include <stdio.h>
-
-#define STDC_HEADERS
-
-#ifdef STDC_HEADERS
-# include <string.h>
-#else
-# ifndef HAVE_STRCHR
-# define strchr index
-# define strrchr rindex
-# endif
-char *strchr (), *strrchr ();
-# ifndef HAVE_MEMCPY
-# define memcpy(d, s, n) bcopy ((s), (d), (n))
-# define memmove(d, s, n) bcopy ((s), (d), (n))
-# endif
-#endif
-
-#include <signal.h>
-
-
-#if defined(__riscos__) && defined(FPA10)
-#include "ymath.h"
-#else
-#include <math.h>
-#endif
-
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-#ifndef M_SQRT2
-#define M_SQRT2 1.41421356237309504880
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-
-#ifdef REAL_IS_FLOAT
-# define real float
-#elif defined(REAL_IS_LONG_DOUBLE)
-# define real long double
-#else
-# define real double
-#endif
-
-#define FALSE 0
-#define TRUE 1
-
-#define SBLIMIT 32
-#define SSLIMIT 18
-
-#define MPG_MD_STEREO 0
-#define MPG_MD_JOINT_STEREO 1
-#define MPG_MD_DUAL_CHANNEL 2
-#define MPG_MD_MONO 3
-
-#define MAXFRAMESIZE 1792
-
-/* AF: ADDED FOR LAYER1/LAYER2 */
-#define SCALE_BLOCK 12
-
-
-/* Pre Shift fo 16 to 8 bit converter table */
-#define AUSHIFT (3)
-
-struct frame {
- int stereo;
- int jsbound;
- int single;
- int lsf;
- int mpeg25;
- int header_change;
- int lay;
- int error_protection;
- int bitrate_index;
- int sampling_frequency;
- int padding;
- int extension;
- int mode;
- int mode_ext;
- int copyright;
- int original;
- int emphasis;
- int framesize; /* computed framesize */
-
- /* AF: ADDED FOR LAYER1/LAYER2 */
-#if defined(USE_LAYER_2) || defined(USE_LAYER_1)
- int II_sblimit;
- struct al_table2 *alloc;
- int down_sample_sblimit;
- int down_sample;
-
-#endif
-
-};
-
-struct gr_info_s {
- int scfsi;
- unsigned part2_3_length;
- unsigned big_values;
- unsigned scalefac_compress;
- unsigned block_type;
- unsigned mixed_block_flag;
- unsigned table_select[3];
- unsigned subblock_gain[3];
- unsigned maxband[3];
- unsigned maxbandl;
- unsigned maxb;
- unsigned region1start;
- unsigned region2start;
- unsigned preflag;
- unsigned scalefac_scale;
- unsigned count1table_select;
- real *full_gain[3];
- real *pow2gain;
-};
-
-struct III_sideinfo
-{
- unsigned main_data_begin;
- unsigned private_bits;
- struct {
- struct gr_info_s gr[2];
- } ch[2];
-};
-
-
-#endif
diff --git a/scrolllist.tcl b/scrolllist.tcl
index 79ca61c..79ca61c 100755..100644
--- a/scrolllist.tcl
+++ b/scrolllist.tcl
diff --git a/sonograph~-help.pd b/sonograph~-help.pd
deleted file mode 100644
index 4352c3d..0000000
--- a/sonograph~-help.pd
+++ /dev/null
@@ -1,10 +0,0 @@
-#N canvas 0 0 450 300 10;
-#X obj 134 93 rs-sonograph~;
-#X text 193 27 To work properly \, the block size;
-#X text 193 39 has to be redefined.;
-#X obj 132 130 dac~;
-#X msg 291 89 \; pd dsp 1;
-#X msg 356 90 \; pd dsp 0;
-#X text 193 51 that's why everything is in the subpatch.;
-#X connect 0 0 3 0;
-#X connect 0 0 3 1;
diff --git a/speex~-help.pd b/speexin~-help.pd
index d1c40d4..d1c40d4 100644
--- a/speex~-help.pd
+++ b/speexin~-help.pd
diff --git a/speexout~-help.pd b/speexout~-help.pd
new file mode 100644
index 0000000..d1c40d4
--- /dev/null
+++ b/speexout~-help.pd
@@ -0,0 +1,68 @@
+#N canvas 52 27 918 567 10;
+#X msg 36 286 \; pd dsp 1;
+#X msg 102 286 \; pd dsp 0;
+#X msg 323 51 disconnect;
+#X floatatom 221 227 5 0 0;
+#X obj 221 199 speexout~;
+#X obj 36 265 loadbang;
+#X symbolatom 679 245 20 0 0;
+#X text 662 261 Incomer's address;
+#X text 26 8 speex~ : speexout~ / speexin~;
+#X msg 343 161 quality 3;
+#X msg 345 327 quality 10;
+#X text 432 91 <-- settings for encoding quality;
+#X obj 87 145 adc~;
+#X obj 615 206 speexin~ 5000 1;
+#X text 321 8 Step 1 : connect the emitter to the receiver;
+#X text 30 124 Step 2 : speak in your microphone;
+#X text 541 487 bugs and comments @ ydegoyon@free.fr [-_-];
+#X text 541 469 part of unauthorized PD ( http://ydegoyon.free.fr )
+;
+#X msg 344 301 quality 9;
+#X msg 344 276 quality 8;
+#X msg 344 254 quality 7;
+#X msg 344 231 quality 6;
+#X msg 343 208 quality 5;
+#X msg 343 185 quality 4;
+#X msg 343 139 quality 2;
+#X msg 343 116 quality 1;
+#X msg 343 92 quality 0;
+#X text 461 104 quality: lowest = 0 \, highest = 10 \, default = 5
+;
+#X text 497 173 constructor : speexin~ <portno> <graphics>;
+#X msg 444 356 bang;
+#X obj 445 384 tabwrite~ speex-output;
+#N canvas 0 0 450 300 graph2 0;
+#X array speex-output 100 float 1;
+#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0;
+#X coords 0 1 99 -1 200 140 1;
+#X restore 172 360 graph;
+#X text 26 24 speech quality encoder/decoder/streamer;
+#X obj 611 316 dac~;
+#X msg 323 70 connect localhost 5000;
+#X msg 323 29 connect 81.65.246.123 5000;
+#X connect 2 0 4 0;
+#X connect 4 0 3 0;
+#X connect 5 0 0 0;
+#X connect 9 0 4 0;
+#X connect 10 0 4 0;
+#X connect 12 0 4 0;
+#X connect 13 0 30 0;
+#X connect 13 0 33 0;
+#X connect 13 0 33 1;
+#X connect 13 1 6 0;
+#X connect 18 0 4 0;
+#X connect 19 0 4 0;
+#X connect 20 0 4 0;
+#X connect 21 0 4 0;
+#X connect 22 0 4 0;
+#X connect 23 0 4 0;
+#X connect 24 0 4 0;
+#X connect 25 0 4 0;
+#X connect 26 0 4 0;
+#X connect 29 0 30 0;
+#X connect 34 0 4 0;
+#X connect 35 0 4 0;
diff --git a/speex~/speexin~.libs b/speex~/speexin~.libs
deleted file mode 100644
index eaefc44..0000000
--- a/speex~/speexin~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lspeex
diff --git a/speex~/speexout~.libs b/speex~/speexout~.libs
deleted file mode 100644
index eaefc44..0000000
--- a/speex~/speexout~.libs
+++ /dev/null
@@ -1 +0,0 @@
--lspeex
diff --git a/test-streaming-mp3.pd b/test-streaming-mp3.pd
deleted file mode 100644
index e9e6b2e..0000000
--- a/test-streaming-mp3.pd
+++ /dev/null
@@ -1,96 +0,0 @@
-#N canvas 15 9 986 678 10;
-#X msg 63 58 bang;
-#X obj 63 78 openpanel;
-#X obj 63 100 t s b;
-#X obj 63 137 pack s s;
-#X obj 99 100 float \$0;
-#X text 51 39 Step 1 : Load a sound file;
-#X obj 117 137 makefilename %d-sample;
-#X msg 443 280 \; pd dsp 1;
-#X msg 509 280 \; pd dsp 0;
-#X obj 454 254 loadbang;
-#X obj 62 217 mp3streamout~;
-#X floatatom 63 240 5 0 0;
-#X obj 62 181 readsf~;
-#X msg 62 158 open \$1 \$2;
-#X msg 33 148 1;
-#X msg 265 185 disconnect;
-#X obj 63 117 route float;
-#X msg 569 47 bang;
-#X obj 569 67 openpanel;
-#X obj 569 89 t s b;
-#X obj 569 126 pack s s;
-#X obj 605 89 float \$0;
-#X text 557 28 Step 1 : Load a sound file;
-#X obj 623 126 makefilename %d-sample;
-#X obj 568 206 mp3streamout~;
-#X floatatom 569 229 5 0 0;
-#X obj 568 170 readsf~;
-#X msg 568 147 open \$1 \$2;
-#X msg 539 137 1;
-#X msg 784 177 disconnect;
-#X obj 569 106 route float;
-#X obj 364 462 dac~;
-#X obj 361 438 *~;
-#X floatatom 416 465 5 0 0;
-#X symbolatom 459 437 15 0 0;
-#X obj 407 440 / 100;
-#X obj 122 470 dac~;
-#X obj 119 446 *~;
-#X floatatom 174 473 5 0 0;
-#X symbolatom 217 445 10 0 0;
-#X obj 165 448 / 100;
-#X obj 96 419 mp3streamin~ 5001 1;
-#X obj 345 410 mp3streamin~ 5000 1;
-#X msg 777 149 connect yves 5001;
-#X msg 246 228 mpeg 32 2 5;
-#X msg 246 228 mpeg 32 2 5;
-#X msg 246 264 mpeg 224 2 5;
-#X msg 258 157 connect localhost 5000;
-#X msg 263 125 connect dregs 5000;
-#X connect 0 0 1 0;
-#X connect 1 0 2 0;
-#X connect 2 0 3 0;
-#X connect 2 1 4 0;
-#X connect 3 0 13 0;
-#X connect 4 0 16 0;
-#X connect 6 0 3 1;
-#X connect 9 0 7 0;
-#X connect 10 0 11 0;
-#X connect 12 0 10 0;
-#X connect 12 0 10 1;
-#X connect 13 0 12 0;
-#X connect 14 0 12 0;
-#X connect 15 0 10 0;
-#X connect 16 0 6 0;
-#X connect 17 0 18 0;
-#X connect 18 0 19 0;
-#X connect 19 0 20 0;
-#X connect 19 1 21 0;
-#X connect 20 0 27 0;
-#X connect 21 0 30 0;
-#X connect 23 0 20 1;
-#X connect 24 0 25 0;
-#X connect 26 0 24 0;
-#X connect 26 0 24 1;
-#X connect 27 0 26 0;
-#X connect 28 0 26 0;
-#X connect 29 0 24 0;
-#X connect 30 0 23 0;
-#X connect 32 0 31 0;
-#X connect 32 0 31 1;
-#X connect 33 0 35 0;
-#X connect 35 0 32 1;
-#X connect 37 0 36 0;
-#X connect 37 0 36 1;
-#X connect 38 0 40 0;
-#X connect 40 0 37 1;
-#X connect 41 0 37 0;
-#X connect 41 2 39 0;
-#X connect 42 0 32 0;
-#X connect 42 2 34 0;
-#X connect 43 0 24 0;
-#X connect 44 0 10 0;
-#X connect 46 0 10 0;
-#X connect 47 0 10 0;
-#X connect 48 0 10 0;
diff --git a/xmms.pd b/xmms.pd
deleted file mode 100644
index b9282cd..0000000
--- a/xmms.pd
+++ /dev/null
@@ -1,144 +0,0 @@
-#N canvas 146 29 755 574 10;
-#X obj 411 144 mp3fileout~;
-#X floatatom 411 165 5 0 0;
-#X floatatom 456 165 5 0 0;
-#X msg 409 113 open \$1;
-#X msg 466 113 start;
-#X msg 511 114 stop;
-#X text 534 154 Number of frames emitted;
-#X text 396 184 Connection state;
-#X symbolatom 127 286 80 0 0;
-#X floatatom 520 63 5 0 0;
-#X obj 20 57 playlist mp3 300 200;
-#X msg 651 37 bang;
-#X text 23 17 Step 1 : point to your MP3s directory;
-#X obj 357 513 dac~;
-#X symbolatom 131 438 10 0 0;
-#X text 127 452 Incomer's address;
-#X obj 349 470 *~ 1;
-#X floatatom 461 513 5 0 0;
-#X obj 427 513 / 100;
-#X obj 390 470 *~ 1;
-#X text 501 515 Volume;
-#X msg 336 38 connect localhost 5672;
-#X obj 95 341 mp3streamin~ 5672 1;
-#X text 295 15 Step 2 : connect to the streamer;
-#X text 65 285 Playing :;
-#X msg 463 64 seek \$1;
-#X text 566 11 Step 3 :start random play;
-#X obj 657 410 loadbang;
-#X msg 656 434 \; pd dsp 1;
-#X msg 379 220 seek \$1;
-#X obj 437 219 hsl 128 15 0 1e+07 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 0 0;
-#X msg 547 114 disconnect;
-#X obj 573 37 random 1000;
-#X msg 620 73 seed \$1;
-#X floatatom 673 73 5 0 0;
-#X msg 634 220 bang;
-#X text 575 264 Step 3 bis :start seq play;
-#X obj 592 220 countn;
-#X obj 578 242 - 1;
-#X floatatom 531 243 5 0 0;
-#X obj 551 187 spigot;
-#X obj 599 186 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
-1;
-#X msg 624 186 1;
-#X obj 618 95 spigot;
-#X obj 666 94 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 1 1
-;
-#X msg 691 94 1;
-#X obj 362 441 ekwalizer --------------------------;
-#X msg 544 315 100;
-#X obj 385 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 7900 1;
-#X obj 408 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 7900 1;
-#X obj 432 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 7900 1;
-#X obj 454 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 7900 1;
-#X obj 477 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 0 1;
-#X obj 498 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 0 1;
-#X obj 516 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 0 1;
-#X obj 534 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 0 1;
-#X obj 552 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 0 1;
-#X obj 573 343 vsl 15 80 0 100 0 0 empty empty empty 20 8 0 8 -262144
--1 -1 0 1;
-#X obj 579 315 loadbang;
-#X obj 494 539 loadbang;
-#X msg 463 539 50;
-#X obj 259 486 compressor~;
-#X floatatom 279 434 5 0 0;
-#X obj 241 509 env~;
-#X obj 266 463 / 100;
-#X connect 0 0 1 0;
-#X connect 0 1 2 0;
-#X connect 0 2 40 0;
-#X connect 0 2 43 0;
-#X connect 3 0 0 0;
-#X connect 4 0 0 0;
-#X connect 5 0 0 0;
-#X connect 10 0 8 0;
-#X connect 10 0 3 0;
-#X connect 11 0 32 0;
-#X connect 11 0 45 0;
-#X connect 16 0 61 0;
-#X connect 17 0 18 0;
-#X connect 18 0 16 1;
-#X connect 18 0 19 1;
-#X connect 19 0 61 0;
-#X connect 21 0 0 0;
-#X connect 21 0 4 0;
-#X connect 22 0 46 0;
-#X connect 22 1 46 0;
-#X connect 22 2 14 0;
-#X connect 25 0 10 0;
-#X connect 27 0 28 0;
-#X connect 29 0 0 0;
-#X connect 30 0 29 0;
-#X connect 31 0 0 0;
-#X connect 32 0 9 0;
-#X connect 32 0 25 0;
-#X connect 33 0 32 0;
-#X connect 34 0 33 0;
-#X connect 35 0 37 0;
-#X connect 35 0 42 0;
-#X connect 37 0 38 0;
-#X connect 38 0 25 0;
-#X connect 38 0 39 0;
-#X connect 40 0 37 0;
-#X connect 41 0 40 1;
-#X connect 42 0 41 0;
-#X connect 43 0 32 0;
-#X connect 44 0 43 1;
-#X connect 45 0 44 0;
-#X connect 46 0 19 0;
-#X connect 46 0 16 0;
-#X connect 47 0 48 0;
-#X connect 47 0 49 0;
-#X connect 47 0 50 0;
-#X connect 47 0 51 0;
-#X connect 48 0 46 1;
-#X connect 49 0 46 2;
-#X connect 50 0 46 3;
-#X connect 51 0 46 4;
-#X connect 52 0 46 5;
-#X connect 53 0 46 6;
-#X connect 54 0 46 7;
-#X connect 55 0 46 8;
-#X connect 56 0 46 9;
-#X connect 57 0 46 10;
-#X connect 58 0 47 0;
-#X connect 59 0 60 0;
-#X connect 60 0 17 0;
-#X connect 61 0 13 0;
-#X connect 61 0 13 1;
-#X connect 61 0 63 0;
-#X connect 62 0 64 0;
-#X connect 64 0 61 1;