Hello,
here is my new tutorial, which shows how to generate a sound-controlled animation, i.e. an animation driven by an audio file.
Cheers
Roberto
Here is the Phyton script:
==============================================================
import bpy
bpy.context.area.type = 'GRAPH_EDITOR'
bpy.ops.anim.keyframe_insert_menu(type = 'BUILTIN_KSI_VisualScaling')
bpy.ops.graph.sound_bake(filepath=" Write here the directory path & file name!!! ")
==============================================================Note, you can substitute the '
BUILTIN_KSI_VisualScaling' transformation key type with any of these values:Location
Rotation
Scaling
BUILTIN_KSI_RotScale
BUILTIN_KSI_LocRot
BUILTIN_KSI_LocScale
BUILTIN_KSI_LocRotScale
BUILTIN_KSI_VisualLoc
BUILTIN_KSI_VisualRot
BUILTIN_KSI_VisualScaling
BUILTIN_KSI_VisualRotScale
BUILTIN_KSI_VisualLocRot
BUILTIN_KSI_VisualLocScale
BUILTIN_KSI_VisualLocRotScale
BUILTIN_KSI_DeltaLocation
BUILTIN_KSI_DeltaRotation
BUILTIN_KSI_DeltaScale
BUILTIN_Available
My PC:
OS: Windows 10 Pro English 64-bit / CPU: Intel i7-9700 3.6GHz / MB: ASUS ROG Strix Z390 RAM: 32GB DDR4 2.6GHz / HD: 2TB+3TB / SSD: 2x512GB Samsung 860 EVO + 1x2TB Samsung
VB: Palit GTX2080 TI GamingPro 11GB / AB: embedded in the MB and VB (audio from the MOTU M4 I/F) / DirectX: 12