Live streaming?

mentioned before: some kind of way to stream an active session live to e.g. an icecast URL

internet rule of 10:1 lurkers means a jam of 5 people might have 50 listeners… people are starved for live content these days and this is good stuff :slight_smile:

evidently there was a way but not anymore? is it code that needs to be updated?

1 Like

Right. I have already an Icecast2-Server running and I also configured a mountpoint for exactly this reason. I also created a simple patch that grabs the sound mx and streams it to Icecast. This is the stream url: http://netpd.org:8010/live.mp3 . Please not that the link returns a 404 when no source is connected.

1 Like

Here is the patch (it requires mp3cast~ from unauthorized):

#N canvas 578 223 389 69 10;
#N canvas 0 99 706 584 netpd_live 0;
#X floatatom 48 537 0 0 0 0 - - -;
#X msg 43 239 disconnect;
#X msg 6 439 print;
#X msg 341 204 icecast2;
#X msg 347 352 isPublic 1;
#X obj 48 499 mp3cast~;
#X msg 62 210 connect netpd.org 8010;
#X msg 342 179 passwd deleuze;
#X msg 344 228 mountpoint live.mp3;
#X msg 349 252 name netpd_live;
#X msg 344 274 mpeg 44100 128 1 1;
#X msg 345 308 url https://netpd.org;
#X msg 346 404 genre experimental;
#X msg 346 380 description for people too lazy to install the software
;
#X obj 514 109 loadbang;
#X obj 43 183 sel 0 1;
#X obj 196 446 r~ mx.1;
#X obj 246 446 r~ mx.2;
#X obj 23 20 hsl 295 30 0 127 0 0 \$0.widget.s \$0.widget.r streaming_off
2 15 0 20 -233017 -233017 -1 0 1;
#X obj 43 91 sel;
#X obj 81 95 t a;
#X obj 43 67 r \$0.widget.s;
#X obj 48 561 s \$0.state;
#X obj 43 128 f;
#X obj 75 129 r \$0.state;
#X obj 43 151 == 0;
#X obj 171 61 r \$0.state;
#X obj 171 84 sel 0 1;
#X obj 169 176 s \$0.widget.r;
#X msg 191 109 label streaming_on \, color 6 6 -1;
#X msg 171 134 label streaming_off \, color 10 10 -1;
#X obj 492 26 loadbang;
#X msg 492 49 dsp 1;
#X obj 492 72 s pd;
#X connect 0 0 22 0;
#X connect 1 0 5 0;
#X connect 2 0 5 0;
#X connect 3 0 5 0;
#X connect 4 0 5 0;
#X connect 5 0 0 0;
#X connect 6 0 5 0;
#X connect 7 0 5 0;
#X connect 8 0 5 0;
#X connect 9 0 5 0;
#X connect 10 0 5 0;
#X connect 11 0 5 0;
#X connect 12 0 5 0;
#X connect 13 0 5 0;
#X connect 14 0 7 0;
#X connect 14 0 13 0;
#X connect 14 0 12 0;
#X connect 14 0 11 0;
#X connect 14 0 10 0;
#X connect 14 0 9 0;
#X connect 14 0 8 0;
#X connect 14 0 4 0;
#X connect 14 0 3 0;
#X connect 15 0 1 0;
#X connect 15 1 6 0;
#X connect 16 0 5 0;
#X connect 17 0 5 1;
#X connect 19 0 23 0;
#X connect 19 1 20 0;
#X connect 20 0 19 1;
#X connect 21 0 19 0;
#X connect 23 0 25 0;
#X connect 24 0 23 1;
#X connect 25 0 15 0;
#X connect 26 0 27 0;
#X connect 27 0 30 0;
#X connect 27 1 29 0;
#X connect 29 0 28 0;
#X connect 30 0 28 0;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
#X coords 0 -1 1 1 300 30 2 20 20;
#X restore 17 17 pd netpd_live;