Modulating Parameters

Most parameters in Embergen can be controlled by an external modulation node.

How to modulate a parameter

Let’s say we want a sphere to continuously move up and down. This can be done by hand using keyframes, but you can also use an Oscillator node.

set override state to pin override for modulation
  • Set the override state for the Position parameter to Pin Override by left mouse button clicking on the icon next to it.

  • Connect an oscillator icon Oscillator node to the now exposed pin on the left side.

  • Set Waveform 1 and 2 to None so only the Z-position will oscillate.

  • Adjust the settings in the Oscillator node to your liking.

Node Details

Let’s have a look at the Node Details for the Oscillator.

  • Output: This shows a visualisation of the three oscillators.

  • Below the output you’ll see the parameter you’re modulating.

  • Custom Waveform: This graph is only visible when selecting Custom in one of the Wavefrom dropdown menus. The points in the graph can be created by left mouse button clicking somewhere on the curve, deleted by double left mouse button click and moved around holding left mouse button

waveform types
  • Waveform: This dropdown menu holds the different types of waveforms which will determine the pattern in which the values oscillate.

  • Base: Offset the values. Adding or subtracting.

  • Frequency: Number of times per second the pattern is repeated. Higher values will make the values change faster.

  • Phase: Temporal offset of the waveform.

  • Amount: Intensity of the waveform. Higher values will have the oscillated values deviate further from the base.

  • Attenuation: Intensity multiplier for all the waveforms.

Other Modulators

All the modulator nodes work with three values to represent the X, Y and Z axis.

When modulating a parameter with a single value the X or 1 output is used only.

When modulating a color parameter X, Y and Z will represent Red, Green and Blue

constant icon Constant

Generates a signal with values that don’t change over time.

This can be useful for when you want to control multiple parameters with the same slider.

oscillator icon Oscillator

Generates a signal where the values change over a specified waveform.

This can be useful to add some turbulence into your project by having parameters deviate from their base value in a ,for example, random way.

cycle icon Cycle

A version of the saw waveform. Repeats a linear value change from -360 to 360.

This is used to get something continuously rotating.

combinator icon Combine

This node doesn’t generate a signal, but combines multiple signals in a specified mathematical way.

math icon Math

This node has a text field where you can write you own math expressions to generate a signal.

time shift icon Time Shift

Doesn’t generate a signal, but does a temporal offset on the incoming signal.

keyboard icon MIDI

Generates a signal based on pressing buttons on a MIDI controller like a keyboard.

To use this you first need to check Settings/Preferences/General/Enable MIDI support