oscillator sync

Post Reply
User avatar
AutumnCheney
Posts: 55
Joined: Sun Dec 29, 2019 8:16 am
Contact:

oscillator sync

Post by AutumnCheney » Fri Jul 03, 2020 12:09 am

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.
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
Keres
Posts: 271
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres » Sun Jul 05, 2020 8:58 am

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 18 times
Last edited by Keres on Sun Jul 05, 2020 10:28 am, edited 1 time in total.

User avatar
AutumnCheney
Posts: 55
Joined: Sun Dec 29, 2019 8:16 am
Contact:

Re: oscillator sync

Post by AutumnCheney » Sun Jul 05, 2020 9:20 am

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?
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
Keres
Posts: 271
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres » Sun Jul 05, 2020 10:15 am

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: 271
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres » Sun Jul 05, 2020 10:17 am

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: 271
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres » Sun Jul 05, 2020 10:19 am

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: 271
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres » Sun Jul 05, 2020 10:22 am

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: 55
Joined: Sun Dec 29, 2019 8:16 am
Contact:

Re: oscillator sync

Post by AutumnCheney » Sun Jul 05, 2020 10:34 am

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. :)
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
AutumnCheney
Posts: 55
Joined: Sun Dec 29, 2019 8:16 am
Contact:

Re: oscillator sync

Post by AutumnCheney » Sun Jul 05, 2020 1:28 pm

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 9 times
AutumnC Hard Sync.sunsynth
(12.1 KiB) Downloaded 11 times
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
Keres
Posts: 271
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: oscillator sync

Post by Keres » Thu Jul 09, 2020 11:43 am

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 15 times

User avatar
SawZer
Posts: 216
Joined: Sun Jun 19, 2011 2:26 am
Location: Texas

Re: oscillator sync

Post by SawZer » Tue Jul 14, 2020 1:49 pm

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
Creator of the BOX10SVC

Post Reply