All Projects → KilledByAPixel → Zzfx

KilledByAPixel / Zzfx

Licence: mit
A Tiny Sound FX System / Zuper Zmall Zound Zynth

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Zzfx

Minimp3
Minimalistic MP3 decoder single header library
Stars: ✭ 898 (+221.86%)
Mutual labels:  tiny, sound
Soloud
Free, easy, portable audio engine for games
Stars: ✭ 1,048 (+275.63%)
Mutual labels:  game-development, sound
Zzfxm
A super small music generator for use in size-limited JavaScript productions
Stars: ✭ 294 (+5.38%)
Mutual labels:  game-development, tiny
Dmitrysengine
[abandoned] C99 cross-platform 3D game engine with absolute minimum of external dependencies
Stars: ✭ 119 (-57.35%)
Mutual labels:  game-development, sound
Jsfx
Javascript Sound Effect Generator
Stars: ✭ 553 (+98.21%)
Mutual labels:  game-development, sound
Godot Mixing Desk
A complete audio solution for Godot 3.2.x, making procedural sound and adaptive/procedural music possible with a few nodes and a couple lines of code.
Stars: ✭ 240 (-13.98%)
Mutual labels:  game-development, sound
Dascript
daScript - high-performance statically strong typed scripting language
Stars: ✭ 259 (-7.17%)
Mutual labels:  game-development
Talos
Talos Particle Engine
Stars: ✭ 275 (-1.43%)
Mutual labels:  game-development
Runtimeunityeditor
In-game inspector and debugging tools for applications made with Unity3D game engine
Stars: ✭ 254 (-8.96%)
Mutual labels:  game-development
Shipyard
Entity Component System focused on usability and speed.
Stars: ✭ 247 (-11.47%)
Mutual labels:  game-development
Minigolf
A minigolf game written without a game engine in C
Stars: ✭ 282 (+1.08%)
Mutual labels:  game-development
Game Programmer Study Notes
⚓ 我的游戏程序员生涯的读书笔记合辑。你可以把它看作一个加强版的Blog。涉及图形学、实时渲染、编程实践、GPU编程、设计模式、软件工程等内容。Keep Reading , Keep Writing , Keep Coding.
Stars: ✭ 6,050 (+2068.46%)
Mutual labels:  game-development
Python Osc
Open Sound Control server and client in pure python
Stars: ✭ 274 (-1.79%)
Mutual labels:  sound
Topbar
Tiny & beautiful site-wide progress indicator
Stars: ✭ 262 (-6.09%)
Mutual labels:  tiny
Ob Xd
Virtual Analog Oberheim AAX / AU / VST / VST3 based synthesizer
Stars: ✭ 275 (-1.43%)
Mutual labels:  sound
Gamedevelopmentlinks
This is a collection of useful game-development links including, but not restricted to, development with MonoGame.
Stars: ✭ 257 (-7.89%)
Mutual labels:  game-development
Games
Create interesting games by pure python.
Stars: ✭ 3,431 (+1129.75%)
Mutual labels:  game-development
Ofxpdsp
openFrameworks addon for audio synthesis and generative music
Stars: ✭ 255 (-8.6%)
Mutual labels:  sound
Noahgameframe
A fast, scalable, distributed game server engine/framework for C++, include the actor library, network library, can be used as a real time multiplayer game engine ( MMO RPG/MOBA ), which support C#/Lua script/ Unity3d, Cocos2dx and plan to support Unreal.
Stars: ✭ 3,258 (+1067.74%)
Mutual labels:  game-development
Html5bytebeat
Bytebeats in HTML5
Stars: ✭ 277 (-0.72%)
Mutual labels:  sound

ZzFX - Zuper Zmall Zound Zynth

ZzFX Sound Designer

ZzFX Music

ZzFX Sound Board Demo

ZzFX is a JavaScript sound effect engine and creation tool

  • Sound effects can be generated or manually created using the web based sound designer.
  • Just include ZzFX.js to load ZzFX, it does not need to be initialized.
  • Or you can use ZzFX.micro.js a tiny (<1k) version that has only the ability to play sounds.

To play a sound in code, just call a simple function! Here are some examples...

zzfx(...[,,925,.04,.3,.6,1,.3,,6.27,-184,.09,.17]); // Game Over
zzfx(...[,,537,.02,.02,.22,1,1.59,-6.98,4.97]); // Heart
zzfx(...[1.5,.8,270,,.1,,1,1.5,,,,,,,,.1,.01]); // Piano
zzfx(...[,,129,.01,,.15,,,,,,,,5]); // Drum

Here is all the code you need to play ZzFX sounds!

zzfxV=.3    // volume
zzfx=       // play sound
(p=1,k=.05,b=220,e=0,r=0,t=.1,q=0,D=1,u=0,y=0,v=0,z=0,l=0,E=0,A=0,F=0,c=0,w=1,m=0,B=0)=>{let M=Math,R=44100,d=2*M.PI,G=u*=500*d/R/R,C=b*=(1-k+2*k*M.random(k=[]))*d/R,g=0,H=0,a=0,n=1,I=0,J=0,f=0,x,h;e=R*e+9;m*=R;r*=R;t*=R;c*=R;y*=500*d/R**3;A*=d/R;v*=d/R;z*=R;l=R*l|0;for(h=e+m+r+t+c|0;a<h;k[a++]=f)++J%(100*F|0)||(f=q?1<q?2<q?3<q?M.sin((g%d)**3):M.max(M.min(M.tan(g),1),-1):1-(2*g/d%2+2)%2:1-4*M.abs(M.round(g/d)-g/d):M.sin(g),f=(l?1-B+B*M.sin(d*a/l):1)*(0<f?1:-1)*M.abs(f)**D*p*zzfxV*(a<e?a/e:a<e+m?1-(a-e)/m*(1-w):a<e+m+r?w:a<h-c?(h-a-c)/t*w:0),f=c?f/2+(c>a?0:(a<h-c?1:(h-a)/c)*k[a-c|0]/2):f),x=(b+=u+=y)*M.cos(A*H++),g+=x-x*E*(1-1E9*(M.sin(a)+1)%2),n&&++n>z&&(b+=v,C+=v,n=0),!l||++I%l||(b=C,u=G,n||=1);p=zzfxX.createBuffer(1,h,R);p.getChannelData(0).set(k);b=zzfxX.createBufferSource();b.buffer=p;b.connect(zzfxX.destination);b.start();return b}
zzfxX=new(window.AudioContext||webkitAudioContext) // audio context

ZzFX Image

ZzFX Features

  • Tiny synth engine with 20 controllable parameters.
  • Play sounds via code, no need for sound asset files.
  • Compatible with nearly all web browsers.
  • Small code footprint, the micro version is under 1 kilobyte uncompressed.
  • Can produce a large variety of sound effect types.
  • Sounds can be played with a short function call. zzfx(...[,,,,.1,,,,9])
  • No additional libraries or dependencies are required.
  • Open source with MIT license, you can use this for anything!

ZzFX Music

ZzFX UI Features

  • Generates random sounds from presets.
  • Sound list is automatically saved.
  • Each parameter can be modified with constraints.
  • Lock and mutate buttons for each parameter.
  • Sounds can be renamed.
  • Shortens code for zzfx sound calls.
  • Displays image of sound wave when played.
  • Sounds can be marked as favorites to prevent removal.
  • Sounds can be loaded by pasting zzfx code for easy sharing.
  • List of sounds can be exported and imported.
  • Supports drag-and-drop of exported files into sound list.
  • Supports saving sounds as wav files for offline playback.

Games Using ZzFX

ZzFX Image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].