Duplicated audio does not sound the same #83997
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#83997
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38
Blender Version
Broken: version:
a5a302bd18
Worked: (newest version of Blender that worked as expected)
Short description of error
Duplicating the same audio strip several times in a timeline, gives a different sound.
Exact steps for others to reproduce the error
Rendering the audio only (menu Render > Render audio) and decreasing the accuracy will improve the audio.
test-audio.blend
Added subscriber: @HUSCH
Added subscriber: @rjg
Changed status from 'Needs Triage' to: 'Needs User Info'
I've tested this only Linux and can't hear any different between the duplicated strips. That the waveform of the export to mp4 may not look exactly like the one from the original .wav file can be due to lossy encoding. Could you please provide a file with the audio duplicated where the strips sound differently? How often did you have to duplicate the audio strip until the issue occurred?
The problem could be the same as #83991.
I included the original sound-file (bounce.wav), a blend-file with the sound-strip + 2x duplicated. You can hear the difference between the swooshes (but not very clearly). I included also the wave-form of the render (of the three (identical?) soundstrips. You can clearly see that the waveform of all three has small differences. After rendering the audio only, in which case you can set the accuracy (low value = high accuracy), the differences disappear. I included also the Audacity-profile of this audio-only output..
Blendfile
test-audio1.blend1
Audacity profile of rendered (MP4) output
Audacity profile of render audio (AC) output
Sound
Bounce.wav
Changed status from 'Needs User Info' to: 'Needs Triage'
Thank you for the files, we will investigate.
Changed status from 'Needs Triage' to: 'Confirmed'
After the export the audio is significantly different, before the export they all sound the same to me, but that might just be my ears not picking up subtle differences.
Yes, you're right. Before the export they sound indeed the same. Perhaps I wanted to hear the difference because I knew about the profiles. So, I did the test and recorded the sound (with volume set to 5) with a microphone. The waveform looks identical in Audacity. So, it's a problem of the render (to video). The render audio can do it right, if accuracy is set low.
Added subscribers: @neXyon, @tintwotin
It could be related to the fixed value of AUD_DEFAULT_BUFFER_SIZE. https://developer.blender.org/diffusion/B/browse/master/extern/audaspace/config/Audaspace.h.in$103
It seems to be the reading-buffer-size which is set too high and cause inaccuracy. Maybe this value should be lowered or exposed so users can set this value manually?
@neXyon Maybe you could have a look at this?
This issue was referenced by
83ad35cb9c
That one was a bit harder to find. Running down the wrong rabbit hole, I also found another inaccuracy! :D
@tintwotin While the behavior depends on the size of the mixdown buffer, this is not the precise cause for the bug. During audio rendering, users can actually choose the value manually.
Changed status from 'Confirmed' to: 'Resolved'