Shifrin ·
Hi,
OK, here's a pow(x,n) modules that raises 'x' (|x| > 0.0) to the power of 'n'. Written in the assembler component. Let me know of any problems!
MonoPolyPow.osm
Shif.
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Shifrin ·
Hi,
OK, here's a pow(x,n) modules that raises 'x' (|x| > 0.0) to the power of 'n'. Written in the assembler component. Let me know of any problems!
MonoPolyPow.osm
Shif.
beno ·
Thanks Shif!
Shifrin ·
Updated, the mono version is now 4x faster, and considerably faster than the original code component version I posted 😉
Shif.
infuzion ·
Shifrin wrote: Written in the assembler component. Let me know of any problems!
Wowzers, great work! Where did you learn assembly (might as well just post the links directly in the WiKi 😉
2 minor notes: 1. IMHO, the n & x connectors should be switched: top-bottom=left-right, but I'm not a programmer, perhaps your order is standard in other interfaces. 2. Great that you included tooltips... even better if you included your name for credits & version number 🙂
cheers
Shifrin ·
This is a great resource for learning assembly, download one of the versions :-
http://webster.cs.ucr.edu/AoA/Windows/index.html
I put the connectors in the order I did as this is the same order the connectors of the float 'pow' maths function, intuitively I see x raised to the power of n, hence the n being the top input. Very easy to change around though 😉
Shif.
platinumears ·
😀 😀 😀 😀
Tom7777 ·
Thanks 🙂
infuzion ·
Shifrin wrote: I put the connectors in the order I did as this is the same order the connectors of the float 'pow' maths function, intuitively I see x raised to the power of n, hence the n being the top input.
Ok, you win; the Float Power primitives have the same input layout. 🙂 Speaking of which...
Looks much sexier, doesn't it? I did a bit of text editing to have the connectors & tooltip echo the primitives. Does anyone know the font the primitives use? Arial has sharp bottoms, while the primitives have rounded... (use extreame zoom) Hopefully someday, we can move the connectors around. http://rapidshare.de/files/3085607/Mono ... n.osm.html (open the link in a new tab/window, scroll to the bottom, then click on {Free}. The link will be on the bottom of the new page. Auto-deleted after 20 days.)
Thanks for that great link Shif! Any more assembly links from others would be useful. TIA
Shifrin ·
That's cool 😀
I'd actually tried something similar with another component I was making but left it due to not being able to make the output connector centralised, if you know what I mean. Still, it looks good!!!
Cheers!
Shif.
infuzion ·
Thanks for the thanks Shif 🙂 If you make some assembly for me, I'll "skin" for you 😉
Hmmm, my white circle is missing a shadow... I wonder if it is worth it (file-size wize)... any comments?
Shifrin ·
infuzion wrote: Hmmm, my white circle is missing a shadow... I wonder if it is worth it (file-size wize)... any comments?
I wouldn't have thought the shadow would take up that many bytes - it'd just be a few extra modules - try it and see 😉
Shif.
skOre ·
Just wanted to add here, that in the module pack version of these, I took out the (V)To Parent, to avoid the pow-sign to be shown on the gui.
infuzion ·
skOre wrote: Just wanted to add here, that in the module pack version of these, I took out the (V)To Parent, to avoid the pow-sign to be shown on the gui.
Ooops, silly me, a copy/paste addickt! 🙂 Thanks for catching that skOre.
Wrote something here? To have a post removed or your name hidden, write to [email protected].