|
Merry Calliope
The 13th Rabbit
Join date: 24 Mar 2005
Posts: 89
|
05-11-2007 10:48
Hello! I am wondering if it's possible to set an object to stream an MP3 (upon touch or some sort of command) without actually changing the parcel's regular streaming media.
Failing that, is there a way to use SetParcelMusicURL to temporarily switch to a different URL, play an MP3 to completion, and then switch back to the regular stream?
I hope this makes sense. I'm afraid I don't know the proper terminology for everything.
Thank you for any help! ^_^;
|
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
05-11-2007 10:56
From: Merry Calliope Hello! I am wondering if it's possible to set an object to stream an MP3 (upon touch or some sort of command) without actually changing the parcel's regular streaming media. Not possible within SL From: someone Failing that, is there a way to use SetParcelMusicURL to temporarily switch to a different URL, play an MP3 to completion, and then switch back to the regular stream?
It's workable with some constraints. the script would have to know the length of the MP3 being played (which can be retrieved using PHP calls if you own the server that's being used for the stream), and then have it's own internal timer on the script switch back to to the previous stream when the time limit for the song has been reached. It's not perfect, but it's workable with the right tools at your disposal.
_____________________
My SLExchange shopTypos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work.
|
|
Merry Calliope
The 13th Rabbit
Join date: 24 Mar 2005
Posts: 89
|
05-11-2007 11:00
Thank you!
It would only be one specific MP3 (to which I own rights so I'm legal) located on a server I have access to. Since I would know the exact length of the MP3 could I just state the length in the script rather than doing the PHP call?
|
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
05-11-2007 11:02
From: Merry Calliope Thank you! Since I would know the exact length of the MP3 could I just state the length in the script rather than doing the PHP call? yep. If you are able to pick apart a note-card reader you could even potentially make a catalogue of your MP3s by storing the URLs and song lengths on the note card and then having your radio switch URLs based on that.
_____________________
My SLExchange shopTypos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work.
|
|
Merry Calliope
The 13th Rabbit
Join date: 24 Mar 2005
Posts: 89
|
05-11-2007 11:51
Dang, that'd be cool! My idea is to provide a way for my friends to hear my husband's latest work within SL and that would be ideal.
Now to set my rather lacking scripting skills to the task. ^o^
Thank you!
|