bluebox

bluebox · sources

DTMF dialer with phreaker buttons. 12-key phone keypad — digits 0-9 emit the Bell-System dual-tone pair (row + col, e.g. "5" → 770 Hz + 1336 Hz); BLUEBOX emits a single 2600 Hz sine (the AT&T in-band supervisory tone that 1970s phreakers used to seize long-distance trunks); REDBOX emits 1700 + 2200 Hz summed (the US payphone coin-acceptance pair). Each key is push-to-talk — pointerdown on the card OR a gate cable into the matching gate_<name> input holds the key down. Multiple held keys sum, and shared frequencies (e.g. "1" and "4" both pull col=1209) collapse onto a single shared phase accumulator so simultaneous presses produce a louder tone, not a flam — and a LOUDER one than a pair that shares nothing (1+4 beats 1+5 by 1.76 dB). No musical AD you can dial — bare on/off sines through a one-pole anti-click ramp (τ ≈ 1 ms), inaudibly fast on the way up and about 15 ms to silence on release. The mono sum is scaled by 1/4: one digit sits 18 dB below full scale, eight simultaneous digits reach it, and all twelve keys overshoot by about 2.5 dB.

A DTMF telephone dialer with two phone-phreaking buttons. BLUEBOX is a 12-key touch-tone pad — digits 0–9 plus BLUEBOX and REDBOX — where every key is a press-and-hold tone source with no musical envelope: hold it down and its tone(s) sound, release and they stop (a one-pole ramp at each edge kills the click; it is inaudibly fast on the way up and takes about 15 ms to reach silence on the way down). Each digit emits the standard Bell-System dual tone (a row frequency 697/770/852/941 Hz plus a column frequency 1209/1336/1477 Hz); BLUEBOX emits a single 2600 Hz supervisory sine (the classic trunk-seizing tone) and REDBOX emits the 1700 + 2200 Hz payphone coin pair. You can hold a key with the mouse OR by patching a gate cable into its gate input — the worklet ORs the two as levels, so either drives it and neither detects an edge. Held keys sum into one mono output through a fixed divide-by-four, and keys that share a frequency (e.g. 1 and 4 both use 1209 Hz) collapse onto a single shared oscillator so they reinforce instead of beating — which also makes them LOUDER than a pair that shares nothing. Watch the headroom: one digit sits 18 dB below full scale, eight simultaneous digits reach it, and all twelve keys overshoot by about 2.5 dB.

the faceplate

blueboxgate_1gategate_2gategate_3gategate_4gategate_5gategate_6gategate_7gategate_8gategate_9gategate_0gategate_blueboxgategate_redboxgateoutaudioaudiocvgatepitch
12 inputs · 1 outputs · 12 params

inputs

idcablewhat it does
gate_1gateHold gate for digit 1: while the level is high this digit's Bell dual tone (697 Hz + 1209 Hz) plays, stopping on the falling edge. ORs with the on-card "1" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_2gateHold gate for digit 2 (keypad letters ABC): while the level is high this digit's Bell dual tone (697 Hz + 1336 Hz) plays, stopping on the falling edge. ORs with the on-card "2" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_3gateHold gate for digit 3 (keypad letters DEF): while the level is high this digit's Bell dual tone (697 Hz + 1477 Hz) plays, stopping on the falling edge. ORs with the on-card "3" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_4gateHold gate for digit 4 (keypad letters GHI): while the level is high this digit's Bell dual tone (770 Hz + 1209 Hz) plays, stopping on the falling edge. ORs with the on-card "4" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_5gateHold gate for digit 5 (keypad letters JKL): while the level is high this digit's Bell dual tone (770 Hz + 1336 Hz) plays, stopping on the falling edge. ORs with the on-card "5" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_6gateHold gate for digit 6 (keypad letters MNO): while the level is high this digit's Bell dual tone (770 Hz + 1477 Hz) plays, stopping on the falling edge. ORs with the on-card "6" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_7gateHold gate for digit 7 (keypad letters PQRS): while the level is high this digit's Bell dual tone (852 Hz + 1209 Hz) plays, stopping on the falling edge. ORs with the on-card "7" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_8gateHold gate for digit 8 (keypad letters TUV): while the level is high this digit's Bell dual tone (852 Hz + 1336 Hz) plays, stopping on the falling edge. ORs with the on-card "8" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_9gateHold gate for digit 9 (keypad letters WXYZ): while the level is high this digit's Bell dual tone (852 Hz + 1477 Hz) plays, stopping on the falling edge. ORs with the on-card "9" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_0gateHold gate for digit 0: while the level is high this digit's Bell dual tone (941 Hz + 1336 Hz) plays, stopping on the falling edge. ORs with the on-card "0" key — either path holds it down. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release). Keys that share a frequency collapse onto one phase accumulator inside the worklet, so two simultaneous presses of frequency-sharing digits make a single louder tone rather than two beating oscillators.
gate / trigger
gate_blueboxgateHold gate for the BLUEBOX key: while the level is high the single 2600 Hz supervisory sine plays, and it stops on the falling edge. ORs with the on-card BLUEBOX button — either source can hold the tone open. Level-sensitive, not edge-triggered: the worklet reads the LEVEL every sample and detects no edge anywhere. There is no musical envelope you can dial — just a one-pole anti-click ramp (τ ≈ 1 ms) that is inaudibly fast on the way up and takes about 15 ms to reach silence on release.
gate / trigger
gate_redboxgateHold gate for the REDBOX key: while the level is high the 1700 Hz + 2200 Hz coin-tone pair plays and it stops on the falling edge. ORs with the on-card REDBOX button. Level-sensitive, not edge-triggered — the worklet reads the level, never an edge. No musical envelope: a one-pole anti-click ramp only (τ ≈ 1 ms up, about 15 ms to silence on release).
gate / trigger

outputs

idcablewhat it does
outaudioMono sum of every currently-held key. With nothing held it is silent; each held digit/phreaker key adds its tone(s) (frequency-sharing keys reinforce on a shared oscillator rather than detuning against each other). Patch it into a mixer, an effect, or straight to the output.
audio signal

params

idlabelrangedefaultcurve
btn_110..10linear
btn_220..10linear
btn_330..10linear
btn_440..10linear
btn_550..10linear
btn_660..10linear
btn_770..10linear
btn_880..10linear
btn_990..10linear
btn_000..10linear
btn_blueboxBLUEBOX0..10linear
btn_redboxREDBOX0..10linear

controls

controlwhat it does
Bluebox tonebank {n}THE TONE BANK — ten bars, one per oscillator, and the picture of what this module actually is. There is no oscillator per key: there is ONE fixed bank of ten sines (the four DTMF rows 697/770/852/941, the three columns 1209/1336/1477, and 1700 / 2200 / 2600), and a held key raises the target amplitude of each frequency it lights by a quarter. That word "raises" is the module: two keys that share a tone drive ONE bar twice as hard instead of running two independent voices, which is why holding 1 and 4 (both pull column 1209) is 1.76 dB louder than holding 1 and 5 — even though both hold two keys, both make four tone activations, and both peak at the same level. A bar carrying more than one held key is marked with its count, so the stacking is labelled rather than inferred, and every bar is outlined to its CAPACITY — how many keys could ever light it — so column 1336 reads as the tall one (2, 5, 8 and 0 all pull it) before anything is pressed. The bars are tinted by band: DTMF rows, DTMF columns, and the in-band tones that belong to no digit at all. The vertical scale is FIXED at four keys, the most any one slot can stack, so a bar growing is a bar growing rather than the axis rescaling under your hand. The label button flips the captions between each oscillator's frequency and the keys that light it, which is the Bell grid read backwards and the direct answer to "why did those two stack"; it is a display setting, private to your screen, not shared with the rackspace and not saved with the patch. Every height is computed from the live key state through the worklet's own frequency table, so it is the target the bank is heading for rather than an analyser reading. It does NOT move while you hold a key down on the faceplate or drive one from a gate cable: a momentary press writes only the audio engine and a gate is an audio-rate input, so neither is visible to any host-side reader — the bank lights when the keys are set durably (an instrument or group bar, a MIDI-mapped control, an automation lane, a preset recall, or the classic card).
0Digit 0 (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (941 Hz + 1336 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
1Digit 1 (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (697 Hz + 1209 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
2Digit 2 (keypad letters ABC) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (697 Hz + 1336 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
3Digit 3 (keypad letters DEF) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (697 Hz + 1477 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
4Digit 4 (keypad letters GHI) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (770 Hz + 1209 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
5Digit 5 (keypad letters JKL) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (770 Hz + 1336 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
6Digit 6 (keypad letters MNO) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (770 Hz + 1477 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
7Digit 7 (keypad letters PQRS) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (852 Hz + 1209 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
8Digit 8 (keypad letters TUV) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (852 Hz + 1336 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
9Digit 9 (keypad letters WXYZ) (held = 1, released = 0): plays the Bell-System dual tone for this keypad position (852 Hz + 1477 Hz). Held by the on-card key or by a gate into the matching gate input; multiple held keys sum into the single mono OUT.
BLUEBOXThe BLUEBOX key (held = 1, released = 0): plays a single 2600 Hz sine — the in-band supervisory tone AT&T used on long-distance trunks, the basis of the 1970s blue-box phreaking lineage. Held by the on-card button or by a gate patched into BLUEBOX in; multiple held keys sum.
REDBOXThe REDBOX key (held = 1, released = 0): plays 1700 Hz + 2200 Hz together — the US payphone coin-acceptance tone pair. Held by the on-card button or by a gate patched into REDBOX in; sums with any other held keys.

source

bluebox.ts on GitHub.

Generated from packages/web/src/lib/{audio,video}/module-registry.ts · repo