Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

jecho

jecho is a simple javascript audio library

Get started

  1. Download the latest version of jecho
  2. Create a webpage and include jecho inside:
<head>
	<script src="path/to/libs/jecho/dist/jecho.min.js"></script>
</head>
  1. Have fun with audio :)

Create a sound

var audio = jecho.Audio.load('my/file').then(function()
{
	audio.play();
});

What can I do with this audio ?

  • change the pitch
  • change the volume
  • change the pan
  • make it loop
  • change the position
  • add filters
  • ... may be more !

For more information, please check the API: https://dooxe.github.io/jecho/index.html

Filtering

var audio = new jecho.Audio();
audio.addFilter(jecho.AudioFilter.create(
	function(channel,input,output,length)
	{
		for(var i = 0; i < length; ++i)
		{
			output[i] = 0.5 * input[i];
		}
	})
);
audio.load('my/file').then(function()
{
	audio.play();
});

Releases

No releases published

Packages

No packages published