3D background music problems

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

3D background music problems

Postby Jamey » Wed Aug 06, 2008 4:27 pm

Hi all,

I've been having trouble getting a 3D sound (background music) to export correctly from Blender. I've made one 3D background music piece export correctly, but the other one isn't playing when I put it in Uru. :?

Now, here are the things I've been doing:

I put an OGG version of the music with the same name in the sfx uru folder as well as the wav in the streaming cache, which I use as my sample in Blender.
They are both 16 bit Stereo music pieces, and the name for the song is under 12 characters.

I'm not sure what might be wrong, I did everything I did that made it work for the last music piece I had in my age (as far as I know). Can anyone tell me what might be causing the problem?

Thx!
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: 3D background music problems

Postby Grogyan » Wed Aug 06, 2008 9:51 pm

Jamey wrote:I put an OGG version of the music with the same name in the sfx uru folder as well as the wav in the streaming cache, which I use as my sample in Blender.
They are both 16 bit Stereo music pieces, and the name for the song is under 12 characters.



You must use mono not stereo format, with PCM codec (bog standard), I use full 44KHz sample rate just for top notchquality, but it depends on the song, if it has a lot of bass or percussion you can easily get away with a lower sample rate thus an even smaller file.

Also note that you do not even need to have a wav file, the bird song in my shell (#119) plays without a problem as a straight ogg, even though its a 3D sound emiter the same would go for background music
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: 3D background music problems

Postby D'Lanor » Thu Aug 07, 2008 3:05 am

Some misleading info there. Background music, being usually a long piece should be streaming. Streaming is the PyPRP default. And streaming sound does NOT require any wav files. The ogg file can be in stereo.

If this is true background music it does not need to be 3D either. 3D is for directional sounds, meaning they have some kind of interactive function within your age. You would use 3D for music if for example it came from a music player.

If you do use 3D sound make sure to add the minfdist and maxfdist properties. Without them 3D sound does not play.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: 3D background music problems

Postby Jamey » Thu Aug 07, 2008 9:59 am

D'Lanor wrote:Some misleading info there. Background music, being usually a long piece should be streaming. Streaming is the PyPRP default. And streaming sound does NOT require any wav files. The ogg file can be in stereo.

If this is true background music it does not need to be 3D either. 3D is for directional sounds, meaning they have some kind of interactive function within your age. You would use 3D for music if for example it came from a music player.

If you do use 3D sound make sure to add the minfdist and maxfdist properties. Without them 3D sound does not play.


Well, Actually, the music I'm trying to get to work, which I made a 3D sound, is because I only wanted it to play in a specific room in my age. If I did a non-3D sound, it would overlap some of my other 3D sounds in my age.

And no need to worry about the minfdist and maxfdist properties, they're there ;)

Having said all this, do you still think I should use a non-3D sound, or will that not work if I want to have it in a specific area in my age?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: 3D background music problems

Postby Lontahv » Thu Aug 07, 2008 10:21 am

You don't need music to be 3d to have it have bounds. You can use SoftVolumes... I'm not too clear on how exactly you do this. I'll try to find out and post about it if I have anything and if someone who knows doesn't post sooner. :)
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: 3D background music problems

Postby D'Lanor » Thu Aug 07, 2008 10:24 am

I know SoftVolumes are a hot topic these days but a simple sound region should do the trick here.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: 3D background music problems

Postby Lontahv » Thu Aug 07, 2008 10:25 am

Oh good. Thanks for posting D'Lanor, I somehow missed that. :?
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: 3D background music problems

Postby Paradox » Thu Aug 07, 2008 10:44 am

Sound Regions should be used for background music and ambience that is only played locally. When your avatar enters the region, the music starts on your computer. In general, nobody else should ever hear the music when you enter a region, unless they enter the region themselves.

SoftVolumes should be used to limit 3D sounds. 3D sounds are often the result of an action, and need to be broadcast to other players. Using SoftVolumes you can confine the sound to only be heard within a certain area.
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: 3D background music problems

Postby Jamey » Thu Aug 07, 2008 12:44 pm

But is there any way to give a sound region fading properties?
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: 3D background music problems

Postby D'Lanor » Thu Aug 07, 2008 1:17 pm

"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am


Return to Building

Who is online

Users browsing this forum: No registered users and 15 guests