Audio: Speakers with animated pitch cause clicks in rendered animations, crashes or huge filesizes in rendered audio #41133

Closed
opened 2014-07-21 04:13:47 +02:00 by Tom Benedett · 6 comments

(Please add "Audio" to project tags. I find myself unable to do anything but delete existing project tags.)
System Information
OS: Windows 7 640but, GPU: GTX 580
also
OS: Windows 8.1 64-bit, GPU: FeForce CT 735M

Blender Version
Broken: As recently as BuildBot 2.71 5e3e095 to as early as official 2.65a, at least.

Short description of error
A rendered animation containing a speaker with pitch keyframed to go from very low to very high rapidly can usually (but not always, this makes tracking down the causes difficult!) contain a loud, inappropriate click during the transition from low to high pitch.

Attempting to render only the audio (to a .FLAC file) can cause Blender to crash before finishing, producing an incomplete audio file, cut off right before where the click would be, or it can continue, in which case it includes the click and produces a .flac file many, many times larger than it needs to be.

Exact steps for others to reproduce the error
Render the animation in this file:
ClicksTwo.blend
When I do, I get this:
Experiment_29.avi
Render the audio in the file. When I do, I get a 1.2 GB file, which, when saved in Audacity, is only 294 KB.

Notes
I have not been able to find any setting (in file export type, in audio device settings, etc.) that reliably gets rid of the clicks. The only method to do so seems to be "avoid rapid increases in pitch." Also note that while my file is at 60 fps, I have observed clicks at 24 fps, as well.
I cannot guarantee that only rapid increases in pitch cause clicks, but I have observed no other situation that does.

Pardon any errors in format or etiquette, phabricator has eaten my bug report twice now and I'm just trying to get it out!

(Please add "Audio" to project tags. I find myself unable to do anything but delete existing project tags.) **System Information** OS: Windows 7 640but, GPU: GTX 580 also OS: Windows 8.1 64-bit, GPU: FeForce CT 735M **Blender Version** Broken: As recently as BuildBot 2.71 5e3e095 to as early as official 2.65a, at least. **Short description of error** A rendered animation containing a speaker with pitch keyframed to go from very low to very high rapidly can usually (but not always, this makes tracking down the causes difficult!) contain a loud, inappropriate click during the transition from low to high pitch. Attempting to render only the audio (to a .FLAC file) can cause Blender to crash before finishing, producing an incomplete audio file, cut off right before where the click would be, or it can continue, in which case it includes the click and produces a .flac file many, many times larger than it needs to be. **Exact steps for others to reproduce the error** Render the animation in this file: [ClicksTwo.blend](https://archive.blender.org/developer/F98759/ClicksTwo.blend) When I do, I get this: [Experiment_29.avi](https://archive.blender.org/developer/F98760/Experiment_29.avi) Render the audio in the file. When I do, I get a 1.2 GB file, which, when saved in Audacity, is only 294 KB. **Notes** I have not been able to find any setting (in file export type, in audio device settings, etc.) that reliably gets rid of the clicks. The only method to do so seems to be "avoid rapid increases in pitch." Also note that while my file is at 60 fps, I have observed clicks at 24 fps, as well. I cannot guarantee that *only* rapid increases in pitch cause clicks, but I have observed no other situation that does. Pardon any errors in format or etiquette, phabricator has eaten my bug report twice now and I'm just trying to get it out!
Author

Changed status to: 'Open'

Changed status to: 'Open'
Tom Benedett self-assigned this 2014-07-21 04:13:47 +02:00
Author

Added subscriber: @moak

Added subscriber: @moak
Tom Benedett removed their assignment 2014-07-21 04:14:08 +02:00
Joerg Mueller was assigned by Sergey Sharybin 2014-07-21 11:55:12 +02:00

Added subscriber: @Sergey

Added subscriber: @Sergey

Joerg, mind having a look?

Joerg, mind having a look?
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

I fixed the crash in r31e1a31feed3adbfba85ed319447fc13e9b454ee

The click comes from the sudden change of the frequency/pitch by a factor of 100 within a frame. If you want to get rid of it, you have to set the accuracy to 1 during audio export.

I fixed the crash in r31e1a31feed3adbfba85ed319447fc13e9b454ee The click comes from the sudden change of the frequency/pitch by a factor of 100 within a frame. If you want to get rid of it, you have to set the accuracy to 1 during audio export.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
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
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#41133
No description provided.