[PD] Sonify database

Jack jack at rybn.org
Mon May 19 16:16:53 CEST 2008


Very simple :
Use fsockopen() function with PHP for exemple :
$fp=fsockopen('127.0.0.1', 3003, $errno, $errstr);
fwrite($fp2, "nametorouteafter "."yourvalue;");
fclose($fp2);

and with PD :
create a [netreceive] object for exemple here :
[netreceive 3003]

And all would be fine ;)

++

Jack

Le 19 mai 08 à 14:06, j milo taylor a écrit :

> I am trying to sonify a mysql database that runs in a webbrowser.
>
> I have a number of php variables
> e.g
> <?php echo $totalRows_rs_artist_nodes?> e.g 7
> <?php echo $totalRows_Recordset1?> e.g. 4
> <?php echo $totalRows_rs_image?> e.g. 20
> <?php echo $totalRows_rs_audio?> e.g. 3
> <?php echo $totalRows_rs_video?> e.g 0
>
> does anyone have an idea about how to send the values of these  
> variables
> to pd?
>
> I'm on XP ( ;-( )
>
> thanks
> milo
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list





More information about the Pd-list mailing list