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 » Nord Modular G2 Discussion
Anti-aliased osc sync and user-definable waveforms
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 1 [15 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: Wed Mar 07, 2012 4:43 am    Post subject: Anti-aliased osc sync and user-definable waveforms
Subject description: Two remaining G2 problems solved
Reply with quote  Mark this post and the followings unread

Hi folks,

As the title says, I solved two remaining G2 problems yesterday: generating aliasing-free oscillator synchronisation and aliasing-free user-definable waveforms.

Unfortunately these solutions are quite expensive in DSP usage, but they work.

I published the circuits in the building block section.
Anti-aliased osc sync:
http://www.electro-music.com/forum/post-355719.html#355719

Anti-aliased user-definable waveforms:
http://www.electro-music.com/forum/post-355718.html#355718

Nothing this red box can't do.

cheers to all,
Tim


EDIT: Warning! These circuits push the limits hard and can malfunction on the demo software under certain conditions. The G2 hardware has no problem though.

EDIT 2: I detected a problem when sweeping the osc sync range more rapidly (occasional subtle audio clicks). No idea what causes this. Otherwise it works well (no "bird tones" when pitching into high registers).

EDIT 3: For a comparison between anti-aliased and non-anti-aliased, simply deactivate the 36dB filter. In higher registers, the difference can be huge.
Back to top
View user's profile Send private message
mosc
Site Admin


Joined: Jan 31, 2003
Posts: 18197
Location: Durham, NC
Audio files: 212
G2 patch files: 60

PostPosted: Wed Mar 07, 2012 10:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Cool, Tim.
_________________
--Howard
my music and other stuff
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Tim Kleinert



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

PostPosted: Wed Mar 07, 2012 10:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Howard. Smile

I must say, after extensive testing today I'm not all too satisfied with the hard sync, in a sense that the result doesn't really warrant the gargantuan effort. The wavedraw oscillator however works like a charm and has many future possibilities (like waveterrain and wavetable stuff).

I just now had the idea of using a comb filter to at least suppress inharmonic aliases in the hard sync scenario. After trying it out, I'm positively amazed by the result. The technique really gets rid of a lot of that audio junk. As a tradeoff however, the comb filter resonance result in a bit of smearing of the harmonics, but I don't find this a problem. This might be of interest to folks in quest of good hard sync sounds on the G2.

(Toggle comb filter on/off to hear the effect. Depending on osc frequency and sync sweep amount, the difference can be considerable.)


AliasSuppress_TK.pch2
 Description:
Suppressing inharmonic aliasing in the hard sync scenario via comb filtering.

Download
 Filename:  AliasSuppress_TK.pch2
 Filesize:  1.45 KB
 Downloaded:  3999 Time(s)

Back to top
View user's profile Send private message
Roland Kuit



Joined: Sep 29, 2003
Posts: 1090
Location: The Netherlands/Sweden
Audio files: 8
G2 patch files: 127

PostPosted: Thu Mar 08, 2012 8:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Nice Tim! I was softening the sync a while ago with use of a modulated delay module with feedback. But you can make the sync sound harder too:


Roland Kuit SyncHardener.jpg
 Description:
 Filesize:  83.96 KB
 Viewed:  17148 Time(s)

Roland Kuit SyncHardener.jpg


Back to top
View user's profile Send private message
Roland Kuit



Joined: Sep 29, 2003
Posts: 1090
Location: The Netherlands/Sweden
Audio files: 8
G2 patch files: 127

PostPosted: Sun Mar 11, 2012 3:02 am    Post subject: Reply with quote  Mark this post and the followings unread

And don't forget PLL sync. Normally this is done with a S&H module. Now I used this logic trick and a delay module. The funny part is, you can ditch the syncing osc in this pch too:


Roland Kuit PLL sync 10.jpg
 Description:
 Filesize:  99.14 KB
 Viewed:  17030 Time(s)

Roland Kuit PLL sync 10.jpg



PLL Sync 10.pch2
 Description:

Download
 Filename:  PLL Sync 10.pch2
 Filesize:  1.56 KB
 Downloaded:  4115 Time(s)

Back to top
View user's profile Send private message
3phase



Joined: Jul 27, 2004
Posts: 1183
Location: Berlin
Audio files: 13
G2 patch files: 141

PostPosted: Wed Mar 21, 2012 7:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi Tim.. nice work again...
Now i really do an own TK patches folder Wink

I havent used the G2 for a while, at least havent done new patches...just getting back to it now and defently have to dig a bit deeper in all the sophisticated building blocks you have done in the last years..

Have you really solved all the impossibilities of the G2 now?

dorremifasol mentions the "juicy filter" border in your
acompaning thread in the buildings block section.

Actually that is still a limit somehow where i havent found a conclusive solution yet too. where one building block becomes the filter of choice when it gets demanding.

Actually no digital system has shown a filter yet that really matches the analog ones. But i guess its possible to get closer as it is in the G2 with the right model..Just,
a difficult thing where you probably need to have some gain staging and saturation curves happening you cant get out of the internal modules so easily.

I wonder whether the techniques you have developed can provide some alternative ways to address that topic. One could try to mangle the audio.. Or model overtones with pitch detection and dynamic envelope following to model resonance clusters.. I actually think that there is a bit the problem.

In an analog filter you dont have equal poles, and these poles are not just slightly out of tune, when the trasistors dont match they add distortions and they interact with the other poles. Depedend on the circuit of cause..

In general the internal overdrive behavior on feedback loops of the G2 is a bit critical. And there is maybe a point where your number crunching routines on sample level might provide some solutions??? I dont know enough about your patches yet ..just realized that you somehow really patch litltel software subroutines somehow, directly adressing infrastructural limits that way.

Anyway.. maybe an idea for an own thread.. to collect where we are at in the filter department of the G2 in the year 2012.

What is the best alternative filter design made for the g2 sofar?
DIY or combination of exsisting filter module approaches..
Modeling approaches? Or just using sine oscilators and simulate teh resonance instead performing it?

You demonstrate pretty well that the G2 is not finally explored yet..
Maybe there are still tricks to learn in the filter department too.

What do you guys think? An extra thread to collect filter ideas?..
Maybe as a challenge to over think what we have in our libs already, or as motivation to try again to get it a step further?

I actually would like one day to finish my 303 emulation for the g2 project. Or get one step further now.
I have gathered some new insights during the last years by working with a real one again.

greats
Sven
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tim Kleinert



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

PostPosted: Thu Mar 22, 2012 6:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Filters with embedded nonlinearities are hard because you really have to oversample them to get a good result. And oversampling is impossible on the G2. I can't make it calculate faster than 96k. Also, with IIR filters (just like any type of feedback), floating point vs fixed point becomes a real big issue. And the G2 is fixed point arithmetic unfortunately. (I've also come to suspect that this fact is also the reason why it's almost impossible to get a really good sounding DIY reverb patch, even with designs that max out an entire expanded G2.)
Back to top
View user's profile Send private message
3phase



Joined: Jul 27, 2004
Posts: 1183
Location: Berlin
Audio files: 13
G2 patch files: 141

PostPosted: Fri Mar 23, 2012 3:08 am    Post subject: Reply with quote  Mark this post and the followings unread

Would it be possible with your box of tricks to do oversampling for a lofi version of a filter? like running on quarter rate?
Or is it just not possible on any rate because of structural limits?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tim Kleinert



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

PostPosted: Fri Mar 23, 2012 6:23 am    Post subject: Reply with quote  Mark this post and the followings unread

3phase wrote:
Would it be possible with your box of tricks to do oversampling for a lofi version of a filter? like running on quarter rate?
Or is it just not possible on any rate because of structural limits?

I'll think about it. Smile
My G2 "solutions" usually suddenly pop up in my mind in a flash of insight after seeding my subconscious with the problem at hand. This can take days, months or years. I had a hunch about the possibility of anti-aliased DIY oscillators some time ago, after I discovered that the G2 delay lines (buggy as they may be) have decent fractional sample interpolation. But only after getting other things to work (in this case a 96k DIY sawtooth counter with accurate pitch tracking and resolution) did every thing fall into place one morning in a flash (I was under the shower Laughing).
So I've seeded my subconscious with this filter thing this morning. Let's see what happens. I can't guarantee anything though.
Back to top
View user's profile Send private message
dorremifasol



Joined: Sep 28, 2006
Posts: 814
Location: Barcelona, Spain
Audio files: 7
G2 patch files: 49

PostPosted: Fri Mar 23, 2012 6:28 am    Post subject: Reply with quote  Mark this post and the followings unread

The shower, great source of inspiration!

When I need to compose a melody in a rush for the work, it usually comes in the shower at home. Very Happy

I suppose it's because in the shower one is away from other distractions, and relaxed.

_________________
Cheers,
Albert
Back to top
View user's profile Send private message Visit poster's website
Baby



Joined: Apr 24, 2006
Posts: 45
Location: Laos Angeles
Audio files: 2
G2 patch files: 15

PostPosted: Fri Mar 23, 2012 8:07 am    Post subject: Reply with quote  Mark this post and the followings unread

My filter solution..


Modular rig.jpg
 Description:
 Filesize:  142.6 KB
 Viewed:  369 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

Modular rig.jpg


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: Fri Mar 23, 2012 11:22 am    Post subject: Reply with quote  Mark this post and the followings unread

Baby wrote:
My filter solution..
Neat. Smile Would you mind posting it in the building blocks section? Laughing
Back to top
View user's profile Send private message
dasz



Joined: Oct 16, 2004
Posts: 1644
Location: victoria, canada
Audio files: 29
G2 patch files: 56

PostPosted: Fri Mar 23, 2012 6:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Shower and walks is what do it for me, and often I get both at the same here in Vancouver, Canada (rain showers while on a walk).

Nice Work, tim!
Dasz
Back to top
View user's profile Send private message
varice



Joined: Dec 29, 2004
Posts: 961
Location: Northeastern shore of Toledo Bend
Audio files: 29
G2 patch files: 54

PostPosted: Sat Mar 24, 2012 8:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Baby wrote:
My filter solution..

Laughing Cool

I have a similar filter solution using a modified Moog moogerfooger Low Pass Filter and modified G2X:

http://electro-music.com/forum/topic-12266.html

_________________
varice
Back to top
View user's profile Send private message
pyrosonic



Joined: Jul 12, 2008
Posts: 383
Location: Kent,Oh. USA

PostPosted: Sun Mar 25, 2012 6:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
My filter solution..


Oooooh,you have one of those Synthesizers.com G2's. Cool
I heard those are extremely rare! Laughing

_________________
http://soundcloud.com/pyrosonic-1
https://www.facebook.com/pages/Pyrosonic/106761076017889
http://www.youtube.com/user/pyrosonic
https://www.facebook.com/pages/Whorlweaver/133469163426410
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 [15 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