Bar
Defines a single bar’s pattern, as handled by a parent Track element.
- class
- Bar
- extends
- Base
- tag
<bar-blam>
Props
| name | type | default | description |
|---|---|---|---|
| s | string | The space-separated pattern representing the distribution of notes or sounds. |
|
| chance | number | 1 | The probability that any one sound in the |
| fill | boolean | false | Whether to play a fill (a randomized rearrangement of the bar’s pattern). |
Events
| type | description |
|---|---|
| blam | Fired whenever one bar (defined by a child Bar element) ends and another begins. Useful for compositional changes, made on the fly. Instigated by an ancestor Track element. |
Examples
Examples that use the Bar 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
- Ch-ch-ch-chocolate
- Radioactive orb
- Wah, I’m Sad
- Tape emulation
- Make It Fed
- A light lo-fi listen with LFOs
- Hopeless Horror hole