electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
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 » G2 Building Blocks
Anti-aliased quad sawtooth subharmonic generator
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Tim Kleinert



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

PostPosted: Tue Feb 07, 2017 4:53 pm    Post subject: Anti-aliased quad sawtooth subharmonic generator
Subject description: generates 4 anti-aliased subharmonic sawtooths from one master sawtooth oscillator
Reply with quote  Mark this post and the followings unread

This building block generates four subharmonic sawtooth oscillators from a master sawtooth by a non-trivial (ie. anti-aliased) method. The divisor for each subharmonic can be individually set (elegantly via clock divider modules) as can its level be adjusted.

The patch works by isolating the BLEP residual from the master sawtooth oscillator and multiplexing it into four sub-divided BLIT streams which then are summed and integrated. (The integrator is leaky as not to accumulate DC.)

I used an OscA as a master, since it (as well as the OscB) has way better anti-aliasing than the other oscillator modules.

To re-iterate the obvious, this circuit will only work properly with a sawtooth wave.

cheers,
t

EDIT: Programming tip: set the divisors of the four subharmonic generators to 2,4,8 and 16 for total suboscillator overkill. Laughing


QuadSubharSaw_TK.pch2
 Description:
generates 4 anti-aliased subharmonic sawtooths from one master sawtooth oscillator

Download (listen)
 Filename:  QuadSubharSaw_TK.pch2
 Filesize:  1.87 KB
 Downloaded:  3962 Time(s)


Last edited by Tim Kleinert on Tue Feb 07, 2017 6:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Tue Feb 07, 2017 5:39 pm    Post subject: Re: Anti-aliased quad sawtooth subharmonic generator
Subject description: generates 4 anti-aliased subharmonic sawtooths from one master sawtooth oscillator
Reply with quote  Mark this post and the followings unread

Tim Kleinert wrote:
[...]works by isolating the BLEP residual from the master sawtooth oscillator[...]


Shocked

Tim, you are nuts Laughing

Very interesting idea Cool

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Tim Kleinert



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

PostPosted: Tue Feb 07, 2017 6:14 pm    Post subject: Re: Anti-aliased quad sawtooth subharmonic generator
Subject description: generates 4 anti-aliased subharmonic sawtooths from one master sawtooth oscillator
Reply with quote  Mark this post and the followings unread

Blue Hell wrote:
Tim Kleinert wrote:
[...]works by isolating the BLEP residual from the master sawtooth oscillator[...]


Shocked

Tim, you are nuts Laughing

Very interesting idea Cool


Laughing It ain't rocket science. I just take the derivative of the sawtooth output (with my neato 2-module differentiator) which yields the differentiated BLEP pulse plus a DC constant from the sawtooth incremental. This is also separately captured once via S/H at zero-crossing (remember that the G2 sawtooths are actually ramps) and subtracted from the continuous differential -yielding the pure BLIT, albeit in differntiated form, which is irrelevant since it gets re-integrated again anyway afterwards.

Of course integrated BLITs aren't as clean and accurate as BLEP sawtooths, but, hey, it gets the job done.

EDIT: After rereading some of the literature, I noticed that one of my above statements is inaccurate. The BLEP is, as its acronym states, a BandLimited stEP function, which results from integrating the BLIT. So, by differentiating the sawtooth waveform and subtracting the resulting DC component coming from the ramp increment, the BLIT is properly retrieved. It isn't 100% pure though, since my hack ignores the phase wrap-around, resulting in a small amount of DC jitter -but it's usable.

Last edited by Tim Kleinert on Mon Feb 13, 2017 3:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Electromagnetic Wave



Joined: Apr 28, 2013
Posts: 305
Location: Kebek
G2 patch files: 38

PostPosted: Wed Feb 08, 2017 3:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Tim Kleinert!

Very usefull with my pythagorean tuning patch. I love to use shaper and other stuff on harmonics (without phase). This patch give me very nice results after 10 minutes! I need to integrate this building block in my patches ASAP!

Quote:
It ain't rocket science.

How many time before the : "special and limited Tim Kleinert expension board rocket science" for G2 ???
Back to top
View user's profile Send private message
Tim Kleinert



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

PostPosted: Wed Feb 08, 2017 9:01 am    Post subject: Reply with quote  Mark this post and the followings unread

Electromagnetic Wave wrote:
How many time before the : "special and limited Tim Kleinert expension board rocket science" for G2 ???


Casio already came up with synthesizer rocket technology 30 years ago. Laughing

Back to top
View user's profile Send private message
Electromagnetic Wave



Joined: Apr 28, 2013
Posts: 305
Location: Kebek
G2 patch files: 38

PostPosted: Thu Feb 16, 2017 12:04 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
EDIT: Programming tip: set the divisors of the four subharmonic generators to 2,4,8 and 16 for total suboscillator overkill.

Possible to edit the patch a bit to retrig all subharmonics at the begining of the cycle for each one. Or adjust where the cycle start for each of them. Important to have all of them perfect in tune when we adjust the 'divider' parameter on SUBHAR modules in the patch in real time. To sync them just use the Rst input on SUBHAR modules and the Sync on the main oscilator module with your source (Kb / sequencer / ...).

Ha! I love this tuning ... when the level indicator from the output module flash very fast and go to the red zone without go to yellow zone before. When you have no choice to add limiter or be carefull with clipping because of the tuning Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [6 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 Building Blocks
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