Public
Like
Web-amp
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v18View latest version
A simple web application that acts as a microphone amplifier using the Web Audio API.
- Real-time microphone amplification - Captures audio from your microphone and amplifies it through your speakers
- Adjustable gain control - Volume slider to control amplification level (0.1x to 5.0x)
- Visual audio level indicator - Real-time display of audio input levels with color coding
- Feedback protection warnings - Built-in warnings to help prevent audio feedback loops
- Clean, responsive UI - Dark theme with intuitive controls
- Click "Start Amp" - The browser will request microphone permissions
- Grant microphone access - Allow the app to use your microphone
- Adjust amplification - Use the slider to control the volume boost
- Monitor levels - Watch the audio level indicator to avoid clipping
- Click "Stop Amp" - Stops the amplifier and releases the microphone
⚠️ Feedback Warning: This app can create audio feedback loops if your microphone picks up sound from your speakers. To prevent this:
- Use headphones instead of speakers when possible
- Start with low amplification levels
- Keep your microphone away from speakers
- Be prepared to quickly stop the amp if feedback occurs
- Uses the Web Audio API for real-time audio processing
- Disables echo cancellation, noise suppression, and auto-gain control for pure amplification
- Includes real-time frequency analysis for the visual level indicator
- Responsive design works on desktop and mobile devices
Works in modern browsers that support:
- Web Audio API
- getUserMedia API
- ES6+ JavaScript features
- Visual feedback to monitor audio levels
- Easy stop button to quickly disable amplification
- Warning messages about potential feedback issues
- Automatic cleanup when the page is closed or refreshed