Forum Replies Created
-
AuthorPosts
-
darkbeatParticipant
Thanks Rod, for continuing to look into this. Your last suggestion solved the problem - installing both the x64 and x86 versions of the 2012 C++ redistributable packages. On our Windows 10 machine, SteamVR had installed the 2005, 2010 and 2013 versions of the Visual C++ redistributables (both x64 and x86), but not 2012. I thought it must be a Windows 10 related issue, because the Unity 5 errors didn’t come up on our Windows 7 box. On Windows 7, SteamVR only installed the 2010 and 2013 redistributables, but this issue never came up. Works out of the box on my MacBook Pro as well, but I sort of expected that.
RealSpace3D paired with the HTC Vive is awesome by the way. We’re going to be demoing at the TechCrunch Disrupt VR Pavilion in 2 weeks and our demo machine is the Windows 10 one, so this fix sort of saved the day. Thanks again. -Alex
darkbeatParticipantIt appears that ‘rs3d_PlaySound()’ and ‘rs3d_PlayJukeBox(0,false,false)’ both work for me, but ‘rs3d_PlayIn3D(true)’ does not. I tried swapping in ‘rs3d_PlayIn3D(true)’ for ‘rs3d_PlayJukeBox(0,false,true)’ to trigger music files in the ‘realspace3d_v0.10.0_sample.unitypackage’ sample scene, and it seemed to work there, so I’m guessing there’s a bug with the (v0.10.7) 18Aug15 build. In any case, I can move forward now. Thanks for making such a fantastic binaural 3D audio solution.
darkbeatParticipantHere is a log dump from my attempt to play back 3D audio samples via code. This is from my test scene, where I instantiate 4 prefabs with RealSpace3D_AudioSources attached and attempt to play a single sound back using the first RealSpace3D_AudioSource via script code. In this example, I pre-loaded the AudioClip into the prefab, to eliminate the loading step as a possible cause of the problem. The sound plays back correctly if I drag the prefab into the scene and check ‘PlayOnAwake’, but it won’t play if I use ‘rs3d_PlayIn3D(true)’ via code to play the AudioClip loaded into the RealSpace3D_AudioSource.
***** RealSpace3D Log Session ****
- 09/07/2015-02:27:04 RealSpace3D Version: 0.10.7
- 09/07/2015-02:27:04 vsEngine Version: 3.9
- 09/07/2015-02:27:04 vsEngine Build Date: 20150626- 09/07/2015-02:27:04 Device Name: INVR-SS-01
- 09/07/2015-02:27:04 Device Model: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (16246 MB)
- 09/07/2015-02:27:04 Device Type: Desktop
- 09/07/2015-02:27:04 Graphics Device Name: NVIDIA GeForce GTX 970
- 09/07/2015-02:27:04 Graphics Device Vendor: NVIDIA
- 09/07/2015-02:27:04 Graphics Device Vendor ID: 4318
- 09/07/2015-02:27:04 Graphics Device Version: Direct3D 11.0 [level 11.0]
- 09/07/2015-02:27:04 Graphics Memory Size: 4008
- 09/07/2015-02:27:04 OS: Windows 7 Service Pack 1 (6.1.7601) 64bit
- 09/07/2015-02:27:04 Processor Type: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
- 09/07/2015-02:27:04 Processor Count: 4
- 09/07/2015-02:27:04 System Memory Size: 16246- 09/07/2015-02:27:04 Target Platform: WindowsEditor
- 09/07/2015-02:27:04 Target Data Path: C:/Users/inVR/Documents/Unity3D/audiovivetest/Assets
- 09/07/2015-02:27:04 Unity Version: 5.1.3p1
- 09/07/2015-02:27:04 Application is in Unity Editor mode.
- 09/07/2015-02:27:04 Application is in Unity Play mode.- 09/07/2015-02:27:04 vsAudioListener Awake called… : 0.9407499
- 09/07/2015-02:27:04 vsAudioListener Level is being loaded…
- 09/07/2015-02:27:04 vsAudioListener is enabled.
- 09/07/2015-02:27:04 vsAudioListener GetDSPBufferSize: BufferSize = 1024 BufferCount = 4
- 09/07/2015-02:27:04 vsAudioListener Sample Rate = 48000
- 09/07/2015-02:27:04 vsAudioListener RunRealSpace3D_Engine Called… : 0.9744762
- 09/07/2015-02:27:04 HRTF path = C:/Users/inVR/Documents/Unity3D/audiovivetest/Assets/StreamingAssets/RealSpace3D/DontTouch
- 09/07/2015-02:27:04 Using HRTF: hrtf-cp048-r4.icb
- 09/07/2015-02:27:04 _rs3dInit3DSoundEngine - Creating controller
- 09/07/2015-02:27:04 _rs3dInit3DSoundEngine - Controller created
- 09/07/2015-02:27:04 Set Personalization
- 09/07/2015-02:27:04 vsRealSpace3D_DLL: _rs3dStart3DSoundEngine
- 09/07/2015-02:27:04 Creating Listener
- 09/07/2015-02:27:04 vsListener: ctor
- 09/07/2015-02:27:04 vsListener hrtf path: C:/Users/inVR/Documents/Unity3D/audiovivetest/Assets/StreamingAssets/RealSpace3D/DontTouch/hrtf-cp048-r4.icb
- 09/07/2015-02:27:04 vsListener _do_resample: 0
- 09/07/2015-02:27:06 _rs3dStart3DSoundEngine: Valid License
- 09/07/2015-02:27:06 _rs3dStart3DSoundEngine: License key allows for: 4 3D Sound Sources.
- 09/07/2015-02:27:06 vsAudioListener RunRealSpace3D_Engine has completed… : 2.800495
- 09/07/2015-02:27:06 vsAudioListener Awake completed… : 2.805172
- 09/07/2015-02:27:06 Awake on AudioSource: AudioSource_RS3D(Clone) called… : 2.813601
- 09/07/2015-02:27:06 Created AudioSource: AudioSource_RS3D(Clone) tag: 75dc485d completed… : 2.834399
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone)SetSoundSourceDefaultSettings called
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone) SetSoundSourceDefaultSettings completed.
- 09/07/2015-02:27:06 Awake on AudioSource completed… : 2.851461
- 09/07/2015-02:27:06 Awake on AudioSource: AudioSource_RS3D(Clone) called… : 2.858009
- 09/07/2015-02:27:06 Created AudioSource: AudioSource_RS3D(Clone) tag: 05fba496 completed… : 2.863276
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone)SetSoundSourceDefaultSettings called
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone) SetSoundSourceDefaultSettings completed.
- 09/07/2015-02:27:06 Awake on AudioSource completed… : 2.877962
- 09/07/2015-02:27:06 Awake on AudioSource: AudioSource_RS3D(Clone) called… : 2.883466
- 09/07/2015-02:27:06 Created AudioSource: AudioSource_RS3D(Clone) tag: a9630658 completed… : 2.888528
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone)SetSoundSourceDefaultSettings called
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone) SetSoundSourceDefaultSettings completed.
- 09/07/2015-02:27:06 Awake on AudioSource completed… : 2.903443
- 09/07/2015-02:27:06 Awake on AudioSource: AudioSource_RS3D(Clone) called… : 2.908959
- 09/07/2015-02:27:06 Created AudioSource: AudioSource_RS3D(Clone) tag: 4bef31b6 completed… : 2.914212
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone)SetSoundSourceDefaultSettings called
- 09/07/2015-02:27:06 AudioSource: AudioSource_RS3D(Clone) SetSoundSourceDefaultSettings completed.
- 09/07/2015-02:27:06 Awake on AudioSource completed… : 2.929178
- 09/07/2015-02:27:06 Starting SoundSource: AudioSource_RS3D(Clone)_0
- 09/07/2015-02:27:06 AudioSource_RS3D(Clone): StartSoundSource Called
- 09/07/2015-02:27:06 _rs3dSetSource: 75dc485d searching
- 09/07/2015-02:27:06 _rs3dSetSource: 75dc485d Found
- 09/07/2015-02:27:06 vsListener:GetPersonalization
- 09/07/2015-02:27:06 Controller: Creating Sound Source: 75dc485d
- 09/07/2015-02:27:06 vsSource - ctor entered
- 09/07/2015-02:27:06 vsSource dsp buffer size: 1024
- 09/07/2015-02:27:06 vsSource - Using windows critical section
- 09/07/2015-02:27:06 vsSource::vsSource - Using Unity Engine
- 09/07/2015-02:27:06 vsSource _vsengine_prepare_work_area success
- 09/07/2015-02:27:06 vsSource _vsengine_setup_source success
- 09/07/2015-02:27:06 vsSource: CreateBuffers - internal allocation
- 09/07/2015-02:27:06 Created ProcessID: ProcessID_0
- 09/07/2015-02:27:06 vsSource ctor completed
- 09/07/2015-02:27:06 Controller: Created Sound Source: 75dc485d result: 100
- 09/07/2015-02:27:06 Start on AudioSource: AudioSource_RS3D(Clone)_0 completed… : 3.067765
- 09/07/2015-02:27:06 Start completed on: AudioSource_RS3D(Clone)_0 : 3.071708
- 09/07/2015-02:27:06 Starting SoundSource: AudioSource_RS3D(Clone)_1
- 09/07/2015-02:27:06 AudioSource_RS3D(Clone): StartSoundSource Called
- 09/07/2015-02:27:06 _rs3dSetSource: 05fba496 searching
- 09/07/2015-02:27:06 _rs3dSetSource: 05fba496 Found
- 09/07/2015-02:27:06 vsListener:GetPersonalization
- 09/07/2015-02:27:06 Controller: Creating Sound Source: 05fba496
- 09/07/2015-02:27:06 vsSource - ctor entered
- 09/07/2015-02:27:06 vsSource dsp buffer size: 1024
- 09/07/2015-02:27:06 vsSource - Using windows critical section
- 09/07/2015-02:27:06 vsSource::vsSource - Using Unity Engine
- 09/07/2015-02:27:06 vsSource _vsengine_prepare_work_area success
- 09/07/2015-02:27:06 vsSource _vsengine_setup_source success
- 09/07/2015-02:27:06 vsSource: CreateBuffers - internal allocation
- 09/07/2015-02:27:06 Created ProcessID: ProcessID_1
- 09/07/2015-02:27:06 vsSource ctor completed
- 09/07/2015-02:27:06 Controller: Created Sound Source: 05fba496 result: 100
- 09/07/2015-02:27:06 Start on AudioSource: AudioSource_RS3D(Clone)_1 completed… : 3.120118
- 09/07/2015-02:27:06 Start completed on: AudioSource_RS3D(Clone)_1 : 3.124221
- 09/07/2015-02:27:06 Starting SoundSource: AudioSource_RS3D(Clone)_2
- 09/07/2015-02:27:06 AudioSource_RS3D(Clone): StartSoundSource Called
- 09/07/2015-02:27:06 _rs3dSetSource: a9630658 searching
- 09/07/2015-02:27:06 _rs3dSetSource: a9630658 Found
- 09/07/2015-02:27:06 vsListener:GetPersonalization
- 09/07/2015-02:27:06 Controller: Creating Sound Source: a9630658
- 09/07/2015-02:27:06 vsSource - ctor entered
- 09/07/2015-02:27:06 vsSource dsp buffer size: 1024
- 09/07/2015-02:27:06 vsSource - Using windows critical section
- 09/07/2015-02:27:06 vsSource::vsSource - Using Unity Engine
- 09/07/2015-02:27:06 vsSource _vsengine_prepare_work_area success
- 09/07/2015-02:27:06 vsSource _vsengine_setup_source success
- 09/07/2015-02:27:06 vsSource: CreateBuffers - internal allocation
- 09/07/2015-02:27:06 Created ProcessID: ProcessID_2
- 09/07/2015-02:27:06 vsSource ctor completed
- 09/07/2015-02:27:06 Controller: Created Sound Source: a9630658 result: 100
- 09/07/2015-02:27:06 Start on AudioSource: AudioSource_RS3D(Clone)_2 completed… : 3.169146
- 09/07/2015-02:27:06 Start completed on: AudioSource_RS3D(Clone)_2 : 3.17345
- 09/07/2015-02:27:06 Starting SoundSource: AudioSource_RS3D(Clone)_3
- 09/07/2015-02:27:06 AudioSource_RS3D(Clone): StartSoundSource Called
- 09/07/2015-02:27:06 _rs3dSetSource: 4bef31b6 searching
- 09/07/2015-02:27:06 _rs3dSetSource: 4bef31b6 Found
- 09/07/2015-02:27:06 vsListener:GetPersonalization
- 09/07/2015-02:27:06 Controller: Creating Sound Source: 4bef31b6
- 09/07/2015-02:27:06 vsSource - ctor entered
- 09/07/2015-02:27:06 vsSource dsp buffer size: 1024
- 09/07/2015-02:27:06 vsSource - Using windows critical section
- 09/07/2015-02:27:06 vsSource::vsSource - Using Unity Engine
- 09/07/2015-02:27:06 vsSource _vsengine_prepare_work_area success
- 09/07/2015-02:27:06 vsSource _vsengine_setup_source success
- 09/07/2015-02:27:06 vsSource: CreateBuffers - internal allocation
- 09/07/2015-02:27:06 Created ProcessID: ProcessID_3
- 09/07/2015-02:27:06 vsSource ctor completed
- 09/07/2015-02:27:06 Controller: Created Sound Source: 4bef31b6 result: 100
- 09/07/2015-02:27:06 Start on AudioSource: AudioSource_RS3D(Clone)_3 completed… : 3.219536
- 09/07/2015-02:27:06 Start completed on: AudioSource_RS3D(Clone)_3 : 3.223671
- 09/07/2015-02:27:18 vsAudioListener OnApplicationQuit called…
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit called
- 09/07/2015-02:27:18 Destroying SoundProcessor: RS3D_SP_3
- 09/07/2015-02:27:18 Destroying Source: 4bef31b6
- 09/07/2015-02:27:18 Searching for SourceMap iterator.
- 09/07/2015-02:27:18 Found iterator
- 09/07/2015-02:27:18 vsSource dtor on: ProcessID_3
- 09/07/2015-02:27:18 Cleaned the work area
- 09/07/2015-02:27:18 vsSource dtor completed.
- 09/07/2015-02:27:18 Deleted iterator
- 09/07/2015-02:27:18 Destroying Source: 4bef31b6 Completed
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit completed.
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit called
- 09/07/2015-02:27:18 Destroying SoundProcessor: RS3D_SP_2
- 09/07/2015-02:27:18 Destroying Source: a9630658
- 09/07/2015-02:27:18 Searching for SourceMap iterator.
- 09/07/2015-02:27:18 Found iterator
- 09/07/2015-02:27:18 vsSource dtor on: ProcessID_2
- 09/07/2015-02:27:18 Cleaned the work area
- 09/07/2015-02:27:18 vsSource dtor completed.
- 09/07/2015-02:27:18 Deleted iterator
- 09/07/2015-02:27:18 Destroying Source: a9630658 Completed
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit completed.
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit called
- 09/07/2015-02:27:18 Destroying SoundProcessor: RS3D_SP_1
- 09/07/2015-02:27:18 Destroying Source: 05fba496
- 09/07/2015-02:27:18 Searching for SourceMap iterator.
- 09/07/2015-02:27:18 Found iterator
- 09/07/2015-02:27:18 vsSource dtor on: ProcessID_1
- 09/07/2015-02:27:18 Cleaned the work area
- 09/07/2015-02:27:18 vsSource dtor completed.
- 09/07/2015-02:27:18 Deleted iterator
- 09/07/2015-02:27:18 Destroying Source: 05fba496 Completed
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit completed.
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit called
- 09/07/2015-02:27:18 Destroying SoundProcessor: RS3D_SP_0
- 09/07/2015-02:27:18 Destroying Source: 75dc485d
- 09/07/2015-02:27:18 Searching for SourceMap iterator.
- 09/07/2015-02:27:18 Found iterator
- 09/07/2015-02:27:18 vsSource dtor on: ProcessID_0
- 09/07/2015-02:27:18 Cleaned the work area
- 09/07/2015-02:27:18 vsSource dtor completed.
- 09/07/2015-02:27:18 Deleted iterator
- 09/07/2015-02:27:18 Destroying Source: 75dc485d Completed
- 09/07/2015-02:27:18 Audio Source: AudioSource_RS3D(Clone) rs3d_ApplicationQuit completed.
- 09/07/2015-02:27:18 _rs3dShutdown3DSoundEngine called.
- 09/07/2015-02:27:18 Destroying the RS3D AudioListener.
- 09/07/2015-02:27:18 Destroying Listener
- 09/07/2015-02:27:18 vsListener: dtor
- 09/07/2015-02:27:18 vsListener: dtor completed
- 09/07/2015-02:27:18 Destroying the RS3D AudioSources.
- 09/07/2015-02:27:18 Destroying Sources
- 09/07/2015-02:27:18 Destroyed the RS3D Controller.
- 09/07/2015-02:27:18 ***** RealSpace3D_vsEngine shutdown completed. ****
- 09/07/2015-02:27:18 vsAudioListener OnApplicationQuit has completed
- 09/07/2015-02:27:18 vsAudioListener OnDestroy called.
- 09/07/2015-02:27:18 vsAudioListener OnDestroy has completed
- 09/07/2015-02:27:18 ***** RealSpace3D Unity Plugin shutdown completed ****
- 09/07/2015-02:27:18 vsAudioListener Awake called… : 0.03966515
- 09/07/2015-02:27:18 vsAudioListener Level is being loaded…
- 09/07/2015-02:27:18 vsAudioListener is enabled.
- 09/07/2015-02:27:18 vsAudioListener GetDSPBufferSize: BufferSize = 1024 BufferCount = 4
- 09/07/2015-02:27:18 vsAudioListener Sample Rate = 48000
- 09/07/2015-02:27:18 vsAudioListener RunRealSpace3D_Engine Called… : 0.06494581
- 09/07/2015-02:27:18 HRTF path = C:/Users/inVR/Documents/Unity3D/audiovivetest/Assets/StreamingAssets/RealSpace3D/DontTouch
- 09/07/2015-02:27:18 Using HRTF: hrtf-cp048-r4.icb
- 09/07/2015-02:27:18 _rs3dInit3DSoundEngine - Creating controller
- 09/07/2015-02:27:18 _rs3dInit3DSoundEngine - Controller created
- 09/07/2015-02:27:18 Set Personalization
- 09/07/2015-02:27:18 vsRealSpace3D_DLL: _rs3dStart3DSoundEngine
- 09/07/2015-02:27:18 Creating Listener
- 09/07/2015-02:27:18 vsListener: ctor
- 09/07/2015-02:27:18 vsListener hrtf path: C:/Users/inVR/Documents/Unity3D/audiovivetest/Assets/StreamingAssets/RealSpace3D/DontTouch/hrtf-cp048-r4.icb
- 09/07/2015-02:27:18 vsListener _do_resample: 0
- 09/07/2015-02:27:20 _rs3dStart3DSoundEngine: Valid License
- 09/07/2015-02:27:20 _rs3dStart3DSoundEngine: License key allows for: 4 3D Sound Sources.
- 09/07/2015-02:27:20 vsAudioListener RunRealSpace3D_Engine has completed… : 1.895493
- 09/07/2015-02:27:20 vsAudioListener Awake completed… : 1.900765 -
AuthorPosts
