Files
test2/source/blender/sequencer/CMakeLists.txt
Kace c989add4cd VSE: Sound pitch correction
Add sound pitch correction functionality, so that retimed sound strips
can preserve their original pitch.

This has been implemented as a GSoC 2025 project. Actual pitch
correction is done with Rubberband library, which has been already
included into Blender 5.0 library builds; and then most of the other
code has been in Audaspace, which was already updated within Blender
tree earlier.

So this PR just flips on Rubberband build option, and adds the
checkbox to VSE sound strips for pitch correction (on by default for
newly created sound strips). Pitch correction works with both
simple whole-strip retiming, as well as more complex retiming setups
where different parts of the strip use different speeds.

Co-authored-by: Aras Pranckevicius <aras@nesnausk.org>
Pull Request: https://projects.blender.org/blender/blender/pulls/143347
2025-10-03 09:42:48 +02:00

157 lines
3.5 KiB
CMake

# SPDX-FileCopyrightText: 2011-2024 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later
set(INC
PUBLIC .
intern
../compositor
../compositor/cached_resources
../compositor/derived_resources
../editors/include
../animrig
../makesrna
# RNA_prototypes.hh
${CMAKE_BINARY_DIR}/source/blender/makesrna
)
set(INC_SYS
)
set(SRC
SEQ_add.hh
SEQ_animation.hh
SEQ_channels.hh
SEQ_connect.hh
SEQ_edit.hh
SEQ_effects.hh
SEQ_iterator.hh
SEQ_modifier.hh
SEQ_modifiertypes.hh
SEQ_offscreen.hh
SEQ_prefetch.hh
SEQ_preview_cache.hh
SEQ_proxy.hh
SEQ_relations.hh
SEQ_render.hh
SEQ_retiming.hh
SEQ_select.hh
SEQ_sequencer.hh
SEQ_sound.hh
SEQ_thumbnail_cache.hh
SEQ_time.hh
SEQ_transform.hh
SEQ_utils.hh
intern/animation.cc
intern/cache/final_image_cache.cc
intern/cache/final_image_cache.hh
intern/cache/intra_frame_cache.cc
intern/cache/intra_frame_cache.hh
intern/cache/preview_cache.cc
intern/cache/source_image_cache.cc
intern/cache/source_image_cache.hh
intern/cache/thumbnail_cache.cc
intern/channels.cc
intern/effects/effects.cc
intern/effects/effects.hh
intern/effects/vse_effect_add_sub_mul.cc
intern/effects/vse_effect_adjustment.cc
intern/effects/vse_effect_blend.cc
intern/effects/vse_effect_cross.cc
intern/effects/vse_effect_gaussian_blur.cc
intern/effects/vse_effect_glow.cc
intern/effects/vse_effect_multi_camera.cc
intern/effects/vse_effect_solid_color.cc
intern/effects/vse_effect_speed.cc
intern/effects/vse_effect_text.cc
intern/effects/vse_effect_wipe.cc
intern/modifiers/MOD_brightness_contrast.cc
intern/modifiers/MOD_color_balance.cc
intern/modifiers/MOD_compositor.cc
intern/modifiers/MOD_curves.cc
intern/modifiers/MOD_hue_correct.cc
intern/modifiers/MOD_mask.cc
intern/modifiers/MOD_none.cc
intern/modifiers/MOD_sound_equalizer.cc
intern/modifiers/MOD_tonemap.cc
intern/modifiers/MOD_white_balance.cc
intern/modifiers/modifier.cc
intern/modifiers/modifier.hh
intern/iterator.cc
intern/media_presence.cc
intern/multiview.cc
intern/multiview.hh
intern/prefetch.cc
intern/prefetch.hh
intern/proxy.cc
intern/proxy.hh
intern/proxy_job.cc
intern/render.cc
intern/render.hh
intern/sequencer.cc
intern/sequencer.hh
intern/sound.cc
intern/strip_add.cc
intern/strip_connect.cc
intern/strip_edit.cc
intern/strip_lookup.cc
intern/strip_relations.cc
intern/strip_retiming.cc
intern/strip_select.cc
intern/strip_time.cc
intern/strip_time.hh
intern/strip_transform.cc
intern/utils.cc
intern/utils.hh
)
set(LIB
PRIVATE bf::blenfont
PRIVATE bf::blenkernel
PRIVATE bf::blenlib
PRIVATE bf::blenloader
PRIVATE bf::blentranslation
PRIVATE bf::depsgraph
PRIVATE bf::dna
PRIVATE bf::extern::fmtlib
PRIVATE bf::gpu
PRIVATE bf::imbuf
PRIVATE bf::imbuf::movie
PRIVATE bf::intern::atomic
PRIVATE bf::intern::clog
PRIVATE bf::intern::guardedalloc
PRIVATE bf::nodes
PRIVATE bf::render
PRIVATE bf::windowmanager
bf_compositor
)
if(WITH_AUDASPACE)
list(APPEND INC_SYS
${AUDASPACE_C_INCLUDE_DIRS}
)
if(WITH_SYSTEM_AUDASPACE)
list(APPEND LIB
${AUDASPACE_C_LIBRARIES}
${AUDASPACE_PY_LIBRARIES}
)
endif()
add_definitions(-DWITH_AUDASPACE)
if(WITH_FFTW3)
add_definitions(-DWITH_CONVOLUTION)
endif()
if(WITH_RUBBERBAND)
add_definitions(-DWITH_RUBBERBAND)
endif()
endif()
blender_add_lib(bf_sequencer "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
add_library(bf::sequencer ALIAS bf_sequencer)
# RNA_prototypes.hh
add_dependencies(bf_sequencer bf_rna)