Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.4p4
Issue ID
887455
Regression
No
Stereo Pan on AudioSource has no effect on audio generated with OnAudioFilterRead
To reproduce:
1. Open attached project "StereoPanGenSoundBugReport.zip"
2. Open and Play "SineOsc" scene.
3. Select "GeneratedSound" in hierarchy and try to change it's "Stereo Pan". (it has no effect)
4. Stop the game. Disable "GeneratedSound", and enable NormalSound in hierarchy.
5. Play now, and try to change "Stereo Pan" for the "NormalSound". Works as expected.
Expected result: Generated Sound is affected by the Stereo Pan.
Actual result: Generated Sound always sounds the same.
Reproducible with: 5.3.7p1, 5.4.4p4, 5.5.2p3, 5.6.0f1, 2017.1.0a4
Notes: When Spatial Blend is set to 3D, Generated sound is not affected by the stereo effect.
Other properties such as Pitch, Volume, Doppler Level work fine.
Comments (1)
-
CarlosBCV
Apr 22, 2017 17:35
As far as I know, if you implement the OnAudioFilterRead method, you are overriding the controls of the AudioSource, so it is not a bug. Volume, pitch and pan, are applied before the call to OnAudioFilterRead.
If you want to modify the volume, pitch or pan of your generated sound, you have to make it by yourself.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Frame Debugger On” text color not maintained across different Editor Themes in toolbar
- Rendering artefacts appear in the Game view window when maximizing/minimizing Inspector window and Frame Debugger is Enabled
- [MacOS] AdvancedDropdown in the Profiler is not scrollable even when not all options in the list are visible
- Memory leak when a lot of Particle Systems instantiated while Profiler is open
- "ArgumentOutOfRangeException" error is thrown when trying to delete letters from an RTL TextField when using the Advanced Text Generator
This is a duplicate of issue #819365