Skip to content

fenomas/wafxr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wafxr

Live demo

wafxr is a sound effect generator in the tradition of as3fxr, bfxr, jfxr, and others. But where such tools normally generate static files, this one plays sounds dynamically via Web Audio.

Supports oscillators, FM synth, tremolo/vibrato, and various other filters and effects. If you need more complicated sounds (and you're comfortable building audio graphs), check out wasgen instead.

Usage

Open the demo and twiddle the UI until you have a sound you like. Then copy the playback code into your project, add wasgen as a dependency, and off you go.

npm install --save wasgen
import Gen from 'wasgen'
var gen = new Gen()
gen.play([
  /* .. sound program from the demo page .. */
], 440, 1, gen.now(), gen.now() + 0.1)

Note on mobile support

Dynamic web audio is generally well-supported on mobile, but it's a bit CPU intensive so with heavy sounds you may hear glitches.


By

Made with 🍺 by andy.

License is ISC.