Skip to content

jobf/sfxr-hx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sfxr-hx

Pure haxe implementation of Sfxr.

Bring your own framework

Wave data is stored in haxe.io.Bytes and can easily be integrated to your framework of choice.

Example

All parts of the library are contained in a single import.

Example of loading a preset and generating 16 bit mono wave data.

import Sfxr;

function generate_wave_data():Void
{
	var synth:Synth = new Synth();

	var preset = Configure.explosion();
	
	var wave_data:Bytes = synth.generate(preset);
}

Test

Generate each of the preset variants and save to disk.

cd tests
haxe make_waves.hxml

History

2007 Tomas Pettersson - sfxr

Original C++ implementation - see http://www.drpetter.se/project_sfxr.html

https://github.com/grimfang4/sfxr

2009 Mike Wiering - haXe SFXR

HaXe/Flash implementation

https://github.com/grimfang4/sfxr

2010 Thomas Vian - as3fxr

Flash as3 implementation

https://github.com/SFBTom/as3sfxr

2014 Fernando Serboncini - Haxe sfxr

Haxe/OpenFL implementation

https://github.com/fserb/sfxr

About

sfxr in pure haxe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages