Skip to main content
VoiceNoteRecorderField ← Back to Table of Contents

Summary

In-browser voice recorder featuring a real-time frequency visualizer, inline playback (waveform + play/pause), and seamless Filament FileUpload storage integration. Records audio from the microphone, previews locally, and handles the entire upload/persistence pipeline.

Basic usage

Default — Upload on Form Submit

Immediate Upload after Recording


State & validation

Stored value

State is a relative path string to the stored audio file on your configured disk.

Validation rules

Inherits all FileUpload validation rules (maxSize(), required(), etc.). Default accepted MIME types include audio/*, audio/mpeg, audio/wav, audio/webm, audio/aac.

Media Ingress metadata

Integrates with Media Ingress for transcription and waveform sidecars.
Retention: configure media_capture.retention.voice_notes and schedule flex-fields:prune-capture-media.

Configuration API

All methods accept Closure unless noted.

Inherited FileUpload API

Commonly used methods from the standard Filament FileUpload:
  • disk(string $name)
  • directory(string $directory)
  • visibility(string $visibility)
  • maxSize(int $size)
  • deleteFileOnRemove() (Enabled by default)

Real-world examples

Support Ticket Voice Note

Private S3 Recording


Playground

Slug: voice-note-recorder-field /admin/flex-fields-playground/voice-note-recorder-field See Playground for setup.

CSS classes (reference)