sound-equalizer #105613
No reviewers
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#105613
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch ":sound-equalizer"
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?
Description
UI / UX
The user can create modifiers to audio strips, the same way as video strips. The list of modifiers has been splited in 2 groups, one for video and one for audio (now only one modifier).
The EQ modifier lets you define the sound modification. The power is limited to -30 db - 30 db.
Implementation
The sound equalizer has been made using the Audaspace FFT Convolver.
The blender part creates an array of descriptions of power per "band", and orders the creation of Equalizer (ISound) in the Audaspace part. The equalization is made with an Impulse Response which convolutes with the sound itself. In this case, it uses FFTConvolver.
Improvements / limitations
While this patch introduces a useful feature, it does not deal with design implications such as:
Besides that, I have no further feedback.
I have accepted this patch already, so will do so here as well
@fsiddi I would need more information / help to address your concerns:
I apologize for not following up on this.
Feel free to go ahead and merge this patch, and thank you for your contribution! In the future, I hope you'll be interested in further participating in activities that are aligned to the module planning.
On a Blender side the code seems acceptable.
The Audaspace is not really clear to me. Was the code submitted to its upstream?
From my side I do not really have feedback. Is more about how to move forward and synchronize with the code which comes from an external library. Hence added Joerg.
@iss Can you help taking care of applying the patch in a way that the extern/audaspace is aligned with its upstream?
I can check how things merge and ensure it's clean.
Since we are in bcon2 now do you think it is OK to merge now or shall I wait for next bcon1?
The audaspace changes appears to be merged to the upstream, and to our bundled version already.
The majority of the remaining changes are related to the curve mapping. They seem straightforward and safe.
The rest of the changes seems to be quite isolated in the sequencer area. Doesn't seem to be high risk. But extra check for crashes etc before push never hurts!
As I've written on developers.blender.org before accepting this patch I would like any changes to audaspace reverted. Everything necessary is in there already (in upstream audaspace and also ported to blender) and we need fftw3f (the float version not the double version) as a new dependency, since using fftw3d (the double version) is unnecessary here. Afaik, it is possible to have both versions of the library in one project. I've stated a couple of times already on developers.blender.org that the package maintainers have to be contacted to get fftw3f in.
if the VFX module says they need fftw3f and this patch is getting close to landing, the platform team has no issues doing the lib work. Given the amount of uncertainty in this diff and how long this has been dragging on, I can't justify working on this until @Sergey gives the green light though.
He already did 10 hours ago :)
Talked to sergey, added the work for the 3.6 lib update in #104895
I have reverted changes in Audaspace, I am trying to resolve some build issues on Windows at least still.
Great! I assume once the build issues are resolved, the changes to audaspace's
CMakeLists.txt
will be reverted as well? At the moment it won't build properly when fftw is disabled since there is still theEqualizer
source defined outside the corresponding if that checks if fftw is enabled. Any changes that are necessary regarding the cmake options/variables of audaspace should be made in theblender_config.cmake
file.Suggested UI improvements:
The UI code can be found here: https://gist.github.com/tin2tin/4cb6248b8746b7c132382a438f54be38
@blender-bot build
@blender-bot build
@blender-bot build
FindFftw3.cmake
file docs@blender-bot build
@iss I saw in the weekly notes, that there are some build problems on some of the platforms. UI considerations were mentioned earlier, but it was never mentioned what they were. Does the UI suggestion above address some of them?
It's fftw float library integration issue with Linux/Mac. You can see the problem by checking buildbot output. The snippet above does not fix it.
Please re-read what I wrote. My snippet was addressing UI issues.
Are you refering to this comment?
In any case, I am happy to implement your suggestion, but at this moment I need to get this patch to build at all
@blender-bot build
@blender-bot build
Thanks @iss for taking care of fftwf! :)
Thank you for explanation of how to do this correctly.
Iliya Katushenock referenced this pull request2023-11-23 16:56:48 +01:00