Bar
Defines a single bar’s pattern, as handled by a containing <track-blam> 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. |
|
| span | number | Just how many of the beats/triggers defined by |
|
| 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 the bar begins. Useful for compositional changes, made on the fly. Instigated by an ancestor |
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
- Make It Fed
- Tape emulation
- A light lo-fi listen with LFOs
- Hopeless Horror hole
- Ch-ch-ch-chocolate
- Dub Club
- Radioactive orb
- Side parting
- Typerblam
- Wah, I’m Sad
- Secret Tune