Skip to content

About

An ambient VST3 instrument that turns your local network's broadcast chatter into music

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

Listen to the Broadcast

An ambient VST3 instrument that plays your local network.

Your network never stops talking to itself:

  • speakers and TVs announcing AirPlay and Chromecast,
  • printers saying hello,
  • Windows PCs looking up each other's names,
  • Spotify and Dropbox beaconing,
  • phones joining the Wi-Fi.

Listen to the Broadcast hears that chatter and turns it into slow, evolving music, on the beat and in the scale you choose.

▶ Listen to a 40-second demo (MP3) · watch it with the plugin window (MP4)

The plugin window

Demo note: the demo is the real plugin playing a simulated household: a speaker, TV, laptop, printer, phone and NAS, with a new phone joining at 0:22. Those packets go through exactly the code path real ones take. It was rendered offline by tools/render_demo.cpp, so anyone can reproduce it. Your own network will sound different, which is the point.

What it does

  • Plays straight away. It has its own voices (bell, pluck, pad, glass, bass, hi-hat) and reverb. It can also send MIDI to drive your other instruments.
  • Runs entirely inside the plugin. No helper app, no virtual MIDI cables, no admin rights and no packet capture. It only listens, using ordinary network sockets, and never sends anything.
  • Stays on the beat. It follows your host's tempo and transport. When the host is stopped (VSTHost usually is), it keeps playing on its own clock.
  • Has about 50 scales from many traditions:
    • Western modes, pentatonics, blues, whole tone and diminished
    • Middle Eastern: Hijaz, Double Harmonic, Nahawand, Kurd, Nikriz, Persian
    • Quarter-tone maqam approximations: Rast, Bayati, Saba, Sikah. These are fixed-pitch approximations of each maqam's scale. They don't capture its melodic path, jins structure, modulation or regional intonation.
    • Hungarian minor and Ukrainian Dorian
    • Hindustani thaats: Bhairav, Todi, Purvi, Marwa, Kalyan…
    • Japanese and Chinese pentatonics
    • Pelog and Slendro
  • Chord controls: degree, size, stacking (thirds, fourths, fifths, clusters), voicing spread, a progression, and when to change chord (every N bars, or when a new device joins the network).
  • Gives every device its own voice. Each machine on your network gets a home note and a short phrase of its own, so after a while you can hear which device is talking.
  • Seven factory presets: Night Drift, Maqam Rast, Kyoto Garden, Raga Todi, Gamelan, Sparse Bells and Pulse.
  • Stops cleanly. Remove the plugin or close the host and everything stops. Panic silences every note instantly.

Install (Windows)

  1. Download ListenToTheBroadcast-VST3-Windows.zip. Get it from this repo's Releases page, or from the latest green run of the build workflow under Actions.
  2. Unzip it and copy the Listen to the Broadcast.vst3 folder into:
    C:\Program Files\Common Files\VST3\
    
  3. In VSTHost (a version with VST3 support) or your DAW, rescan plugins and load Listen to the Broadcast as an instrument.
  4. When Windows Firewall asks whether your host may receive network traffic, allow Private networks. Without this the plugin hears nothing. It never sends anything.
  5. Press Test sound. Then wait: most networks chatter every few seconds.

To uninstall, delete that folder.

"Windows flagged it as a virus"

This plugin is a new, unsigned file that very few people have downloaded yet. Windows judges downloads partly by reputation and by code-signing certificate, so new unsigned files often get warnings:

  • SmartScreen ("Windows protected your PC") warns about unfamiliar downloads.
  • Microsoft Defender sometimes flags them with a generic machine-learning detection, particularly a DLL that opens network sockets.

The build itself is transparent:

  • It's built from this source code by GitHub Actions, in public.
  • It contains no packer or obfuscation.
  • It never writes to disk, and never sends anything over the network.

To check your download:

  1. Compare the zip's SHA-256 against the .sha256 file published with it:
    Get-FileHash .\ListenToTheBroadcast-VST3-Windows.zip -Algorithm SHA256
  2. If it matches and you trust the source, use Properties → Unblock on the zip before extracting. In Defender, you can Allow the item.
  3. If Defender quarantined it, please report the false positive to Microsoft (choose "Software developer" or "Home customer"). Each report builds the file's reputation for everyone.

The permanent fix is signing releases with a code-signing certificate, for example Azure Trusted Signing or the free SignPath program for open-source projects. The build workflow has a clear place to add a signing step once a certificate is available.

Using it

Area What's there
Header Bar and beat, current chord, tempo (host or free-run), devices heard, notes sounding. Preset menu, Test sound, Panic.
Sound & Beat Built-in sound on/off, MIDI out on/off, level, reverb, sync, tempo, swing, notes per step, and how MIDI handles microtones.
Harmony Root, scale (grouped by tradition; ¼ marks quarter-tone scales), octave, chord degree, size, stacking, spread, progression, chord changes, and device melody.
Live traffic Packets as they arrive; repeats are merged with a count (x15). Also shows which ports are open.
Traffic → Sound One row per traffic type: activity meter, packet and note counts, on/off, role, sound, MIDI channel, octave, rhythm, length, velocity, max per bar, chance, and ▶ to test that row.

Every control is a normal plugin parameter. Your host saves them with the project and can automate them.

Traffic types and default sounds

Traffic What it is Role Sound MIDI ch
mDNS / Bonjour AirPlay, Chromecast, printers, phones advertising services note (each device its own phrase) Bell 1
SSDP / UPnP Smart TVs, routers, media servers pad (breathes while there's traffic) Pad 2
LLMNR Windows PCs looking up names note Glass 3
WS-Discovery Printers, scanners, cameras note Pluck 4
DHCP A device joining the network chord Bell 5
NetBIOS Older Windows file-sharing chatter bass Bass 6
LAN sync Dropbox, Spotify and Steam beacons hit Hat 10

Roles:

  • Note: a device's own phrase.
  • Chord: the current chord, struck.
  • Pad: the current chord, sustained while that traffic continues.
  • Bass: the chord's root.
  • Hit: a fixed note, e.g. for drums.

Tips

  • A row that's too busy: lower Max/bar or Chance, or pick a slower Rhythm.
  • One device repeating itself: leave Device melody on "A phrase per device".
  • Hear which devices join: set Change chord to "When a new device appears".
  • A port shows "held by another app": that app (Steam on 27036, for example) keeps it to itself. Every other traffic type still works.
  • Your own instruments: turn on MIDI out and route the plugin's MIDI to them. Each traffic type plays on its own channel. Set a row's sound to MIDI only to mute its built-in voice. For quarter-tone scales, set your synth's pitch-bend range to match Bend range; chords round to the nearest semitone over MIDI.

How it works

Network thread (plain UDP sockets, multicast joined on every network adapter)
  mDNS 5353 · SSDP 1900 · LLMNR 5355 · WS-Discovery 3702 · DHCP 67/68 · NetBIOS 137/138
  Dropbox 17500 · Spotify 57621 · Steam 27036
        │  lock-free queue: never blocks audio, drops when full
        ▼
Audio thread (no locks, no allocation)
  16th-note grid from the host's position (or the plugin's own clock), swing
  harmony: scale + progression → chord; device address → home note + phrase
  roles → notes → built-in synth + reverb, and MIDI out

What it reads, and what it keeps:

  • It only reads broadcast and multicast traffic that already reaches your computer.
  • It keeps no logs, stores nothing on disk, and sends nothing anywhere. Addresses appear only in its own window.
  • Each device's "voice" comes from a stable identifier: an unsalted 32-bit hash of its IPv4 address. That's a convenience so a device keeps the same note across sessions. It is not an anonymisation.

The design notes and prior art are in docs/architecture-evaluation.md.

Roadmap

  • IPv6 discovery traffic: mDNS ff02::fb, SSDP and WS-Discovery ff02::c, LLMNR ff02::1:3, DHCPv6 ff02::1:2. Most devices on dual-stack networks announce over IPv4 too, so today's version already hears most of the chatter.
  • Code-signed Windows builds, so SmartScreen and Defender stop warning.
  • A "network map" view: each device with its name (from mDNS or SSDP), its voice, and mute/solo. Hear your LAN and understand it: a teaching tool for networking and IT as much as an instrument.
  • More formats: AU and VST3 on macOS, and CLAP.
  • A demo recorded on a real network.

Building from source

You need CMake 3.22+ and a C++17 compiler (Visual Studio 2022 on Windows; GCC or Clang elsewhere). JUCE 8 is downloaded automatically.

cmake -S . -B build
cmake --build build --config Release --target ListenToTheBroadcast_VST3

The plugin is written to build/ListenToTheBroadcast_artefacts/Release/VST3/.

Tests

cmake --build build --config Release --target ltb_core_tests ltb_plugin_tests
build/ltb_core_tests                                          # Windows: build\Release\ltb_core_tests.exe
build/ltb_plugin_tests_artefacts/Release/ltb_plugin_tests     # optional: pass a .png path to render the window
  • ltb_core_tests covers the timing grid, scales, chords, progressions, pads, motifs, the synth, and the network listener on real sockets.
  • ltb_plugin_tests drives the actual plugin offline. It checks sound and MIDI, host sync, the presets, save and restore, panic, and shutdown time.

Regenerate the demo with tools/make_demo.sh build. It builds nothing itself; it needs the ltb_render_demo target and ffmpeg.

CI (.github/workflows/build.yml) runs on every push, on Windows and Linux. It builds, runs both test suites, and validates the plugin with pluginval at its strictest level. The Windows job uploads the plugin zip and its checksum. Pushing a tag such as v1.0.0 also publishes them as a GitHub Release.

License

Listen to the Broadcast is GPL-3.0-or-later (see LICENSE).

It's built with:

  • JUCE 8, used under AGPLv3,
  • the Steinberg VST3 SDK, which is MIT since version 3.8.

The released plugin therefore combines GPLv3 code with AGPLv3 code. docs/LICENSING.md explains why that's allowed, what it means for anyone redistributing the plugin, and when a commercial JUCE licence would be needed instead.

About

An ambient VST3 instrument that turns your local network's broadcast chatter into music

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages