Codex Builds a Browser-Based Sampler
Deep-Efficiency9146 · reddit · 2026-07-18
The author treated GPT-5.6/Codex as a somewhat chaotic but architecture-aware product team, iteratively building a 9-pad sampler inside a browser using randomly clipped YouTube segments.
During this experiment, it successfully generated complex browser audio logic:
- 9 independent YouTube audio tracks/Pads
- Audio capture via browser tab sharing
- Post-sampling features like trimming, reverse playback, and speed adjustment
- 16-step sequencer with Elektron-style conditional triggers
- Per-step pitch, volume, micro-timing, and effect parameters
- Probability and LFO modulation, transient slicing, and keyboard playing
- Local project saving and mixdown export
The author noted that the hardest parts weren't the UI, but rather browser audio permissions, keeping the sequencer stable during BPM changes, avoiding pops between buffers, and preventing old audio from leaking into new Pad states.
An interesting takeaway: when tackling complex issues within large files, the most effective way to prompt Codex isn't to "guess the API error," but to describe symptoms like a musician, such as "the next loop sounds like the tail is cut off too early."
The author shared the finished product to see if others are using these models for long-term, iterative creative tool development, rather than just "one-shot app generation."
More from coding & agent
- Grok 4.5 is now free inside Cursor, the popular AI coding IDE — mark_k · 2026-07-21
- Travel MCP Server adds flight, hotel, weather and budget tools for agents — modelcontextprotocol · 2026-07-21
- OpenAI hackathon project stalls as Codex struggles on voice, while Claude spots the issue — ColleenMBrady · 2026-07-21
- Douyin Video Analysis MCP turns share links into structured video summaries — modelcontextprotocol · 2026-07-21
- An indie builder open-sourced 50+ AI apps and says users should only pay for tokens — matchaman11 · 2026-07-21
- Shared agent workspaces fail in a fixed order, from stale reads to zombie writes — mrvladp · 2026-07-21