1
$\begingroup$

I want to use baked sound F-curve instead of sin and cos in expression for Trefoil knot:

\begin{aligned}x&=\sin t+2\sin 2t\\y&=\cos t-2\cos 2t\\z&=-\sin 3t\end{aligned}

Is it possible to set position of curve in Geometry Nodes using F-curve data as function?

Method I tried: recreate curve shape with simulation. Baked f-curve input as "Signal":

enter image description here

Then i tried to call the Z coordinate of the resulting curve for the given index.

enter image description here

I thought that I could replace sin with this group as a math function. But it doesn't work.

$\endgroup$
2
  • $\begingroup$ I think there might be a way to copy it as a driver and use that in GN $\endgroup$
    – shmuel
    Aug 20, 2023 at 8:04
  • $\begingroup$ That sounds good. But I haven't found how to do it yet. $\endgroup$ Aug 20, 2023 at 19:19

1 Answer 1

1
$\begingroup$
  • create a value node and right click (or press i) and add a keyframe enter image description here enter image description here
  • then open up the graph editor and select the keyframe
  • select Channel > Bake Sound to F-Curves enter image description here
  • then locate your audio file and select it.
$\endgroup$
2
  • $\begingroup$ This is not exactly what I'm looking for. This method allows you to get the value of the baked sound at a certain point in time. But I'm looking for a way to create the curve of the entire track at once. Found a solution using Animation nodes: https://blender.stackexchange.com/a/47402/162404 It remains only to figure out how to do it using Geometry Nodes. $\endgroup$ Aug 21, 2023 at 13:54
  • $\begingroup$ Even though it didn't answer the OP's question, this answered my question of how to bake a sound to an F-curve to a value. $\endgroup$ Nov 20, 2023 at 14:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .