13
$\begingroup$

In cycles,

I want an audio file of speech to cause an emission surface to change the amount of emission strength to match the volume from the voice actor's audio file. No sound = 0 strength Loudest sound = 10 strength

How do I connect one event to control the other? Also, can a specific audio file can be isolated to ignore other dialog and sound effects?

$\endgroup$

1 Answer 1

19
$\begingroup$

enter image description here

For convenience later on, I'll add a Value node, which you can connect to the emission strength or any other input.

  1. Set a key on the property, which you want to be "animated" by the sound wave.
    enter image description here
  2. In the graph editor, execute Bake Sound to F-Curves.
    enter image description here
  3. Adjust the resulting F-Curve with an Envelope modifier, mapping the output from 1 to 10. Or map the input from 0 to 1 and add a multiply node in the cycles material nodes to multiply it with 10.
    enter image description here
$\endgroup$
2
  • $\begingroup$ Why does it say "Set a key" what does that mean? The image shows connected nodes, doesn't seem to correlate. $\endgroup$ Commented Dec 15, 2017 at 8:54
  • $\begingroup$ @EricHuelin I added a few words to clarify. In my example, I added the Value node. Then I hovered over the Value Node's Value and pressed I to set a key. You can see the field being highlighted in yellow. This means it has been keyed and there will be a corresponding f-curve. I suggested setting keys and animating on a separate node, because it can be connected to whatever. Let's say you did all the animating in the Strength property of the Emission, but later on wanted to transfer the animation to a color ramp (as in my example), you wuold be stuck. $\endgroup$
    – Leander
    Commented Dec 15, 2017 at 13:40

You must log in to answer this question.

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