oscillator sync

Post Reply
User avatar
AutumnCheney
Posts: 504
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

oscillator sync

Post by AutumnCheney »

i would love to see an implimentation of oscillator sync (https://en.wikipedia.org/wiki/Oscillator_sync) in sunvox, possibly using the modulator module or some setup with the multisynth. it is a great way to create interesting timbres, and it can also be helpful in emulating phase distortion synthesis.
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
User avatar
Keres
Posts: 467
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres »

I'm more than sure there are loads of ways to implement some form of hard OSC sync in Sunvox. Here is my attempt at something like that, prolly not as good as some other users could do it. This is a parallel process that uses the settings on the snd2ctrl to determine when the sub-osc should be re-triggered. Dirty as hell... hence the name Stink Sync. This is a mono/bass synth.

also check out my demo tune of it... just couldn't resist -=) http://legg.guru/music/o9-Board_Rat.sunvox!
https://soundcloud.com/3vil6geniu5/boardrat

Happy 4th!
Attachments
Keres_StinkSync.sunsynth
(12.18 KiB) Downloaded 171 times
Last edited by Keres on Sun Jul 05, 2020 10:28 am, edited 1 time in total.
User avatar
AutumnCheney
Posts: 504
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

Re: oscillator sync

Post by AutumnCheney »

your module is impressive, but i personally would like a way to do this with any two sound-generating modules. perhaps something could be done with the multisynth's "phase" command?
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
User avatar
Keres
Posts: 467
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres »

http://legg.guru/music/o9-Board_Rat.sunvox whopse! put a double /music/music in there thanks fot the heads up!
User avatar
Keres
Posts: 467
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres »

sunvox is limitless. you can do anything you could do in any programming language... you just have to know how to do it.
User avatar
Keres
Posts: 467
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres »

and if you don't know how... make it up. sometimes the best musicians are the assholes who have no idea what they are doing, they only know how to fudge it.
User avatar
Keres
Posts: 467
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres »

just fake it... besides, you can't do any worse than all the assholes in the USA government who got us to nuclear contamination and worldwide pandemic disease.

happy 4th.
User avatar
AutumnCheney
Posts: 504
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

Re: oscillator sync

Post by AutumnCheney »

true, true...

yeah, aphex twin said multiple times that he never learned any formal music theory, and his music is better than almost anything that anyone else can come up with using common music theory. you just have to figure out what sounds good...

but, we're getting off-topic here. :)
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
User avatar
AutumnCheney
Posts: 504
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

Re: oscillator sync

Post by AutumnCheney »

okay, so during the past few hours, i managed to create a hard sync module using a metamodule with some phase=0 commands in a pattern as a master oscillator.

to use it, simply link it to the module that you want to use as a slave oscillator, and set the master's pitch using the "master osc transpose" controller. you can also bend the pitch in real time using the "pitch bend" and "pitch scale" controllers. due to the multictl's limitations, this only works up to around note C7, which should be high enough to not cause any problems with melody.

this works best with the analog generator because it has the "true attack/release" setting, which allows it to restart immediately. of course, you can use any other module you want as a slave. however, i recommend setting the attack and polyphony controllers to zero and one, respectively, because the phase reset commands will reset the attack (making the module quiet) and also add voices (which will cause phasing and cause the effect to be different)

attached to this post are two files: the module itself, and a project demonstrating the module. press play, and watch the oscilloscope on the analog generator (the changes are most visible when the oscilloscope and buffer are "lines" and 50ms).
Attachments
hard-sync-example.sunvox
(21.59 KiB) Downloaded 153 times
AutumnC Hard Sync.sunsynth
(12.1 KiB) Downloaded 180 times
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
User avatar
Keres
Posts: 467
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres »

Yeah, see your example is more of a "pure" hard sync. definitely a better example than mine. Personally, i like the more "softer" approach, something closer to morphing the wave-forms to get different tones. Here is one where i used the waveshaper to morph a regular generator sine and then semi-synced it with a saw.

cheers!
Attachments
o9_MorphLead.sunsynth
(37.76 KiB) Downloaded 165 times
User avatar
SawZer
Posts: 273
Joined: Sun Jun 19, 2011 2:26 am
Location: Texas
Contact:

Re: oscillator sync

Post by SawZer »

Been meaning to post this on the forums for a while... Sorry. Used in my track "FTL"
https://warmplace.ru/forum/viewtopic.php?f=11&t=5472
Post Reply