I've been able to use xact to get audio into studio I think I've got that covered.
But I'm having trouble to get 3D sound working..
Any pointers?
I've been able to use xact to get audio into studio I think I've got that covered.
But I'm having trouble to get 3D sound working..
Any pointers?
Attached is a simple project demonstrating positional audio.
In it, I have 3 Entity3D's with 3DSound components on them positioned around the main camera -- one pointing to the left side, one to the front, and one to the right side.
Also, my MainCamera has a 3DSoundListernener component on it (important).
Then, I just created some 2D windows that activate the respective sound when clicked on -- I also set up a Distance fader on all of the sounds too, so they shoud get quieter if you move them further away. The distance fader is an RPC Preset in XACT Studio -- you can find a nice tutorial on setting them up here: http://rbwhitaker.wikidot.com/3d-audio-effects-attenuation
Hope this helps you get started, let me know if you have any specific questions about it!
Note: I am having trouble publishing the project -- going to file it up as a bug and keep you posted when we figure out what's going on. Just wanted to give you the project so you can at least get started in the authoring.
I was just missing the sound listener part!
Using 3D sounds makes my Studio crash
i also have issues when i publish i loose sounds (when just using 2d sound)..
Ouch, I haven't experienced Studio crashes from the sound
One tip on exporting sound banks with your project is to make sure to check "Compile the asset" on your .mps file in the build tab (shown in the attached screenshot). Maybe this will help for you.
There is a definite issue on my machine with 3D sound even a simple example causes it to instantly crash.
Does this experience crash for you?
http://www.3dvia.com/experiences/1C81C1122436081A/patrolboat
No this experience ran well for me -- I can fly around the boat and I hear birds / waves.
iainB85 said:No this experience ran well for me -- I can fly around the boat and I hear birds / waves.
Works on my laptop to but crashes my workstation that has a realtek onboard sound card..
In xact when your setting the volume drop of distance there are some quiet large numbers..
Is there a guide on how these collerate back to studio??? Idealy it would be best if these setting could be directly modified in studio.
Thanks!
I agree ideally it would be best to edit such things in Studio, unfortuntaely I don't think it's taking priority for the next release.
In the mean time, the tutorial I linked you have some nice explinations : http://rbwhitaker.wikidot.com/3d-audio-effects-attenuation
Essentially, XACT does not use a unit of measurement -- it adopts whatever unit your end software is using (in Studio's case: meters).
Figure out how large your your game/simulation area is in meters, then in the Cue -> Distance section of XACT you can set the distance's variable range to match it.
Then, when you create an RPC Preset and select "Distance" as the parameter, the graph will reflect the range you put -- giving you easier access to have a drop off of sound towards the edge of your game/simulation area.
This is definitely on our list to put up an extensive guide on how all of this actually works -- but for now I can just give you the cold, hard facts via the forums
Thanks for the instructions
It still crashes on my machine when using 3D sound..
I get this error
Problem signature:
Problem Event Name: APPCRASH
Application Name: 3DVIAStudioPB.exe
Application Version: 2.6.57.0
Application Timestamp: 4c15f9f6
Fault Module Name: vkSoundEngine.vkmodule
Fault Module Version: 2.5.11.0
Fault Module Timestamp: 4c15f95f
Exception Code: c0000005
Exception Offset: 00005f31
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 3081
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I have Realtek onboard sound...
I got the sound working by ticking compile as you suggest!
I changed a few sounds in xact and now it has stopped working again when i publish even though i can hear the sounds in studio..
Any suggestions?
The issues we're at now are pretty technical -- will forward them on to the development team and get a response soon.
Thanks Ian!
You must log in to post.