惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
Blog — PlanetScale
Blog — PlanetScale
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
月光博客
月光博客
The Cloudflare Blog
量子位
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
MyScale Blog
MyScale Blog
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
D
DataBreaches.Net
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
U
Unit 42
博客园 - 聂微东
有赞技术团队
有赞技术团队
A
About on SuperTechFans

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - madmonk13/modal-16: Claude responded: A browser-...
madmonk · 2026-05-16 · via Hacker News: Show HN

A browser-based generative music sequencer built with JavaScript and Tone.js, designed for live performance and composition.

▶ Open modal-16

Overview

modal-16 is a 16-step polyphonic sequencer that runs entirely in the browser. It proposes melodies, chord progressions, bass lines, and drum patterns in real time using probabilistic rules and harmonic constraints. Patterns can be shaped, edited, saved, and performed live — the system generates, the composer decides what stays.

Everything runs in a single HTML file with no build step, no dependencies to install, and no server required.

Features

Sequencer

  • 16-step patterns for melody, chords, bass, and five drum voices (kick, snare, hi-hat, clap, open hat)
  • Per-step note editing with scale-aware dropdowns for pitched tracks
  • Per-track mute, hold, level, density, and FX controls

Instruments

  • 10 melody voices: Piano, Rhodes, Vibraphone, Bells, Mellotron Flute, Wurlitzer, Kalimba, Supersaw, Juno, Acid 303
  • 8 chord voices: Warm Pad, Strings, Organ, Glass, Tape Choir, Cello Ensemble, Brass Stab, Synth Pad
  • 7 bass voices: Electric, Sub, Synth, Moog, Fretless, Acid 303, Reese
  • Fully synthesized drum kit via Web Audio API

Harmony & Drift

  • 5 scales: Dorian, Phrygian, Aeolian, Pentatonic, Mixolydian
  • 10 harmonic progressions for automatic root movement
  • Pattern drift: incremental mutation of active steps and notes on a configurable bar interval
  • Harmonic drift: root transposition through a progression on a configurable interval
  • Freeze mode: locks drift until manually released

Performance

  • 8 snapshot slots — save and recall full pattern + instrument states
  • Chain sequencer — arrange snapshots into sequences with configurable repeat counts
  • Stutter (1× and 2×) — momentary step freeze for live rhythmic effects
  • Keyboard shortcuts for transport, mute, solo, and stutter

Recording & Scripting

  • Audio recording direct from the browser (exports .webm)
  • Script recording — captures all parameter changes as a timestamped JSON event log
  • Script replay — deterministic playback of a recorded session

FX

  • Per-track: LP filter, reverb, delay, stereo spread (melody/chords)
  • Master: tape wobble (vibrato), lo-fi low-pass, vinyl noise

Usage

Open index.html in a modern browser. No installation required.

  1. Click ▶ PLAY to initialise audio and start the sequencer
  2. Use ⟳ NEW PATTERN to generate a random pattern in the current key and scale
  3. Edit steps directly — click drum steps to toggle, use dropdowns to set pitched notes
  4. Save states to snapshot slots and chain them for structured arrangements
  5. Use ⏺ RECORD to capture audio, or ◎ SCRIPT REC to capture a session as a replayable script

Keyboard Shortcuts

Key Action
Space Play / stop
0 Unmute all
1–3 Mute melody / chords / bass
4 Mute all drums
5–9 Mute individual drum voices
Shift + 1–9 Solo track
Z (hold) Stutter 1×
X (hold) Stutter 2×

Technical

  • Vanilla JavaScript, no framework
  • Tone.js v14.7.77 for scheduling, synthesis, and effects
  • Web Audio API for drum synthesis and recording
  • Tone.js CDN loaded from cdnjs; piano samples loaded from tonejs.github.io/audio/salamander/ (external dependency — app falls back to synth mode if unavailable)
  • Single file: index.html

Scripts

The scripts/ directory contains replayable session recordings in JSON format. Load any script via ↑ IMPORT SCRIPT and press ▶ REPLAY to play it back.

01-init-script.json is the generative script for 01 init(), the opening track of Yesterday's Tomorrow, Today!

Yesterday's Tomorrow, Today!

Yesterday's Tomorrow, Today! is a twelve-track album recorded entirely with modal-16 by Jeff Ulicny.

Each track is a single live take of the generative system in performance — patterns proposed by the sequencer, shaped in real time through parameter changes, snapshot recalls, and live edits. No post-production, no overdubs. All composition, performance, and recording took place in the browser.

The album title and track names draw from programming terminology to invoke a retro-futuristic sensibility: the sound of futures imagined from the early days of personal computing, built with tools that exist today.

Listen on Bandcamp

About

modal-16 was designed and built by Jeff Ulicny.

License

MIT — free to use, modify, and distribute with attribution.