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 
Live streaming at radio.electro-music.com

  host / artist show at your time
  EdisonRex Edison's Electronic Review
Please visit the chat
 Forum index » Clavia Nord Modular » G2 FAQ
mathematical functions on your Nord
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
iPassenger



Joined: Jan 27, 2007
Posts: 1049
Location: Sheffield, UK
Audio files: 5
G2 patch files: 78

PostPosted: Mon Jun 18, 2007 5:43 am    Post subject: mathematical functions on your Nord
Subject description: How to, please?
Reply with quote  Mark this post and the followings unread

Hey all,

Something I would like to look into is how to mimic mathemtical functiosn within the nord.

I realise it is quite simple to add, minus and subtract. i can even do divisions using integars etc (by using and Amplifier circuit set to less than 1.00)

But how do you go about performing trig style maths in there, Sin, Cos etc?

How do you divide one audio signal by another?

I presume it has something to do with the mixer modules and inversions but I am not sure.

Any clever folks out there willing to explain to novice?

I'm sure there are tons of mathematical equations n functions u can build in there, I could just do with a push in the right direction.

Cheers in advance.

_________________
iP (Ross)
- http://ipassenger.bandcamp.com
- http://soundcloud.com/ipassenger
Back to top
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20476
Location: The Netherlands, Enschede
Audio files: 147
G2 patch files: 318

PostPosted: Mon Jun 18, 2007 6:00 am    Post subject: Reply with quote  Mark this post and the followings unread

For division and square root :

http://electro-music.com/forum/viewtopic.php?highlight=math&t=5153

Sine and cosine can be done at LFO rates by using the LfoShapeA module and at audio rates by using the PM oscillator as lookup tables (frequency must be set to zero, on the LfoShpA by making the dir input zero).

Multiplication with the LevMult module, and squaring is multiplication of x by x.

Getting an absolute value : the Rect module.


Hmm, what more ... exp and log I guess, that's a bit confusing for the mo. We have a LevScaler.

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
iPassenger



Joined: Jan 27, 2007
Posts: 1049
Location: Sheffield, UK
Audio files: 5
G2 patch files: 78

PostPosted: Mon Jun 18, 2007 6:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Cheers matey. Wink

Unfortunately i can't look at em at work, so will have to wait till I get home.

Damn overlords keeping me here, providing me with internet and whot not....evil they are...best be careful they are probably watching....

_________________
iP (Ross)
- http://ipassenger.bandcamp.com
- http://soundcloud.com/ipassenger
Back to top
View user's profile Send private message Visit poster's website
Kassen
Janitor
Janitor


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

PostPosted: Mon Jun 18, 2007 7:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
For division and square root :

http://electro-music.com/forum/viewtopic.php?highlight=math&t=5153

Sine and cosine can be done at LFO rates by using the LfoShapeA module and at audio rates by using the PM oscillator as lookup tables (frequency must be set to zero, on the LfoShpA by making the dir input zero).

Multiplication with the LevMult module, and squaring is multiplication of x by x.

Getting an absolute value : the Rect module.


Hmm, what more ... exp and log I guess, that's a bit confusing for the mo. We have a LevScaler.


n mod x (for positive n and x) can be done by S&H-ing n and as long as the S&H holds more then x, substracting x from the S&H, then resampling. If n is smaller then x you make a second S&H sample the first and use that as a output. That's basically using recursion but by deviding the Nord's headroom by x you know the maximum number of iterations and hence the maximum responce time of the cerquit. Note that you can modulate x but this will likely change the (maxiumum) responce time and if you do it while the whole thing is in mid-operation you'll get one faulty output so x will need to be sampled as well if that would be a issue.

Modulo is very usefull for alternative tunings, asuming the tuning uses a octave and all octave have the same tuning. Also quite usefull for turning the lookup sequencer into a more advanced sort of step sequencer.

Can be elaborated to also allow n and x to be negative but generally I never needed that myself.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [4 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 » G2 FAQ
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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