• untagged

bmod
  1. config
  2. config.bus
  3. config.control
  4. config.subControl
  5. config.depth
  6. config.depthabs
  7. config.dc
  8. config.fxi
  9. id

Modulates with the output from a given bus. Can be called in sequence like pat.bmod(...).bmod(...) to set up multiple modulators

Send to an audio bus with otherPat.bus(..).

There are two ways to declare which control will be modulated:

  1. Explicitly put control in the config (e.g. bmod({ id: 2, c: "lpf" }))
  2. If the control parameter is absent, the control immediately before the bmod call will be used (e.g. s("saw").lpf(500).bmod({ id: 2 }) to modulate lpf)

Modulators can be referred to by id so that they can be updated later e.g. inside a sometimes. See example below.

modulator: s("one").seg(64).gain(slider(0, 0, 1)).bus(1).dry(0)
carrier: s("saw").bmod({ b: 1 })
parametertype
config
  • object
Bus modulation configuration.
config.bus
Bus to get modulation signal from
config.control
Node to modulate. Aliases: c
config.subControl
Sub-control name to append to the control key. Aliases: sc
config.depth
Relative modulation depth. Aliases: dep, dr
config.depthabs
Absolute modulation depth. Aliases: da
config.dc
DC offset prior to application
config.fxi
FX index to target
id
ID to use for this modulator