Archives

All posts for the month July, 2013

2013 HELP: Guide to streaming audio in Second Life. Shoutcast

Published July 29, 2013 by draganarealm

Re blogged from http://virtualoutworlding.blogspot.com.au/2012/04/kit-guide-to-streaming-audio-shoutcast.html

Saturday, May 12, 2012

2013 HELP: Guide to streaming audio in Second Life. Shoutcast.

Guide to streaming audio in Second Life
Shoutcast. 

Music stream to your land

Each parcel of land has a music player that the owner can use to play music on the land. Here is how.

Vocabulary
Audio stream: Send or receive audio, usually music, over the internet.
Stream url: an internet address for a particular media stream.
Winamp: A music player, software used to send an audio stream to loudspeakers.
Shoutcast: a source for free audio streams. http://www.shoutcast.com/
Parcel: a  piece of land, like a lot for a house.
About land panel:  Windows to control parcel settings. About Land Window 2012
Toggle music.  Turn the music off (button, upper right), then back on.  Fixes some problems.

These instructions are tested on the current standard viewer offered by Second Life.  That is version3.3 at the time of writing.  Other viewers may differ in details.
***
Audio stream.  About land panel.  

About Land Window
General Tab
Click image to enlarge

Go to land where you have authority to set the music stream. You must either

  • own the land or
  • be in the group that owns the land and have a role with that authority.

Related reading

Open the About Land panel:

  • Right click on the land, select About Land or
  • Click World (top bar)-Place profile-About land
  • About Land Window 2012

Click Sound tab  (Top of window)

Put the music url in the white bar
When you have a musical event, you may want to disable local voice to keep voice sounds from intruding on the music.

Instructions for listeners

Viewer 3.3 Music controls
Click image to enlarge

Hear/see music/video media/BOP in Second Life 2012 
***
Stream url 
A web address for the audio steam. Here are examples of stream urls

Notice that these don’t look like the urls you give to your browser.  They are a different breed.  If a performer  will be streaming to your land for an event, the performer will give you the music url or you will be paying for the stream and will get the music url when you pay for it.   There is plenty of free music on the internet, so I will tell how to get the music url for that first.

***
Shoutcast into Second Life
Shoutcast is a free source of music and other audio streams:
http://www.shoutcast.com/

You can use the web page above to search for music that you want to stream into Second Life.   But after you pick a stream, you will need some extra steps to get the music url that you need for playing music in Second Life.

Get the music url from Shoutcast
(Thanks to DigitaL Scribe for putting this information in the forums.)

On the Shoutcast page that you use to find and play music, you normally left click to play the music.
1. To get the music url, you, right click on the play button.  On the resulting menu, select the option to save the file. This is “Save link as..” in Chrome and was “Save target as..” in IE when I last used that  browser.  Save the file in a place where you can find it.

2. Find the saved file.  It will have an extension of .pls.  Open the file with a word processor–you may have to tell your operating system what program to use in opening it.

In your word processor, you should see something like this:


numberofentries=2
File1=http://66.225.205.8:8000
Title1=(#1 – 18/2000) Folk Alley  (( All Folk.  All The Time.  ))
Length1=-1
File2=http://66.225.205.8:80
Title2=(#2 – 257/2000) Folk Alley  (( All Folk.  All The Time.  ))
Length1=-1
Version=2

3. Notice lines that look somewhat like this:
File1=http://66.225.205.8:8000
Important
The music url you want is the part after File1=; copy/paste that into a notecard.  That part would look like this (with different numbers):
http://66.225.205.8:8000
If you leave the File1= in the copy, it won’t work.

In general, it does not matter which file number you choose.
***
Stream your own music. 
You would stream your own music if you were a performer or DJ.   You need a server and special software to stream,  A server is a virtual machine capable of sending files on request to a large number of listeners. Performers usually rent or lease their own servers, because this arrangement lets them own the copyright to the performance.  A DJ may expect the venue owner to provide the stream.

A good source of instruction and help for musicians wanting to perform in Second Life is Trax
http://maps.secondlife.com/secondlife/Trax/133/128/27
Linden instructions:  Streaming Music into SL
***