
Parameters
| Name | Type | Default | Range | What it does |
|---|---|---|---|---|
| horn | choice | single | single, two-tone, diaphone | the horn: one note, two notes a fifth apart, or a diaphone dropping from the fifth to the root |
| register | choice | low | deep, low | how deep it sounds: very deep or merely low |
| interval | number | 22 | 8 to 40 s | seconds between the blasts at the start, before the fog closes in |
| closing | number | 0.6 | 0 to 1 | how much closer together the blasts come as the fog thickens (1 about twice as often) |
| length | number | 1 | 0.6 to 1.6 | how long each blast is held, as a multiple of the usual 2 to 4 seconds |
| brightness | number | 0.5 | 0 to 1 | how rough and reedy the horn is (0 muffled and dark) |
| breath | number | 0.5 | 0 to 1 | the rush of air in the horn at the start of each blast |
| echo | number | 0.4 | 0 to 1 | how often a far-off horn answers on the fifth, quieter |
| bearing | number | -0.3 | -1 to 1 | where the horn stands, left to right |
| onHits | bool | true | – | a blast on every threshold as well as at intervals |
| where | choice | all | all, ladder | from home on, or only from the first stretch of the ladder to the coda |
| hush | bool | true | – | the layer goes quiet before a quiet threshold and comes back on its hit |
| quietLead | number | 2.5 | 1 to 6 s | how long before a quiet threshold it falls silent |
| key | choice | C | C, C#, D, Eb, E, F, F#, G, Ab, A, Bb, B | the key its low tones sit in; the channel’s when unset |
| mode | choice | major | major, minor, dorian, lydian, mixolydian, phrygian | the scale its tuned notes are drawn from |
Use it in a film
film.js
elements: { 'foghorn': { horn: 'single', register: 'low' } }Use it from your agent
Ask your agent to put it in a film. It finds the element by name.