Sine OSC with phase shift option or cos osc

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Sine OSC with phase shift option or cos osc

Post by DragonSF »

Do we have an osc, where I can either select sin or cos or do an arbitrarily phase shift? I need this for my resynth project.
Last edited by DragonSF on Mon Oct 03, 2016 8:05 pm, edited 2 times in total.
User avatar
faxinadu
Posts: 1602
Joined: Wed Nov 01, 2006 3:12 am
Location: israel
Contact:

Re: Sine OSC with pahse shift option

Post by faxinadu »

no :/

only place in scope with that is via flexor oscs in modular at the moment. but hey, build it mate! not just a sine, all shapes with phase input would rock in sdk
Scope, Android, Web, PC Plugins and Sounds:
http://www.oceanswift.net
Music
https://faxinadu.bandcamp.com/
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option

Post by DragonSF »

As soon as the dongle arrives consider it done!
Last edited by DragonSF on Mon Oct 03, 2016 3:48 pm, edited 1 time in total.
User avatar
garyb
Moderator
Posts: 23248
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Re: Sine OSC with pahse shift option

Post by garyb »

you need a dongle for that?
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option

Post by DragonSF »

Yes, I have to create an osc in dsp. Not possible else (I think). Please correct me, if I'm wrong.
Reason: I need 32 of those, do this on the PC will not work in real time.
User avatar
garyb
Moderator
Posts: 23248
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Re: Sine OSC with phase shift option

Post by garyb »

there are a bunch of oscs in modular.
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option

Post by DragonSF »

Not any one with phase shift option (AFAIK). I need one either sin or cos waveform (dynamically changeable).
User avatar
garyb
Moderator
Posts: 23248
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Re: Sine OSC with phase shift option

Post by garyb »

why not take an existing design and add the phase shift?
i'm pretty sure that what you want can be realized without any special code.
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option

Post by DragonSF »

If there is a phase shifter, which is voltage controlled (i.e. controlled by the frequency of the osc), that would be fine. I haven't found one.
Though I found one Modular osc, which can produce either sin or cos. I have to dig deeper into that (i.e. if it doesn't consume too much DSP).
User avatar
garyb
Moderator
Posts: 23248
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Re: Sine OSC with phase shift option

Post by garyb »

control is control, isn't it?
i think it's doable, but of course, i'm not a developer...
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option

Post by DragonSF »

yes, it's definitely doable, provided the phase-shifter as such is available (not to be confused with a phaser). Even a variable delay or allpass filter can be used. But all these are atomic functions.
Last edited by DragonSF on Mon Oct 03, 2016 8:04 pm, edited 1 time in total.
User avatar
garyb
Moderator
Posts: 23248
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Re: Sine OSC with phase shift option

Post by garyb »

sure, but they exist afaik.
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option or cos osc

Post by DragonSF »

I found out, I can use the complex sine osc with a 2:1 switch.
User avatar
garyb
Moderator
Posts: 23248
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Re: Sine OSC with phase shift option or cos osc

Post by garyb »

cool!
User avatar
faxinadu
Posts: 1602
Joined: Wed Nov 01, 2006 3:12 am
Location: israel
Contact:

Re: Sine OSC with phase shift option or cos osc

Post by faxinadu »

can you explain that? what do you mean use it with a 2:1 switch?
Scope, Android, Web, PC Plugins and Sounds:
http://www.oceanswift.net
Music
https://faxinadu.bandcamp.com/
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option or cos osc

Post by DragonSF »

faxinadu wrote:can you explain that? what do you mean use it with a 2:1 switch?
For resynthesis you need either sin or cos signal. The atom has 2 outs (sin and cos), so you need a 2:1 (sin or cos-> next stage). This can be switched dynamically (async).Ecample:
PArt OSC.png
PArt OSC.png (28.11 KiB) Viewed 9283 times
User avatar
faxinadu
Posts: 1602
Joined: Wed Nov 01, 2006 3:12 am
Location: israel
Contact:

Re: Sine OSC with phase shift option or cos osc

Post by faxinadu »

very nice!!!!
Scope, Android, Web, PC Plugins and Sounds:
http://www.oceanswift.net
Music
https://faxinadu.bandcamp.com/
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option or cos osc

Post by DragonSF »

Thanks.
And this is the result:
resynth.png
resynth.png (44.21 KiB) Viewed 9275 times
DragonSF
Posts: 405
Joined: Sun Nov 08, 2015 4:28 pm

Re: Sine OSC with phase shift option or cos osc

Post by DragonSF »

[The extension mp3 has been deactivated and can no longer be displayed.]

And that's how it sounds (tanpura profile)
User avatar
garyb
Moderator
Posts: 23248
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Re: Sine OSC with phase shift option or cos osc

Post by garyb »

cool!
Post Reply