I'm trying to use your tool by doing the following
const clubber = new Clubber({
size: 2048,
mute: false
});
const bands = {
low: clubber.band({
from: 1, // minimum midi note to take into account
to: 59, // maximum midi note, up to 160.
smooth: [0.1, 0.1, 0.1, 0.1] // Exponential smoothing factors for each of the four returned values
}),
mid: clubber.band({
from: 58,
to: 95,
smooth: [0.1, 0.1, 0.1, 0.1]
}),
high: clubber.band({
from: 96,
to: 128,
smooth: [0.1, 0.1, 0.1, 0.1]
})
};
then after listening to the audio update time event I do the following
I'm trying to use your tool by doing the following
then after listening to the audio update time event I do the following
but the console log gives me
Is this what I'm suppose to get? a Rect? rather than array values?