A web-based infrared remote control that generates IR signals as audio output. Control your TV using your browser's audio output connected to an IR LED circuit.
- Multiple TV Brands: Pre-programmed remotes for LG, Samsung, Sony, Vizio, and TCL/Roku TVs
- Custom Commands: Send any IR command by entering hex codes
- Adjustable Frequency: Set carrier frequency (default 38 kHz for most TVs)
- Audio Playback: Play IR signals through your device's speaker/audio output
- Download Audio: Save IR command audio files for offline use
- Material Design UI: Clean, modern interface using Google Material Design
- No Installation Required: Runs entirely in the browser
The application generates infrared signals using the NEC protocol, which is commonly used by LG TVs and many other IR devices. The IR signals are encoded as audio waveforms that can be:
- Played through speakers: Connect an IR LED circuit to your audio jack
- Downloaded as WAV files: Save commands for later use
- Used with external IR transmitters: Some devices accept audio input for IR transmission
To actually transmit IR signals, you need a simple circuit:
Audio Jack → [Capacitor] → [Resistor] → IR LED → Ground
(10µF) (100Ω)
Note: The polarity and component values may need adjustment based on your specific IR LED and audio output voltage.
Visit the live demo: https://rinthlabs.github.io/BrowserAudioIRBlaster
-
Clone the repository:
git clone https://github.com/RinthLabs/BrowserAudioIRBlaster.git cd BrowserAudioIRBlaster -
Open
index.htmlin your web browser (no build step required!)
- Find the IR code for your device (search online or use an IR code database)
- Enter the 8-digit hex code in the format
0x20DF10EF - Adjust the carrier frequency if needed (most TVs use 38 kHz)
- Click "Send Custom Command"
The application uses NEC protocol format:
- Address (8 bits): Device address
- ~Address (8 bits): Inverted address (for verification)
- Command (8 bits): Command code
- ~Command (8 bits): Inverted command (for verification)
Example: 0x20DF10EF
- Address:
0x20(LG TV) - Command:
0x10(Power button)
Currently pre-configured for the top TV brands:
- LG TVs (NEC protocol, address 0x20)
- Samsung TVs (NEC protocol, address 0x07)
- Sony TVs (NEC protocol, address 0x01) - Note: Some Sony models use SIRC protocol
- Vizio TVs (NEC protocol, address 0x04)
- TCL/Roku TVs (NEC protocol, address 0x08)
Simply select your TV brand from the tabs and use the remote!
You can add support for other devices by:
- Finding the device's IR codes (must be NEC protocol)
- Adding them to
ir-generator.js - Or using the custom command feature for one-off commands
- Protocol: NEC Infrared Protocol
- Carrier Frequency: 38 kHz (adjustable 30-60 kHz)
- Sample Rate: 192 kHz for high-quality audio generation
- Duty Cycle: 33%
- Audio Format: WAV (16-bit PCM)
Works in all modern browsers that support:
- Web Audio API
- HTML5 Audio Element
- Vue.js 3
Tested on:
- Chrome/Edge (Chromium)
- Firefox
- Safari
Contributions are welcome! Please feel free to submit pull requests or open issues for:
- Additional device codes
- New features
- Bug fixes
- Documentation improvements
This project is open source and available under the MIT License.
If you find this project useful, please consider supporting:
This project is for educational and personal use. Ensure you have the right to control any devices you target with IR signals. The authors are not responsible for any misuse of this software.
- Built with Vue.js 3
- Styled with Materialize CSS
- Icons from Material Icons
