electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
1/x and A^x on the G2. How?
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [9 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
ik



Joined: Jan 30, 2005
Posts: 50
Location: North Carolina
G2 patch files: 25

PostPosted: Wed Feb 09, 2005 11:37 am    Post subject: 1/x and A^x on the G2. How? Reply with quote  Mark this post and the followings unread

Embarassed
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
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 23624
Location: The Netherlands, Enschede
Audio files: 266
G2 patch files: 320

PostPosted: Wed Feb 09, 2005 1:18 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.


divide.pch
 Description:
NM Classic division example by Michael Estlick

Download
 Filename:  divide.pch
 Filesize:  1.01 KB
 Downloaded:  189 Time(s)


sqrt.pch
 Description:
NM Classic square root example by Michael Estlick

Download
 Filename:  sqrt.pch
 Filesize:  1.06 KB
 Downloaded:  173 Time(s)

Back to top
View user's profile Send private message Visit poster's website
Tim Kleinert



Joined: Mar 12, 2004
Posts: 1147
Location: Zürich, Switzerland
Audio files: 7
G2 patch files: 236

PostPosted: Wed Feb 09, 2005 2:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Wed Feb 09, 2005 2:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
ik



Joined: Jan 30, 2005
Posts: 50
Location: North Carolina
G2 patch files: 25

PostPosted: Wed Feb 09, 2005 2:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
Two patches were attached, one for square root and another for division

Thank you Exclamation Thank you Exclamation Thank you Exclamation
Great!
ik.
Back to top
View user's profile Send private message
ik



Joined: Jan 30, 2005
Posts: 50
Location: North Carolina
G2 patch files: 25

PostPosted: Wed Feb 09, 2005 3:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Wed Feb 09, 2005 3:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Wed Feb 09, 2005 3:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Send e-mail Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 23624
Location: The Netherlands, Enschede
Audio files: 266
G2 patch files: 320

PostPosted: Wed Feb 09, 2005 3:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

When things are working again I'll beam the G2 ports to the snippets forum, ehm [building blocks] I mean.

Jan.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [9 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nord Modular G2 Discussion
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use