How to Upload Songs to Second Life

42 minute music and speech player/broadcaster for Second Life.

Ever been to a museum and been given a headset and actor that speaks and plays music whenever you get next to an exhibit? This gear up of scripts and one prim makes that happen in Second Life or OpenSim. It'due south ideal for artists, exhibits, sim owners, and landowners anywhere. You can use it to tell the story of your world, to announce what a piece of art is near, give directions ("you are on the path to ..."), or anything else you lot dream up. You can play whatever length of music, spoken words, or chat to speech from my gratis text-to-wav file program, up to 43 minutes long, without using shared media. You can single play, or loop forever, too.

It takes just one prim per station, and since you already accept prims in your artwork, you can just add the music and i script to it and it volition take upwardly Nix prims. Anyone next to the sensor script will hear it play whatsoever you want. The sounds stop when you walk abroad, and start up at the side by side exhibit. Information technology'due south also easy to convert to a music player for Second Life that can play up to 45 minutes of continuous music!

The original idea came from an project I made using shared media. It didn't piece of work very well, as no 1 enabled shared media on a prim. Simply Noke Yuitza, a noted choreographer, theatrical designer, and Second Life artist, asked for this for her exhibit for the Linden Endowment for the Arts, and it is so useful I had to post information technology for anybody to employ. Thanks, Noke!

In that location are many ways to utilise this: to as a single prim, where anyone can hear it in world, or as a headset and broadcaster prim, or every bit a HUD for privacy.

Want to play MP3 files, too?

Y'all tin can only play wav files in SL, but since you lot probably want MP3 capability, hither is a complimentary and easy fashion to batch convert MP3 files to Wav files.

Scripts:

All the scripts are located in my gratis script library. There are two sets of scripts, 1 for standalone, unmarried prim manner, and a gear up for use for HUD or headphone employ.

Scripting Single-Prim Mode

This manner useful to give out instructions at the landing bespeak, or speak or play music anywhere else that people walk or stand up. Anyone can hear the music or sounds.

All of your wav audio files and both the sensor script and a actor script are put into a prim. The organization volition observe whatsoever avatar that is nearby and trigger the sounds to start playing in lodge. The sounds volition stop when all avatars have left the area.

Y'all can also delete the sensor script. Touch the prim and the music will start to play. You should then change Looping variable beneath so it will loop forever:

Looping:

At that place is a variable 'loop = Imitation' in the player script that tin exist set to play them once, or to loop forever past setting loop = TRUE. It is prepare to play the files i time as a default.

integer loop=FALSE; to  integer loop=TRUE;        

Scripting a prim headset

Put the HUD player script into a prim such every bit this free mesh headset and clothing it. Anyone most the prim with the sensor script will play the sounds. This also lets you see that your company is correctly using the organization.

You will need to put the wav files and the Sensor.lsl script within a prim near the artwork or exhibit. When someone stands next to the showroom, the sounds will play.

Here is a prissy fix of mesh earphones by Geraldo Cockerham. I've converted it to Second Life format, and reworked the textures to be much smaller. It is licensed as Creative Commons/By/SA, which means you tin can apply information technology for gratis every bit long as yous credit Geraldo and share it with others.

Headset by Geraldo Cockerham

Creative Commons License

Download the headset, upload it to 2nd Life with the texture upload enabled, and add the Player script inside the headset and wearable it. Whenever you get near the exhibit prim, the sounds will play.

Scripting HUD fashion

The arrangement acts like a 'museum recorder' in HUD mode. Only the HUD possessor can hear it, only like museum headphones. The system is triggered whenever someone stands in front of an exhibit. You can have as many different exhibits as y'all similar, and the wave files can be updated at the showroom prim.

Here is a modest plywood prim showing it in use:

Plywood prim\

The Sensor.lsl script and music files are placed in 1 prim that volition find avatars. The Music_script.lsl is placed in a second prim that must be attached to the avatar every bit a HUD. The HUD can be invisible, or not.

At present just make the HUD into a small box, 0.020" X 0.20 and attach the prim as a HUD to whatsoever HUD position. Yous can make it invisible, or add a logo.

How to make 10 2d Wav files for Second Life

Wav files must exist in 44.i kHz wav format and must be no longer than ten seconds for Second Life or OpenSim. If you lot have MP3 files, you need to convert them with Goldwave, kickoff.

To exercise this, use a great, complimentary tool: Slice Audio File Splitter.

Now upload the 10 2nd wav files and put into your sensor prims. When y'all walk upwardly to your sensor, within a few seconds your music will play.

bowmanhunhis.blogspot.com

Source: https://outworldz.com/secondlife/posts/musicplayer/

0 Response to "How to Upload Songs to Second Life"

Publicar un comentario

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel