Rfxgen
A simple and easy-to-use fx sounds generator
Install / Use
/learn @raysan5/RfxgenREADME
rFXGen
A simple and easy-to-use fx sounds generator, based on the amazing Dr.Petter's sfxr.
What can I do with rFXGen?
Generate chiptune style sounds for your games or applications, adjusting fx parameters with maximum control!
rFXGen can be used for free as a WebAssembly online tool and it can also be downloaded as a standalone tool for for seeveral platforms.
Features
- Predefined sound presets (Coin, Shoot, Explosion, PowerUp...)
- Multiple wave types supported (Square, Sawtooth, Sine, Noise)
- Up to 10 sound slots to store generated sound (temporary save)
- Load
.rfxfiles with sound generation parameters - Save
.rfxfiles with sound generation parameters (104 bytes only) - Export wave data as
.wav,.rawdata or.hcode file (byte array) - Configurable sample-rate, bits-per-sample and channels on export
- Multiple GUI styles with support for custom ones (
.rgs) - Command-line support for
.rfxto.wavbatch conversion - Command-line support to generate audio files based on presets
- Command-line audio player for
.wav,.ogg,.mp3and.flac - Completely portable (single-file, no-dependencies)
- Free and open-source
Screenshot

Basic Usage
Open the tools and use the buttons to generate random sounds. Use the sliders to customize sound parameters.
Sounds could be saved as .rfx (sound generation parameters) and also exported to .wav, .raw (samples data) and .h (byte array code file).
rFXGen Standalone comes with command-line support for batch conversion and audio playing. For usage help:
rfxgen.exe --help
Command-line
rFXGen desktop version comes with command-line support for batch sound generation and cli sounds playing. For usage help:
rfxgen.exe --help
USAGE:
> rfxgen [--help] --input <filename.ext> [--output <filename.ext>]
[--format <sample_rate>,<sample_size>,<channels>] [--play <filename.ext>]
OPTIONS:
-h, --help : Show tool version and command line usage help
-i, --input <filename.ext> : Define input file.
Supported extensions: .rfx, .wav, .qoa, .ogg, .flac, .mp3\n
-o, --output <filename.ext> : Define output file.
Supported extensions: .wav, .qoa, .raw, .h
NOTE: If not specified, defaults to: output.wav\n
-g, --generate <preset> : Generate file based on the preset.
Supported presets: coin, laser, explosion, powerup, hit, jump, blip
-f, --format <sample_rate>,<sample_size>,<channels>
: Define output wave format. Comma separated values.
Supported values:
Sample rate: 22050, 44100
Sample size: 8, 16, 32
Channels: 1 (mono), 2 (stereo)
NOTE: If not specified, defaults to: 44100, 16, 1
-p, --play <filename.ext> : Play provided sound.
Supported extensions: .wav, .qoa, .ogg, .flac, .mp3
Technologies
This tool has been created using the following open-source technologies:
- raylib - A simple and easy-to-use library to enjoy videogames programming
- raygui - A simple and easy-to-use immediate-mode-gui library
- tinyfiledialogs - File dialogs for desktop platforms
Handmade Software
rFXGen is handmade software, it has been meticulously developed using the C programming language, with great attention put on each line of code written.
This approach usually results in highly optimized and efficient code, but it is also more time-consuming and require a higher level of technical skills.
The result is great performance and small memory footprint.
rFXGen is self-contained in a single-executable of about 1.5 MB, it could fit on a floppy disk.
Issues & Feedback
Note that the free version of rFXGen comes with no support. Still, tool issues and feedback can be reported at https://github.com/raysan5/rfxgen. They are reviewed with low-priority.
For additional support, priority issues review or tool customization requirements, please contact ray[at]raylibtech.com
License
rFXGen source code is distributed as open source, licensed under an unmodified zlib/libpng license.
rFXGen binaries are completely free for anyone willing to compile it directly from sources.
In any case, consider some donation to help the author keep working on useful software development.
Copyright (c) 2015-2026 raylib technologies (@raylibtech) / Ramon Santamaria (@raysan5)
Related Skills
docs-writer
99.3k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
338.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
ddd
Guía de Principios DDD para el Proyecto > 📚 Documento Complementario : Este documento define los principios y reglas de DDD. Para ver templates de código, ejemplos detallados y guías paso
