Home > realXtend > Rex Ping introduces MP3 player for realXtend

Rex Ping introduces MP3 player for realXtend

March 5th, 2009 via
Link to the original full article

It always lifts spirits to listen to good music while building your virtual world. It is easy to play web based MP3-files using XSPF track lists. 

xspf_playerScreenshot of the player in action.

Before we continue, let me introduce Rex Ping. He is the new realXtend based virtual superhero and from now on he will guide you through all the mini tutorials. He is on trial for now at CTN. Here are some pictures of him:

rexping1rexping2

Rex has more muscle power than brains, but hey, virtual stuff can get heavy for a virtual guy.

Rex: “Hey, nice to meet you all. Jani, just go on and write the instructions. I have things to do, but I’ll come back for the screenshot…”.

Oh well, maybe I will get someone with more brains next time. But back to the MP3:

To get your music to play, do this:

  1. upload your music to web (I can webhost your small demos, ask jpirkola@gmail.com)
  2. make a xspf playlist and upload it to web (example xspf)
  3. get web musicplayer from http://musicplayer.sourceforge.net, upload swf file to web
  4. upload a new texture to realXtend server (get a blank server here) and apply it to a new prim
  5. edit texture properties, set it to refresh once per second
  6. set the mediaURL to point to musicplayer swf and set the other parameters as in the example below

http://www.cybertechnews.org/musicplayer/xspf_player.swf?playlist_url=metal.xspf&autoplay=true&repeat_playlist=true

You can take a look and take the files from http://www.cybertechnews.org/musicplayer/

rex_musicplayerThe played music will be heard evenly, so it is not spatialized. It also plays in full volume and there is no way to affect that, except editing the mp3-files… The player can be embedded to a web page, and it is ideally used with webscreen

See more about playing media in realXtend:

Browse the web together in realXtend
Show your slides in realXtend: The easy way 
Watch YouTube videos from realXtend

realXtend

  1. March 5th, 2009 at 16:45 | #1

    Wouldn’t it make more sense to have it spatialized, when attached to a object? That way you could give objects their own soundtrack,noise,sounds.

  2. Jani Pirkola
    March 5th, 2009 at 19:10 | #2

    It is possible to attach sounds to objects, and that way they get spatialized. I believe it is not possible to play mp3 playlists that way. When I have time, I will take a good look on how that works and write about it too. The use of the mp3 player as presented here was to be more like a general music service for the whole region.

  1. March 6th, 2009 at 03:03 | #1
  2. March 6th, 2009 at 10:15 | #2
Comments are closed.