Hi team,
I’ve created a small web application to design knobs. I hope you find it useful and that you’ll enjoy using it.
Hi team,
I’ve created a small web application to design knobs. I hope you find it useful and that you’ll enjoy using it.
@DabDab I put it in the sampler1 and it seems to work.
thank you for your help where is Legato in the fx?
@resonant Thank you very much! Knobman already exists, but I wanted to create something similar on the web that's easier to understand. Once you get how it works, it's like magic!
@Mighty23 Lol, things are coming true this is just the beginning. Thank you for your support.
@dannytaurus Yes, it is in French, I am working on it in English too, it will arrive in the next few days.
@Gab Thank you, I'm really trying to create something good, simple, and innovative and most importantly, free.
@Chazrox It's good, I did it. Thank you.
@resonant Thank you very much! Knobman already exists, but I wanted to create something similar on the web that's easier to understand. Once you get how it works, it's like magic!
@Mighty23 Lol, things are coming true this is just the beginning. Thank you for your support.
@dannytaurus Yes, it is in French, I am working on it in English too, it will arrive in the next few days.
@Gab Thank you, I'm really trying to create something good, simple, and innovative and most importantly, free.
Hi team,
I’ve created a small web application to design knobs. I hope you find it useful and that you’ll enjoy using it.
@Chazrox It's good, I did it. Thank you.
const var btns = [Content.getComponent("Button01"),
Content.getComponent("Button02"),
Content.getComponent("Button03"),
Content.getComponent("Button04")];
const var pnls = [Content.getComponent("Panel1"),
Content.getComponent("Panel2"),
Content.getComponent("Panel3"),
Content.getComponent("Panel4")];
// Masquer tous les panels sauf le premier au démarrage
for (var i = 0; i < pnls.length; i++)
pnls[i].showControl(i == 0);
// Ajouter les callbacks aux boutons
for (var i = 0; i < btns.length; i++)
{
btns[i].setControlCallback(onbtnsControl);
}
// Fonction quand un bouton est cliqué
inline function onbtnsControl(component, value)
{
local i;
for (i = 0; i < pnls.length; i++)
pnls[i].showControl(i == btns.indexOf(component));
};
I think it's settled
@Chazrox Should I modify it with something else?
The idea is to make 4 buttons with 4 different panels.
const var btns = [Content.getComponent("Button01"),
Content.getComponent("Button02"),
Content.getComponent("Button03"),
Content.getComponent("Button04")];
const var pnls = [Content.getComponent("Panel1"),
Content.getComponent("Panel2"),
Content.getComponent("Panel3"),
Content.getComponent("Panel4")];
for (b in btns)
{
b.setLocalLookAndFeel(tabLAF);
b.setControlCallback(onbtnsControl);
}
inline function onbtnsControl(component, value)
{
for (p in pnls)
{
if (pnls.indexOf(p) != btns.indexOf(component))
p.showControl(false);
if (pnls.indexOf(p) == btns.indexOf(component))
p.showControl(value);
}
};
I can't find the solution. Does anyone know where the error comes from ?