Music

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!

Music

Postby Embreon » Wed Apr 28, 2010 5:36 am

After getting SoundFX's to work I tried getting the music .ogg to play
But for some reasone only the SoundFX's seem te play even when you change the setting from SoundFX to Background music or any other ....

Does anyone know how this works ?
Embreon
 
Posts: 66
Joined: Sun Nov 02, 2008 5:21 pm

Re: Music

Postby andylegate » Wed Apr 28, 2010 6:21 am

The music should play fine. Double check the following on your sound emitter plasma components:

Under "Sound Name" make sure you have the correct sound file name on the button.

Is the music suppose to play as soon as someone links in? If so "Autoplay" needs to be checked.
Is the music suppose to play only when someone enters a region sensor? If so, remove the check from Autoplay, and check the triggers on your region, you want it to trigger whenever someone "Enters" the region.
Also, if you are using a region sensor to trigger the music on, make sure that you check the responder. In the responder, make sure for the State you have the correct sound emitter and sound selected.

Is the music suppose to play over and over? If so, put a check mark in "Loop"

Check the Volume slider: -48 db is the LOWEST volume setting. 0 db is the HIGHEST volume setting.

Leave all the other parameters unchecked and alone until you get your music playing okay first, then you can mess with them.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Music

Postby Embreon » Wed Apr 28, 2010 7:46 am

I have normal sound effects working , so its not the setting ...
Everytime when I select a _____music_loop_____ it's not being played
Image
Embreon
 
Posts: 66
Joined: Sun Nov 02, 2008 5:21 pm

Re: Music

Postby TheMagician » Wed Apr 28, 2010 8:48 am

Your screenshot shows that you use a "sound3D" component to emit the music. However, you should use a "Nonspatial Sound" for stereo music tracks that are ment to play in the background independent of your current position.

Also Agenotfound reported that his music failed to play because he didn't encode it properly. I don't know the settings he used in the end but the standard URU music files are OGG Vorbis, 16-bit, 44.100 kHz, 192 kb/sec.

And lastly you may need to check "Stream from compressed file" in the component properties to get the music working.
TheMagician
 
Posts: 110
Joined: Mon Mar 29, 2010 3:14 pm

Re: Music

Postby Embreon » Wed Apr 28, 2010 8:53 am

Got it working , thx !
Embreon
 
Posts: 66
Joined: Sun Nov 02, 2008 5:21 pm

Re: Music

Postby andylegate » Wed Apr 28, 2010 9:00 am

Could you post what your problem was? That way if someone in the future runs into a problem and see's this thread, they may also have had the same problem as you.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Music

Postby Embreon » Wed Apr 28, 2010 9:03 am

Ofcourse , sorry ! :oops:
The problems was , that I used a 3d sound emitter for a music file
Like TheMagician said I should use a Nonspatial Sound for music files with stream from compressed file enabled
And that was it ...
Embreon
 
Posts: 66
Joined: Sun Nov 02, 2008 5:21 pm

Re: Music

Postby andylegate » Wed Apr 28, 2010 9:39 am

Got ya!

Yah, with the GoW Plugin, using ALCScript to define the emitter, you had to put in a flag in the script that read: "-is3dsound"
If you didn't, it was a nonspatial emitter by default.

With Cyan's Plugin, you have to tell the emitter what kind it is. So this is good to know, heh. I clean forgot about it myself when I posted what to check on.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am


Return to Building

Who is online

Users browsing this forum: No registered users and 2 guests