A
A
Alexander2015-09-29 13:58:59
JavaScript
Alexander, 2015-09-29 13:58:59

How to bind controls to equalizer in javascript?

habrahabr.ru/post/240819 I wanted to know how to bind the control to the equalizer

I have a block with input














how can I connect this function?

var bindEvents = function (inputs) {
inputs.forEach(function (item, i) {
item.addEventListener('change', function (e) {
filters[i].gain.value = e.target.value;
}, false );
});
};

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question