Author |
Message |
ik
Joined: Jan 30, 2005 Posts: 50 Location: North Carolina
G2 patch files: 25
|
Posted: Wed Feb 09, 2005 11:37 am Post subject:
1/x and A^x on the G2. How? |
|
|
I can't figure out ...
Could someone help me how to do 1/x and A^x on the G2?
In other words how to divide and how to exp two signals?
I am sure there is a way ...
Thanks for the help!
ik. |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24085 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Wed Feb 09, 2005 1:18 pm Post subject:
|
|
|
No need to blush, noone could until this showed up on the NM list :
Michael Estlick wrote: |
I was reading the wish list for the G2 on the electro-music forum.
Somebody asked for add, subtract, multiply, divide, square root, etc....
Hopefully they found the add, subtract, and multiply modules.
Here are two G1 patches, one does square root and the other divides. They use negative feedback to get the right answer.
These ideas should work the same on the G2.
sqrt:
the diode, two mixers, and gain control are the square root circuit. actually, it's square root of absolute value.
+16 corresponds to 1/4
the square root of 1/4 is 1/2
+32 corresponds to 1/2
the two osc's are in tune
divide:
the two mixers and the gain control are the divide.
+8 is 1/8
+16 is 1/4
(1/8)/(1/4) = (1/2)
+32 is 1/2
the two osc's are in tune
I couldn't resist, given that my day job is designing a floating point unit that does multiply, divide, and square root.
mike
|
Two patches were attached, one for square root and another for division - not for a^x but something along his lines of thought should be possible.
The patches are for the NM Classic, but should be portable to the G2 with some work - as Michael already said.
Jan.
Description: |
NM Classic division example by Michael Estlick |
|
Download |
Filename: |
divide.pch |
Filesize: |
1.01 KB |
Downloaded: |
260 Time(s) |
Description: |
NM Classic square root example by Michael Estlick |
|
Download |
Filename: |
sqrt.pch |
Filesize: |
1.06 KB |
Downloaded: |
251 Time(s) |
|
|
Back to top
|
|
|
Tim Kleinert
Joined: Mar 12, 2004 Posts: 1148 Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236
|
Posted: Wed Feb 09, 2005 2:27 pm Post subject:
|
|
|
Oh, great.
Now -if any owner of both a G1 and G2 would be so kind as to translate these into G2 patches for us, that would be very kind. We then could add them to the macro list, too. |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Wed Feb 09, 2005 2:31 pm Post subject:
|
|
|
Blue Hell wrote: |
The patches are for the NM Classic, but should be portable to the G2 with some work - as Michael already said.
|
Jan, I love you.
I have been looking at math sites for ages for this. Roots aren´t that hard to do iteratively if you can devide but there was no 1/n, creating the need to build one. The only text on this I could find was in a digital reprint of a c64 hacker magazine that dealt with making your own algorithems to get more data resolution(!!!) but then I got distracted and never build the rest. Now the main line of my secret plan for world domination can once again start roling starting tomorow morning.
First step will be porting this to Tassman. I´m realy sorry about that bit of heresy here but Tassman is all floating point which means it´s more suitable for my secret plans because my secret plans involve more feedback than a medium sized weather emulation. _________________ Kassen |
|
Back to top
|
|
|
ik
Joined: Jan 30, 2005 Posts: 50 Location: North Carolina
G2 patch files: 25
|
Posted: Wed Feb 09, 2005 2:38 pm Post subject:
|
|
|
Quote: | Two patches were attached, one for square root and another for division |
Thank you Thank you Thank you
Great!
ik. |
|
Back to top
|
|
|
ik
Joined: Jan 30, 2005 Posts: 50 Location: North Carolina
G2 patch files: 25
|
Posted: Wed Feb 09, 2005 3:07 pm Post subject:
|
|
|
I don't know why, but I can't download these patces. (I'm just getting error messages) ... Could someone please email me them to:
ikaldor@mindspring.com
Thanks,
ik. |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Wed Feb 09, 2005 3:24 pm Post subject:
|
|
|
Same here.
kassen at kassen dot mine dot nu, should the same person be willing to help me too.
More likely a admin should have a look. _________________ Kassen |
|
Back to top
|
|
|
Kassen
Janitor
Joined: Jul 06, 2004 Posts: 7678 Location: The Hague, NL
G2 patch files: 3
|
Posted: Wed Feb 09, 2005 3:50 pm Post subject:
|
|
|
http://kassen.mine.nu/em/
Temporary mirror for curious lurkers.
Thanks to Jan for sending me these and the G2 port.
I´ll try a Tassman prt tomorow if there´s time. _________________ Kassen |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24085 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Wed Feb 09, 2005 3:55 pm Post subject:
|
|
|
When things are working again I'll beam the G2 ports to the snippets forum, ehm [building blocks] I mean.
Jan. |
|
Back to top
|
|
|
|