Page 1 of 2

Syncable oscillators with alias suppression

Posted: Mon Jan 06, 2020 10:36 pm
by martinvicanek
By popular demand I am releasing a syncable, alias suppressed sawtooth slave oscillator. It is quite a tricky thing, if you look at the code, but I think I have finally got it to work with acceptable CPU load. The Sync input is different from the stock oscillators because it passes a fractional sampe value (as opposed to a simple on/off trigger). Both the master and the slave will accept positive and negative frequencies so you can modulate through zero.

I have included a little demo synth so you can crank the mod wheel like Jan Hammer.

I might add other waveforms in future but I can't say when that would be.

For those familiar with the spanish christmas tradition: Esto es mi regalo de reyes.
Have fun!

Re: Syncable oscillators with alias suppression

Posted: Tue Jan 07, 2020 8:54 am
by Spogg
Great work Martin! :o

I think I can hear distant applause…

Cheers

Spogg

Re: Syncable oscillators with alias suppression

Posted: Tue Jan 07, 2020 10:01 am
by k brown
Hmm - maybe I'm not using this right - with no sync applied I hear massive distortion, not a clean saw.

Re: Syncable oscillators with alias suppression

Posted: Tue Jan 07, 2020 10:07 am
by adamszabo
very cool martin! @kbrown, maybe the saw gets too loud and you need to lower the volume?

Re: Syncable oscillators with alias suppression

Posted: Tue Jan 07, 2020 10:18 am
by k brown
Uh, no. With mod wheel at minimum, you get a clean saw?

Re: Syncable oscillators with alias suppression

Posted: Tue Jan 07, 2020 1:05 pm
by Spogg
k brown wrote:Uh, no. With mod wheel at minimum, you get a clean saw?


Well mine is all nice and clean!
:lol:

Re: Syncable oscillators with alias suppression

Posted: Tue Jan 07, 2020 7:24 pm
by k brown
The example in blue at the top of the schematic sounds fab - but hook up the Mini Synth at the bottom of the schem and it's badly distorted. Looked at on a scope, the vertical portion of the saw is constantly jittering back and forth, with very audible results. Maybe this is only usable in mono/blue?

Re: Syncable oscillators with alias suppression

Posted: Wed Jan 08, 2020 7:36 am
by Halon
Great stuff! Thanks Martin! :)

Re: Syncable oscillators with alias suppression

Posted: Wed Jan 08, 2020 9:51 am
by martinvicanek
k brown wrote:The example in blue at the top of the schematic sounds fab - but hook up the Mini Synth at the bottom of the schem and it's badly distorted. Looked at on a scope, the vertical portion of the saw is constantly jittering back and forth, with very audible results. Maybe this is only usable in mono/blue?

Kevin, you are correct and I apologize for posting a buggy code. Need to fix it and then will up it again. :oops:

Re: Syncable oscillators with alias suppression

Posted: Wed Jan 08, 2020 10:18 am
by adamszabo
k brown wrote:The example in blue at the top of the schematic sounds fab - but hook up the Mini Synth at the bottom of the schem and it's badly distorted. Looked at on a scope, the vertical portion of the saw is constantly jittering back and forth, with very audible results. Maybe this is only usable in mono/blue?


In the poly version, put a green float with a value of 0.01 to the "Synceable polyBLEP Saw (w/branching)" module and the jittering will be gone