333 Spatial Disorientation

Neweffectstereomidi-host

Place two independent mono sources in a headphone sound field. Choose Twin Orbits, Spatial Mixer or Disorientation at startup. Twin Orbits shares a height centre between sources and offers sloping paths. Mixer gives A and B independent continuous heights. Disorientation adds vertical movement and slope to Fig8, Pendulum and Wander. Elevation is subtle: height and slope may sound like small changes in tone or position. What you hear depends on your ears, headphones and source; the displayed angles describe rendering targets rather than guaranteed perceived positions. Each mode has separate saved settings. Use web presets and elevation tools, panel/CV controls, or direct 8mu pitch/roll positioning. Orbits has normal/height fader pages; set Disorientation elevation in the editor. Beta3 includes the corrected roll direction and tested repeated-save fix. It runs two sources and all 64 taps at 192 MHz.

Panel

Workshop Computer panelPosition / ShapeSpeed / DistanceDistance / Level / ExcursionSource ASource BPosition / Shape CVDistance / Excursion CVMovement ClockPhase ResetLeft EarRight Ear

Controls

Main knob

Position / Shape
Orbits offset; Mixer selected-source position; Fig8/Wander depth or Pendulum arc centre. Selects the startup mode while Down is held.

X knob

Speed / Distance
Signed movement speed with centre stop in Orbits/Disorientation; selected-source distance in Mixer.

Y knob

Distance / Level / Excursion
Orbits distance; Mixer selected-source level; Disorientation excursion.

Switch

Linked / Source A: Linked movement in Orbits/Disorientation; selects A in Mixer.

Opposing / Retain Source: Opposing movement in Orbits/Disorientation; retains the selected Mixer source.

Reset / Source B / Hold Freeze: Orbits resets once per press; Mixer selects B; Disorientation freezes phase while held. Hold at startup and choose a mode with Main, then release.

Inputs & Outputs

Inputs

Outputs

Inputs

Audio 1

Source A
First independent mono source; unplugged input is silent.

Audio 2

Source B
Second independent mono source; unplugged input is silent.

CV 1

Position / Shape CV
Adds position in Orbits/Mixer; depth or arc-centre modulation in Disorientation.

CV 2

Distance / Excursion CV
Adds distance in Orbits/Mixer; overall movement excursion in Disorientation.

Pulse 1

Movement Clock
Clocks phase cycles in Orbits/Disorientation; unused in Mixer. Default four pulses per cycle.

Pulse 2

Phase Reset
Rising edge resets phase in Orbits/Disorientation, including while frozen; unused in Mixer.

Outputs

Audio 1

Left Ear
Binaural left mix; connect through a headphone monitoring path.

Audio 2

Right Ear
Binaural right mix; connect through a headphone monitoring path.

LEDs

LED 1

A Left
Source A left/right direction pair; Mixer selected pair blinks while panel pickup is pending.

LED 2

A Right
Source A right-side brightness; equal pair brightness can mean front or back.

LED 3

B Left
Source B left/right direction pair.

LED 4

B Right
Source B right-side brightness; Mixer selected pair blinks while panel pickup is pending.

LED 5

Linked / Editing A
Linked motion in Orbits/Disorientation; editing A in Mixer. During boot selection, left column selects Mixer.

LED 6

Timing Warning
Latches for callback at least 18 us, block at least 1200 us, an audio queue fault or a failed save/resume (once callbacks run). Hardware reset clears it. During boot selection, right column selects Disorientation.

README

Spatial Disorientation — card 333 · 0.4.0-beta3

Place two sounds around your head and set them moving on the Music Thing Modular Workshop Computer. Listen on headphones for the spatial effect. Choose Twin Orbits for circling motion, Spatial Mixer to place each source yourself, or Disorientation for figure-eight, pendulum and wandering paths.

Card 333 takes its name from the three spatial axes. It is inspired by Neuzeit Instruments Quasar and uses an independent implementation.

Elevation is a subtle headphone effect. Height and slope add spatial/timbral cues that you may hear as a small change in tone or apparent position. Slope can be harder to hear than a direct height change. What you hear depends on your ears, headphones and source material. The angles shown in the editor describe the rendered positions; you may not hear them at those exact angles.

Original code and documentation © 2026 Adrian Vos (soveda), MIT. Measured ear filters: Bill Gardner and Keith Martin, MIT Media Laboratory (1994), HRTF Measurements of a KEMAR Dummy-Head Microphone, Technical Report #280; separate data terms. ComputerCard, Workshop_BlockAudioCard, WaveSeq/EightMU/rppicomidi, Pico SDK, TinyUSB and linked runtime credits/licenses: THIRD_PARTY_NOTICES.md, firmware notices, build-component notices and the local ComputerCard 0.4.0 flash-pause adaptation. MIT does not relicense data or dependencies. No Quasar firmware, graphics or transfer functions are included.

Get started

  1. Download the beta UF2. Checksums identify the current binary. Back up existing presets with your old editor before using this beta's Save to card.
  2. Put the Computer in its normal BOOTSEL firmware-loading mode and copy the UF2 to the mounted drive. Reset with Main/X/Y near centre.
  3. Connect Audio In 1 and/or 2 to mono sources. Unplugged inputs are silent. Audio Out 1 is left ear, Audio Out 2 right ear. Use an appropriate stereo headphone monitoring path; connect these modular-level outputs through that path.
  4. Normal startup selects Twin Orbits. To select another mode, hold the switch Down during reset, choose with Main and release to confirm:
Main region Mode Startup LEDs
Lower third Twin Orbits None
Middle third Spatial Mixer Left column
Upper third Disorientation Right column

Startup selection is not saved. Each mode has its own saved settings. Headphones are the listening target; generic HRTFs vary with listener/headphones. Elevation uses generic measured ear filters, interpolated between level and above/below banks; it is not personalised to your ears. Expect a subtle cue rather than reliably precise vertical localisation. Speaker stereo/mono will not reproduce the same binaural scene.

Panel and patch controls

Control Twin Orbits Spatial Mixer Disorientation
Main Position offset Selected-source position Fig8/Wander front/back depth; Pendulum arc centre
X Signed orbit speed Selected-source distance Signed traversal speed
Y Distance Selected-source level Path excursion
Switch Up Linked Select A Linked
Switch Middle Opposing Keep selected source Opposing
Down Reset phase once per press Select B; release retains B Hold to freeze phase; release resumes
CV 1 Adds position Adds both positions Adds depth/arc centre
CV 2 Adds distance Adds both distances Adds excursion
Pulse 1 Movement clock Unused Movement clock
Pulse 2 Phase reset Unused Phase reset, including while frozen

X has a centre stop region; its manual maximum is ±1.5 cycles/second. Clock input sets movement cycle length with the editor's pulses/cycle (default 4). CV outputs stay nominal zero; pulse outputs stay low. Mixer uses soft pickup after selecting, restoring or remotely editing a source; move Main/X/Y near or through the stored value to regain control. Each source retains its position/distance/level.

Fig8 is a crossing path with independently phased sources. Pendulum sweeps an arc through the selected centre; Wander follows repeatable smoothly eased targets. Changing movement preserves phase. Freeze holds phase only: knobs/CV/live motion can still reshape held positions. Pulse reset and 8mu A still reset while frozen.

Web editor and presets

Use the matching beta editor, web/index.html, in desktop Chrome/Edge with WebMIDI/SysEx permission. Use a USB-C data cable, close Serial Monitor/other MIDI apps and choose “Spatial Disorientation” for both ports. iOS is unsupported. If opening the local file blocks MIDI, run this from the unpacked tester bundle or repository:

python3 -m http.server 8804 --bind 127.0.0.1 --directory web

Open http://127.0.0.1:8804. Hosted editors require HTTPS. This package does not publish a new hosted editor automatically. Editors using protocols before v7 are incompatible. Beta2 and the 0.3/0.4 alpha editors using protocol 7 work, but this editor documents the current motion mapping. Select the desired startup mode before connecting or applying its settings.

Changes wait for Apply; there is no automatic send. Read replaces displayed edits with current card values. Save to card persists applied settings and briefly fades audio for the flash write. Reset to init applies factory editor settings for the active mode; it does not save automatically. Export downloads the displayed settings; Import stages them until Apply. Preset names live in JSON files, not card flash. Three separate settings banks preserve inactive modes.

At the bottom, Randomise elevation stages new height/slope values for the shown mode; Reset elevation stages level height and zero excursion/tilt. These tools leave other sound settings alone and send nothing until Apply. Random combinations avoid immediate height clipping. Mixer randomises/resets A/B height only. Orbits Apply/init reads height and tilt back from the card and reports a mismatch if the returned values differ from those sent.

Shared settings: separation/phase separation, room reflections, A/B level trims, spatial strength and clock division. Separation and clock division are unused in Mixer. Mixer Read/Save capture both current placements and applied heights.

Elevation and sloping paths

  • Twin Orbits: one saved height centre shifts both sources above/below level. Path tilt adds height according to each source's direction: uphill is higher, the opposite direction lower. The sources can therefore have different heights while sharing the same centre. Orbits has no separate vertical-excursion control.
  • Spatial Mixer: A and B have independent, continuous saved heights. They stay at their set heights until edited; Mixer has no automatic vertical movement or sloping path. Editor controls set A and B separately; 8mu fader 8 changes the selected source's height.
  • Disorientation: its own saved height centre offsets both sources. Vertical excursion adds phase-related rise/fall; path tilt adds a directional slope. Fig8 rises/falls with phase, Pendulum is higher at its swing ends and lower near its centre, and Wander eases between repeatable height targets. The sources can differ in height because they have independent phases/targets. These settings are edited on the web page; 8mu pitch/roll reshape or turn the path rather than directly adjusting its elevation settings.
Height/path setting Behaviour
Orbits height centre −40° to +40°, both sources, independently saved from Disorientation
Mixer A/B height Continuous −40° to +40°, independently saved/exported
Disorientation height centre −40° to +40°, both sources
Disorientation vertical excursion 0–40° half-range around its height centre, before clipping
Uphill direction 0° front, 90° right, 180° back, 270° left; continuous diagonals
Path tilt 0–40° inclination; zero bypasses slope

Slope inclines the path about the listener: the selected uphill bearing goes up, the opposite bearing down, and perpendicular directions receive no added height from slope. Its horizontal projection also changes; path distance stays unchanged. This is an inclination about the listener, not a tilt about each path's own translated centre. Height centre and Disorientation rise/fall are added to the slope contribution, then clipped to ±40°. A nonzero centre or combined excursion/tilt can therefore flatten the top/bottom of the movement. The combined result is not necessarily one rigid inclined plane. Start at centre 0°, excursion 0°, tilt 40°, slow X to audition slope alone (Orbits has no excursion setting). Compare against tilt 0° using Apply; the audible difference may remain subtle even at 40°. Keep level and other sound settings steady, and listen without relying on the diagram. Resetting phase does not reset height settings: it can return to an elevated point if that direction is uphill. The live diagram shows horizontal direction only; it is not a 3D view, and its radius does not represent distance.

Direct 8mu control

Connect the 8mu and reset the Computer in a separate session from the web editor. Rev 1.1 boards detect the USB power role at boot; older boards keep editor/device operation. Reset after changing roles. Mixer ignores motion, while Orbits and Disorientation can use motion in place of Main. Motion starts off, and CV is still added to the controls. The 8mu does not write settings to flash.

In Twin Orbits, tap and release D in under 500 ms to switch between the normal and height/slope pages. Hold D for at least 500 ms to see timing information; releasing after a long hold leaves the page selected. Startup or a new connection selects the normal page. After a page change, the 8mu lights LEDs 1–3 for normal or LEDs 6–8 for height for one second. Pickup and level feedback then resume, so the page indicator is only temporary. These are the 8mu LEDs.

Fader Orbits normal Orbits height/slope Mixer Disorientation
1 Speed/direction Height −40°..+40° Selected distance Speed/direction
2 Distance Tilt0..40° Selected level Excursion
3 Separation Uphill direction Selected position Phase separation
4 Room Room Room Room
5/6 A/B trim A/B trim A/B trim A/B trim
7 Spatial strength Spatial strength Spatial strength Spatial strength
8 Tilt sensitivity Tilt sensitivity Selected-source height Motion amount

Faders 1–3 use soft pickup after each Orbits page change: move a fader to its stored value before it takes over. Speed, distance and separation set from the 8mu stay at their values while you edit height; returning to the normal page requires pickup again. Height and slope also keep their values when you leave that page. Shared faders 4–8 keep control across page changes. A fader waiting for pickup blinks. Panel controls remain available for parameters that the 8mu has not taken over. Disorientation and Mixer keep their existing page behaviour.

Orbits/Disorientation A resets/recentres at Main/current pose, B toggles motion, C holds phase. Motion/CV can still reshape held positions. C release restores the prior speed. Yaw is unused. Pitch controls front/back; roll controls left/right. The 8mu reports positive roll when its right edge is raised; the mapping inverts that sign so sound follows the lowered edge. Capture neutral approximately flat.

  • Orbits: tilt is a directional pointer relative to the captured Main anchor. At centre Main/reset phase, back edge raised points front; right edge lowered points right; front edge raised points back; left edge lowered points left. Combined tilt selects intermediate directions. Hold a pose to hold direction; returning near neutral holds the last direction. Fader 8 sets tilt sensitivity: lower values need more tilt to engage, zero returns to the anchor. Once engaged, it retains full angular travel. X automatic orbit and CV remain additive; centre X and remove CV for direct positioning. Height/slope pages do not alter motion.
  • Disorientation: pitch directly offsets bounded Main depth (positive pitch towards front); roll rotates the whole path towards the lowered edge, about ±90° from flat at full amount. Fader 8 scales both contributions; zero returns depth to its anchor and rotation to zero. Motion-off/disconnect eases rotation to zero; Main waits for panel pickup. A recaptures both axes/Main and resets rotation. Rotation follows the configured world-space slope. Height/bob/slope are set in the editor; there is no direct 8mu elevation page for Disorientation.

Holding a pose does not accumulate movement. A captures neutral in either mode; C freezes phase but permits tilt/CV reshaping.

Disorientation D tap cycles Fig8/Pendulum/Wander, with LEDs 1/2/3 briefly identifying movement; long D press keeps timing. Mixer A/B select sources, C is unused and D is timing. Mixer LED 8 identifies A steady/B blinking, with height brightness/pickup feedback.

Disconnecting the 8mu in Orbits restores saved height and slope and turns motion off. X and Y wait for panel pickup if the 8mu had taken control of them. Reconnecting selects the normal page and resets fader pickup. Changes made with the 8mu do not overwrite saved presets. To save height and slope, restart in editor mode and use the editor's Save command. The other 8mu mappings and takeover rules still apply.

LEDs, timing and known limits

The four upper LEDs show source A/B left/right direction pairs; equal brightness can mean front or back. Mixer selected pairs blink while panel pickup is pending. Bottom-left indicates linked movement or editing A in Mixer. Bottom-right latches a general warning: callback ≥18 µs, block ≥1200 µs, a queue fault or a failed save/resume (once callbacks run). Reset clears peaks/warnings. Startup LED patterns override runtime feedback.

Hold 8mu D for offline peak block-time bands: each lit LED represents 150 µs; eight lit means above 1050 µs. All eight flash if a timing/queue/save warning latched. A lit band alone is not a warning. The editor reports exact latched peaks and separate slow-DSP/callback/queue flags. Reboot between comparisons.

ComputerCard 0.4.0, 192 MHz / 1.15 V, 48 kHz, two sources / 64 taps. Core 0 captures audio/controls; core 1 renders 64-frame DSP blocks and services bounded USB work. Added transport latency is 128 frames, about 2.67 ms. Block deadline is 1333.3 µs; 1200 µs is an early warning. A missed output block can produce 64 frames of silence; late audio is discarded. Flash saves intentionally fade, stop ADC/DMA, lock out for verified flash access, then restart sampling in a known state before acknowledging. This fixes the tested repeated-save failure. Unchanged saves skip mute/erase; failures return an error and latch the general fault LED once callbacks run. A stopped core cannot guarantee LED feedback. Save pauses are excluded from timing peaks. Headroom remains narrow; see the test history below for earlier measurements and their limits.

Source and build

Build with Pico SDK 2.3.0 / Arm GNU Toolchain 15.2.Rel1 or compatible tools:

cmake -S . -B build_beta -DPICO_SDK_PATH=/path/to/pico-sdk -DCMAKE_BUILD_TYPE=Release
cmake --build build_beta -j2

The beta defaults to 64 taps/two sources. Source-A-only is diagnostic, not this package. Build evidence, protocol, design record, future options. Pre-generated measured tables ship with the source; building firmware needs no Python scientific libraries or measurement download. Mathematical slope-table reproduction uses tools/generate_slope_table.py; measured-bank provenance and archived elevation generator are recorded in the notices.

Release layout and regression checks

Current source, matching editor and firmware are in src/, web/ and uf2/. docs/ contains controls, test protocols and design history; vendor/ and licenses/ preserve attribution. Run sh tests/run.sh with Clang/Node installed for all 23 ASan/UBSan host programs and editor regressions. Header-only comparison baselines are in tests/reference; they are not alternate firmware. The full old source/UF2/editor archive and original tester packages remain in the standalone repository linked in the release notes. This release does not ship preview WAVs, local build caches or superseded firmware.

The recorded build uses Pico SDK 2.3.0 / Arm GNU 15.2.Rel1. The SDK embeds the compilation date; an ordinary rebuild on another day changes that text. For byte reproduction of the distributed 2026-10-15 firmware, build with SOURCE_DATE_EPOCH=1792022400. Build verification details.

Release notes

Beta3

This version adds direct 8mu pitch/roll control, with sound following the lowered edge: lower the right edge to move right. Yaw is unused. It also keeps the earlier Orbits height/slope controls and two 8mu pages, continuous Mixer height, vertical Disorientation movement, elevation randomise/reset tools and tested repeated-save fix.

Test history

Beta3 uses the exact bytes of the user-tested 0.4.0-alpha2-roll-polarity UF2. That build was promoted after the tester reported a pass. It adds direct pitch/roll control and the corrected lean direction to beta2, while retaining the earlier save-fix, elevation and 8mu page test results. The tester did not supply new timing peaks or a run duration for this pass; firmware and build checks supplement that hardware report.

Historical timing context from earlier builds (not new beta3 measurements):

Build / mode Duration Callback / block peak
Alpha26 Pendulum 25min 14 /1175µs; clean, no queue warnings
Alpha26 Fig8 20min 14 /1176µs; no separate listening/queue report
Alpha26 Wander 30min 14 /1193µs; clean, no queue warnings
0.3alpha1 opposing Orbits 22min 12 /1188µs; clean, no queue warnings

No new pitch/roll alpha2 peak values or run duration were supplied with its pass. Headroom remains narrow; historical Wander was only 7 µs below the block warning. Additional testers should log their own board/headphones, controls/CV, duration and USB role, covering editor and separate 8mu boots. Protocol/feedback.

Migration and downgrade

Beta3 uses SysEx7 / preset JSON7 / flash8, compatible with beta2, the 0.3.0 alpha1–3 and 0.4.0 pitch/roll experiments. No settings migration is needed from beta2. It reads flash1–7 and imports JSON1–6, preserving supported old fields. Migrating beta1 defaults only the new Orbits height/slope to level/zero tilt. Older missing Mixer heights default to level; missing vertical excursion/tilt to zero. No automatic boot migration write. Beta1’s editor uses an older protocol; use the matching beta3 editor. Each mode still has its own settings bank.

Export old presets before beta3 Save. Apply-only leaves old flash intact. After beta3 Save, beta1 cannot read flash8 and starts defaults. To downgrade, load the archived beta1 UF2/editor, import your old exports and explicitly Save in each desired startup mode. Beta1 cannot import JSON7. The 0.3.0 alpha1/2/3 and 0.4.0 pitch/roll alphas have the same formats as beta3 and need no schema downgrade. Archived versions.

Upgrading from alpha14

This updates the earlier card 333 alpha14 horizontal 32-tap package. Export old presets with its old editor before Save. Its protocol 3/JSON3/flash4 differs from beta3's protocol 7/JSON7/flash8. Beta3 imports old presets/flash in memory without an automatic write, with missing height/slope fields defaulting to level/zero. After beta3 Save, old firmware cannot read flash8. To downgrade, restore its UF2/ editor from repository history and import/resave your old exports. Beta2 and the pitch/roll alphas already use 7/7/8 and need no format migration.

Archived versions

Old preview audio is historical, not proof of the beta's sound. Archive holds earlier versions; current uf2/ contains only beta3 and its notices/checksum.

Beta2 is preserved with its source/editor/firmware and original tester bundle in archive/beta2. The two pitch/roll alpha experiments remain under archive/experimental/ for comparison; alpha1 uses the earlier reversed roll convention.

About this card

Creator
Adrian Vos
Language
C++ (Pico SDK + ComputerCard)
Version
0.4.0-beta3
Status
Beta
License
MIT
Created
2026-10-07
Updated
2026-10-22

Notes

Spatial Disorientation: WebMIDI/SysEx editor with per-mode height/slope settings, Read, Apply, Save, init, staged elevation randomise/reset and named preset import/export.

Music Thing Modular 8mu: Use faders, buttons and pitch/roll motion to place sounds; right edge down moves right. A short D release switches Orbits normal/height pages. Mixer uses pickup for the selected source. Use sepa…

ComputerCard 0.4.0 with a local attributed flash-pause adaptation, 192 MHz / 1.15 V, 48 kHz and a 64-tap continuous-elevation HRTF renderer on a 64-frame block worker. Rev 1.1 detects USB role at boot; older boards reta…

Data sources

releases/333_Spatial_Disorientation/info.yaml, releases/333_Spatial_Disorientation/README.md

Verify your download

Confirm the file you downloaded really is that new firmware.

macOS / Linux (Terminal)

shasum -a 256 firmware.uf2

Linux also has sha256sum firmware.uf2.

Windows (PowerShell)

Get-FileHash firmware.uf2 -Algorithm SHA256

Compare the result to the SHA256 on the website — it should match exactly.