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
Can an oscillator start at the same point every note on?
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 2 [37 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: 1, 2 Next
Author Message
G2Psy



Joined: Feb 06, 2009
Posts: 60
Location: Melbourne Australia
Audio files: 1
G2 patch files: 2

PostPosted: Fri May 29, 2009 4:58 am    Post subject: Can an oscillator start at the same point every note on? Reply with quote  Mark this post and the followings unread

Simple bass notes need to start at the same point every note to sound consistent. There's nothing more annoying than a bass saw wave which sometimes has a click at the start and sometimes doesn't because the phase of the cycle is changing every note. Oscillators don't seem to let you set the cycle start and some LFO's do, but even an LFO for bass notes does not start at the same point everytime - I've never gotten it to work.

Can I do this somehow?

Regards,
B
Back to top
View user's profile Send private message
Wout Blommers



Joined: Sep 07, 2003
Posts: 4529
Location: The Hague - The Netherlands
Audio files: 123
G2 patch files: 12

PostPosted: Fri May 29, 2009 5:26 am    Post subject: Reply with quote  Mark this post and the followings unread

In a spontaneous reaction couldn't work the Gate output into the OscSync input?

Wout
Back to top
View user's profile Send private message Send e-mail
blue hell
Site Admin


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

PostPosted: Fri May 29, 2009 5:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Use the sync input for audio rate oscillators and the reset input for LFOs, and connect these to the note-on trigger (usually the same thing that would start your envelope).

Edit : oops, Wout beat me Smile

_________________
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
Wout Blommers



Joined: Sep 07, 2003
Posts: 4529
Location: The Hague - The Netherlands
Audio files: 123
G2 patch files: 12

PostPosted: Fri May 29, 2009 5:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Very Happy YES! I'm the winner!

That's what spontaneous does for you Wink

Wout

Last edited by Wout Blommers on Fri May 29, 2009 5:31 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
blue hell
Site Admin


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

PostPosted: Fri May 29, 2009 5:30 am    Post subject: Reply with quote  Mark this post and the followings unread

party!
_________________
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
G2Psy



Joined: Feb 06, 2009
Posts: 60
Location: Melbourne Australia
Audio files: 1
G2 patch files: 2

PostPosted: Fri May 29, 2009 4:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for both replying so fast. So I'm sorry for taking so long to reply because of the time difference.

Sync for the audio oscillators sounds good. BUT ... it doesn't work in this example I attach. The Keyboard module gate output goes to the osc sync input. It should reset the saw wave at the start of each note but you'll see it doesn't if you record a few notes.

B


Saw Bass Should Start at 0.pch2
 Description:
Simple saw bass which should always start at phase 0, but doesn't.

Download (listen)
 Filename:  Saw Bass Should Start at 0.pch2
 Filesize:  1.21 KB
 Downloaded:  1545 Time(s)

Back to top
View user's profile Send private message
G2Psy



Joined: Feb 06, 2009
Posts: 60
Location: Melbourne Australia
Audio files: 1
G2 patch files: 2

PostPosted: Fri May 29, 2009 4:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

Bloody hell, it DOES work now. It worked after saving the pch2 to attach to you and loading it back into the G2. That is totally weird, adding the gate to osc sync did not make a difference while I had the editor open and before saving the patch.

Please ban me from further posting for your own sanity's sake Very Happy

B
Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Fri May 29, 2009 5:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

G2Psy wrote:
Please ban me from further posting for your own sanity's sake Very Happy


No way Laughing it's odd what happened for sure ... looking at the patch it should just work .. erm .. as it now does 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
G2Psy



Joined: Feb 06, 2009
Posts: 60
Location: Melbourne Australia
Audio files: 1
G2 patch files: 2

PostPosted: Fri May 29, 2009 6:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm baaack....

The attached audio file shows that in fact they don't always start at the same point. These are unquantized notes and the audio shows some difference in the start point. Now for the freaky part: if I quantize those notes and record the audio - they DO all start at the same point.

OK, it is slight but you can hear it with the bass isolated.

B


Bad Saw.wav
 Description:
I need to get out more

Download (listen)
 Filename:  Bad Saw.wav
 Filesize:  743.45 KB
 Downloaded:  1084 Time(s)

Back to top
View user's profile Send private message
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Sat May 30, 2009 12:30 am    Post subject: Reply with quote  Mark this post and the followings unread

I think it's the filter that clicks here. I've edited your patch a bit, changed the saw to a sine and trigger by an LFO. I've you tweak the speed of the LFO you'll here clicks coming in different ways. But if you turn off the filter the clicking is consistent - the same whatever speed you tweak the LFO to.

I you move the filter so that it's after the ADSR I think it works better.

/Stefan


saw_bass_should_sbt_edit.pch2
 Description:

Download (listen)
 Filename:  saw_bass_should_sbt_edit.pch2
 Filesize:  1.28 KB
 Downloaded:  1988 Time(s)


_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
iPassenger



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

PostPosted: Sat May 30, 2009 2:46 am    Post subject: Reply with quote  Mark this post and the followings unread

Looking at the patch I imagine the difference is caused by the release phase of the envelopes, as the envelopes are set to "N", they do not restart on note on at beginning but from wherever the release has got to at the next note on.. switching them to "\/R" should solve the starts of each envelope.

BTW: this is just a guess based on looking at the patch not testing it.. so sorry if i am off the mark. Smile

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



Joined: Feb 06, 2009
Posts: 60
Location: Melbourne Australia
Audio files: 1
G2 patch files: 2

PostPosted: Sat May 30, 2009 5:04 am    Post subject: Reply with quote  Mark this post and the followings unread

These are great ideas, and I'm learning some fine details along the way. Sorry iPassenger, the reset for the envelope doesn't make a difference but I will definitely use this setting for most envelopes from now on. The blip is coming from the filter, as you correctly spotted Antimon, but I haven't found a way to remove the blips yet. I even inverted the envelope and set a longer attack thinking that the fast opening of the filter caused the blip but that is no different either.

This basic patch shows a lot about any synth engine, its my favourite "get to know your synth" patch. In this case it has taught me a lot about the G2 and revealed a mystery. IMO quite a few synths fail this test, but the G2 has this unexpected behaviour.

Regards to all,
B
Back to top
View user's profile Send private message
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Sat May 30, 2009 5:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Well, there will always be a sharp edge at the start of the envelope, so some kind of tick should be expected.

You could approach the problem from the other side - if you can't set the phase at will, you can wait until the oscillator has the correct phase, and trigger the envelope at that moment. Attaching a patch that tries to do that, unfortunately it only works reliably for one pitch, if you tweak the oscillator it will start clicking again. :/

/Stefan


phase_matcher.pch2
 Description:

Download (listen)
 Filename:  phase_matcher.pch2
 Filesize:  1.16 KB
 Downloaded:  1878 Time(s)


_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
Antimon



Joined: Jan 18, 2005
Posts: 4145
Location: Sweden
Audio files: 371
G2 patch files: 100

PostPosted: Sat May 30, 2009 5:30 am    Post subject: Reply with quote  Mark this post and the followings unread

BTW, have you looked at the PM oscillator, maybe you can use that? Unfortunately it only has sine and triangle.

/Stefan

_________________
Antimon's Window
@soundcloud @Flattr home - you can't explain music
Back to top
View user's profile Send private message Visit poster's website
iPassenger



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

PostPosted: Sat May 30, 2009 5:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah its definately the filter.. take that out and it is the same every time.. how odd... Must be part of the filter algo. Tried a few of the filters and they all exhibit the same behaviour.

Tried a few different modules too (sat module etc) to see if it was caused by the delay in processing the signal through more modules etc.. and they did not intoduce this problem.

The filters must introduce some kind of fixed delay.

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



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

PostPosted: Sat May 30, 2009 5:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Tried it with the perc osc and it doesn't seem to do it, so i tried as Antimon said with the env before the filter and that also seems fine..


saw_bass_should_sbt_edit_3.pch2
 Description:

Download (listen)
 Filename:  saw_bass_should_sbt_edit_3.pch2
 Filesize:  1.2 KB
 Downloaded:  1554 Time(s)


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



Joined: Feb 06, 2009
Posts: 60
Location: Melbourne Australia
Audio files: 1
G2 patch files: 2

PostPosted: Sat May 30, 2009 7:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for all your help guys. I have the perfect saw bass by putting the filter after the amp. Its been an interesting ride and demonstrates that you don't really know anything unless you verify it is actually doing what you assume it is doing.

For completeness, I am putting the final patch in this attachment.

Regards,
B


Saw Bass 1.pch2
 Description:
The perfect saw bass.

Download (listen)
 Filename:  Saw Bass 1.pch2
 Filesize:  1.2 KB
 Downloaded:  1460 Time(s)

Back to top
View user's profile Send private message
xav



Joined: Mar 21, 2005
Posts: 164
Location: paris
Audio files: 8
G2 patch files: 7

PostPosted: Tue Jun 02, 2009 7:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Hello,

This threat interests me very much since I already noticed this "problem":
http://electro-music.com/forum/topic-31044.html
I would really like to understand if the osc doesn't want to start at 0 when synchronized to gate, or if the noise comes from the EG.

I repatched a lot of sounds with EG before filters but I don't like that, because I like to patch several OSC to parallel filters... For instance a saw to a LPF and a Square to a BPF... and if the EG isn't after, this type of patch requires as many EG as parallel voice, and 4 morph groups if one desires the same setting for all the EG.
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: Tue Jun 02, 2009 8:25 am    Post subject: Reply with quote  Mark this post and the followings unread

xav wrote:
H
I would really like to understand if the osc doesn't want to start at 0 when synchronized to gate...

Couldn't the problem be connected to the fact that the yellow gate signal is only updated at 24kHz, whereas the oscillators are calculated at 96kHz? I've run into such problems, because tyellow/blue signals are obviously not calculated and updated all at the same time.
Back to top
View user's profile Send private message
xav



Joined: Mar 21, 2005
Posts: 164
Location: paris
Audio files: 8
G2 patch files: 7

PostPosted: Tue Jun 02, 2009 8:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes Tim... it seems evident now. The G3 control rate will certainly be 96K. Laughing
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: Tue Jun 02, 2009 1:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

xav wrote:
Yes Tim... it seems evident now.

I don't know. It's just a conjecture on my behalf. I didn't try the example patches. I just thought that this also might be a possible cause. I've run into these kinds of problems when using high-precision audiorate stuff in conjunction with controlrate things. The ratio between controlrate and audiorate is 1:4, so the controlrates are updated every fourth sample. It seems that the controlrate processes are dynamically alloted into four groups which are calculated consecutively in a round-robin fashion. So there is no way to know WHEN a specific controlrate event will be calculated within this 4 sample cycle. At least that was my observation. I really ran into nasty problems here and it took me quite a while to figure out what the cause was. That's why my precision algorithms always clock at audiorate throughout.

Quote:
The G3 control rate will certainly be 96K. Laughing

Well, the distinction between control and audio signals is totally against the intention of modular synthesis anyway. That's why I never understood Buchlas deliberate choice of separating audio and control signals on his modular synths. Moog did it the right way, maybe that's the reason the Moog was more successful. I don't know.

On digital modulars, it's just to save calculation power anyway. And as DSPs become more powerful, this will no longer be necessary. There's nothing to gain from it otherwise.

Nevertheless, 24kHz controlrate is still incredible. I don't know any other synth, hard- or software, that comes remotely close to this performance. So let's be happy about this, this is great.

cheers,
t
Back to top
View user's profile Send private message
xav



Joined: Mar 21, 2005
Posts: 164
Location: paris
Audio files: 8
G2 patch files: 7

PostPosted: Tue Jun 02, 2009 2:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

tim wrote:

Couldn't the problem be connected to the fact that the yellow gate signal is only updated at 24kHz, whereas the oscillators are calculated at 96kHz?

Maybe a good way to know that would be to run an OSC at control rate (or to use a LFO as an OSC). I cannot do it for the moment....
Back to top
View user's profile Send private message
blue hell
Site Admin


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

PostPosted: Tue Jun 02, 2009 2:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

I was thinking that when the envelope would be triggered from the same yellow signal that syncs the osc ... it should work ok then.

BTW Xavier, you don't need multiple envelopes, you can use Level Multipliers that you control from the envelope module (the Env out, as it labeled on most env. modules), that would at least be a bit cheaper than multiple envelopes.

_________________
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
xav



Joined: Mar 21, 2005
Posts: 164
Location: paris
Audio files: 8
G2 patch files: 7

PostPosted: Tue Jun 02, 2009 2:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell wrote:

BTW Xavier, you don't need multiple envelopes, you can use Level Multipliers that you control from the envelope module (the Env out, as it labeled on most env. modules), that would at least be a bit cheaper than multiple envelopes.


YES!!!! That's it! How didn't imagine that by myself? I gonna patch that way. Thank you very much.
Back to top
View user's profile Send private message
G2Psy



Joined: Feb 06, 2009
Posts: 60
Location: Melbourne Australia
Audio files: 1
G2 patch files: 2

PostPosted: Tue Jun 02, 2009 5:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

As OP of this thread (although it is basically the same issue as xav's thread) I can't help but think that the G2 architecture simply fails with envelopes and control signals. It is not normal or expected to get a pulse or click when a fast envelope modulates a filter or amp. Its just wrong. Sure you can find a work around, but you really shouldn't have to. The only good side to this issue is that many digital synths have this flaw. But the good ones (Virus TI for example) never do this.

Cheers,
B
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 2 [37 Posts]
View unread posts
View new posts in the last week
Goto page: 1, 2 Next
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