Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Streaming Audio

Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
03-09-2006 04:27
I'd use something like this:
CODE
integer gStation = 0;
list gStationList = ["Radio KOL",
"http://radiokol24.kicks-ass.net:8015/", "Classical",
"http://205.188.215.227:8004"];

switch_station(integer n)
{
llSetText("Now playing station " + (n + 1) + "/" +
(string)(llGetListLength(gStationList)/2) + ":\n" +
llList2String(gStationList, n * 2), <1.0, 1.0, 1.0>, 1.0);
llSetParcelMusicURL(llList2String(gStationList, (n * 2) + 1));
}

default
{
state_entry()
{
switch_station(gStation);
}

touch_start(integer n)
{
if (++gStation >= llGetListLength(gStationList) / 2) {
gStation = 0;
}
switch_station(gStation);
}
}

off the top of my head.
Phoenix Psaltery
Ninja Wizard
Join date: 25 Feb 2005
Posts: 2,599
03-09-2006 08:43
From: gene Poole
As for the program that splits clips, I haven't seen such a beast... so maybe cruise around with Google for a bit to see, and if there's a hole to fill, you could become famous. :)


They're out there, but the reason you rarely see them any more is that they suck. The least bit of lag will cause them to stutter.

They basically went the way of the dodo with the advent of streaming audio way back in 1.5 or thereabouts.

P2
_____________________
:cool:
Jaime Hocken
Registered User
Join date: 23 Mar 2006
Posts: 17
04-01-2006 13:37
Somone gave me an object with stream audio. When I wear it it stream audio for all to hear. That is what I want to do with my own music URL. What would be an example script of that?
1 2