Create an interactive web-based recreation of Audacity, the open-source audio editor, that feels like a living waveform workstation rather than a static mockup of one. Let visitors actually work with sound: record or generate audio into tracks, see real waveforms drawn sample by sample, select spans of time, cut, copy, paste, and delete audio, apply effects, and mix multiple tracks down into something they can play back and hear.
Recreate the whole look and feel with close fidelity to classic Audacity: the menu bar (File, Edit, Select, View, Transport, Tracks, Generate, Effect, Analyze, Tools, Help), the transport toolbar with its round record, pause, play, stop, and skip buttons, the tools toolbar with the selection, envelope, draw, zoom, time-shift, and multi-tool modes, the mixer toolbar with input and output volume sliders, and the edit toolbar with cut, copy, paste, trim, silence, undo, and redo. Tracks should stack vertically with the familiar track control panel on the left of each one — close button, track name, mute and solo toggles, gain and pan sliders — and the waveform should render in Audacity's characteristic blue-on-white style with the darker blue selection overlay, the timeline ruler above with time markings, and the vertical zoom and fit controls. Include the selection bar at the bottom showing selection start, end, and length, plus the project rate control.
Make the editing genuinely functional on real audio data. Visitors should be able to generate tones, noise, and silence from the Generate menu; record from the microphone where the browser permits; import an audio file from disk; and hear everything through actual playback with a moving playhead cursor and optional loop. The selection tool should support click-and-drag time selection, the envelope tool should reshape volume with draggable control points, the time-shift tool should slide clips within a track, and zoom should re-render the waveform honestly down to nearly sample level. Cut, copy, paste, delete, trim, and silence should actually modify the underlying audio, with undo and redo across named operations. The Effect menu should deliver working amplification, normalization, fade in and fade out, echo, reverb, bass and treble, and a real-time-previewed equalization or filter effect, each computed on the actual samples.
Preserve the original interface's personality and small behaviors: snapping selection edges, the scrubbing feel of dragging the playhead, track mute and solo logic during playback, the clipped-peak red markers where audio overloads, stereo tracks shown as paired channels, and dialogs that follow Audacity's plain, utilitarian rhythm. Ship the project preloaded with at least one generated multi-track session — for example a chord pad, a beat, and a melody line — so the workspace is alive and audible on arrival.
Do not take shortcuts, substitute a cookie-cutter audio player with fake waveforms, or stop at a superficial approximation. This skill imposes no token budget limit, so pursue the recreation down to the smallest meaningful interactions and continue refining its editing, effects, playback, selection, and state handling until the workstation feels complete, cohesive, and convincingly faithful to working in Audacity.