Dfxr
Dfxr is a tool for procedurally generating bleeps and bloops in Decker. It is also a module that can compress the parameters describing a sound effect into a short string and reconstitute sound from that string later, for smaller deck sizes. With a little more scripting, you can tweak the parameters encoded in a sound-string before regenerating the sound, for varied foley effects.
Dfxr is strongly influenced by the design of DrPetter's Sfxr, but much simpler, removing or streamlining a variety of features to suit Decker's audio constraints (8khz 8-bit samples) and for better realtime performance. Short sound effects can generally be computed well within Decker's per-frame script execution quota, but keep in mind that longer sound effects will take longer to render, and may need to be statically rendered as sound resources for practical use. The "Export..." button in this tool can create Decker sound resources or save .wav files.
Like most tools made in Decker, you can run Dfxr in your browser and use "File -> Save As..." to save a self-contained .html copy you can run locally on your computer and keep forever. Alternatively, you can download the .deck file to run with Native Decker. Anything you create with this tool is entirely yours to use as you wish. If you use Dfxr to make sounds for your own projects I'd love to hear about it!
If you want a more flexible tool for generating static .wav files (especially if you aren't using those sound effects in Decker) try Sfxr or the web-based adaptation, Jsfxr.
| Published | 26 days ago |
| Status | Released |
| Category | Tool |
| Platforms | HTML5 |
| Rating | Rated 5.0 out of 5 stars (10 total ratings) |
| Author | Internet Janitor |
| Tags | Decker, decker-module, Generator, No AI, Sound effects, Soundtoy |
| Content | No generative AI was used |
Download
Install instructions
To run the .deck source file for this project, you'll need to install Native Decker or load it with a recent release of Web Decker. Please make sure you're using Decker version 1.68 or newer!

Comments
Log in with itch.io to leave a comment.
Super cool. Reminds me a lot of playing around with the generated bleeps and bloops in PuzzleScript too (perhaps there's shared lineage with Sfxr there, but don't remember off the top of my head). Big fan of the preset generators for adding good uncertainty to the creative process.
Yes! PuzzleScript embeds a JS rewrite of Sfxr, and the PuzzleScript "sound codes" are seeds for a random-number generator which produces all the other sound parameters. I initially considered a similar model for Dfxr- or potentially even using PuzzleScript-compatible sound codes- but that wouldn't make it possible for users to save sound effects they've manually tweaked after generation. Dfxr instead packs all the audio parameters into fixed-precision numbers and Base64 encodes the result. The codes are longer, but they can equally represent random presets or manual edits.
Oh, rad! Thanks for this context, I'll have to keep this as a note for myself! I'm a big fan of (and doing some writing about) how all of these small engines are in conversation with/around one another.
This is awesome! Incredible what tools you can make in Decker.
Sweeeeet
this is so sick, wtf
Oh hell yeah I will definitely get some use out of this!
Wow!!!!
You never miss, Mr. Janitor! 18 kilobytes never looked (or sounded) so good.
Amazing! This is frighteningly addictive and will be super useful. And greatlyappreciate the Random button!