jecho is a simple javascript audio library
- Project website: https://dooxe.github.io/jecho/index.html
- API documentation: https://dooxe.github.io/jecho/api/index.html
- Download the latest
version of
jecho
- Create a webpage and include
jecho
inside:
<head>
<script src="path/to/libs/jecho/dist/jecho.min.js"></script>
</head>
- Have fun with audio :)
var audio = jecho.Audio.load('my/file').then(function()
{
audio.play();
});
- 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
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();
});