Blam
Handles events to affect a prop or AudioParam, or execute a method. Which of these three are applicable is automatically determined from the prop name supplied.
- class
- Blam
- extends
- Set
- tag
<blam-blam>
Props
| name | type | default | description |
|---|---|---|---|
| ramp | number | In beats. Where the |
|
| revert | boolean | false | When |
| once | boolean | false | Whether to only handle the event one time. Interesting, compositionally, when paired with a low |
| from | string | A CSS selector representing all elements from which events will be listened to. If not set, the node array defaults to the element’s |
|
| to | string | A CSS selector representing all elements to affect in response to the event. If not set, the node array defaults to the element’s |
|
| value | string | null | Handle-derived elements support special |
| event | string | blam | The event type to listen for. For many Event-based elements, this is the generic custom event |
| prop | string | null | The property (which may be a method or map to an |
| bypass | boolean | false | Whether to stop responding to events as they happen. |
| chance | boolean | 1 | The probability that the |
Examples
Examples that use the Blam element:
- Breathe and stop
- Slip and slide
- Give the drummer some
- A motif with some mojo
- I wear many hats
- Can one kick it?
- Snare makes the groove
- Getting ghosted
- Saturation shenanigans
- Automayhem
- Baby’s first blam
- Ch-ch-ch-chocolate
- Radioactive orb
- Tape emulation
- Make It Fed
- A light lo-fi listen with LFOs
- Hopeless Horror hole