- untagged
bmod - config
- config.bus
- config.control
- config.subControl
- config.depth
- config.depthabs
- config.dc
- config.fxi
- 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:
- Explicitly put
controlin the config (e.g.bmod({ id: 2, c: "lpf" })) - If the control parameter is absent, the control immediately before the
bmodcall will be used (e.g.s("saw").lpf(500).bmod({ id: 2 })to modulatelpf)
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 }) | parameter | type |
|---|---|
| config |
|
| 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 | |