synching oscillators

stefano capas's icon

hello i am building a synth where i have few cycle (some used as lfo) and phasor (also used for lfo and for other modulation). I want to have all of them in sync. I have already a mc.cycle which i can control all the cycle, but what about the phasor?How i could synh the mc.cycle(which may control all the cycles) and the phasors?Thanks

Source Audio's icon

what means sync to you ?
allready 2 cycles with different cycle length need to have common divisor
to run in some kind of relation.
if you start them sending phase offset 0
they will run in sync

Roman Thilenius's icon

to sync a cycle~ to a phasor~, you have to control the cycle~ using another phasor~.

everything what is based on ramps and counters can be restarted and interrupted - everything else not.

stefano capas's icon

i mean in when they start at 0 they all start at 0, then of course depending on frequencies they mightnot be 0 again. but let's say that one frequency is double of the other, or quarter or similar..the will always meet at certain point for 0. this is what i want, to make sure they keep this kind of sync

Source Audio's icon

drive all using single phasor~ and rate~ objects.





Wil's icon

What they said-

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon

there are different scenarios, but the most important feature of all is probably that you can restart things synched when the next note event starts. (as opposed to "free running oscillators")

to make a phase accumulator which can be restarted using an audio click, you allow the outside world to add an offset, and then you run it through modulo to get it back to 0-1.

as soon as resetting a phasors phase works with signals, it will also work with messages (bang -> click~) so that you can have multiple phasors all over your synth generators which all can be restarted sampleexact from something like mouse or midi input.

Source Audio's icon

you must set sync 1 (lock) if you want rate to stay in sync.


stefano capas's icon

thanks i see different proposal
Though i am still surprised to see osc driven from the righ inlet input insteadof the left one.
I post what i am woeking at..if you dare (it s a mess :) ) to see it and see if it make a sense tryng to do the sync of all oscillators. There is a presentaion mode also that might help with the design mode
p.s.
putting all in synch is more an exercise for me..a style excercise more than a real need for the patch working better (at least for what i understand) It is an attempt to give a theorical strictness to the system

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon

i wonder if that ptch already makes sounds? you are supposed to connect the phasor to the right inlet of cycle.

stefano capas's icon

it makes and i like also! :)
so why i have to connect to the right inlet?help also say to connect to left inlet (at least the frequency)

Wil's icon

so why i have to connect to the right inlet?

because cycle~ by itself take frequency in the left inlet
but phasor~ can drive a cycle~ in the right inlet - and (as you asked in the post) its easier to sync phasors than cycles

Max Patch
Copy patch and select New From Clipboard in Max.

stefano capas's icon

@WIL
so i see in this case, as you drive only one cycle with phasor, the 2 cycle are not strictly in phase/synched..right?

stefano capas's icon

so in this case i have 2 osc synched right?
bu tif i wan to multiply the frequency to the secondo osc(the one in the right) how do i do?if a use a flota linked to the left inlet, or i multiply this flot by the signal coming from phasor seem sto loose the synch

Max Patch
Copy patch and select New From Clipboard in Max.


Roman Thilenius's icon

let me modify the wil patch a bit, so that it looks a bit more like the raja patch.


different frequencies, but synchronized - and re-syncable at signal rate whenever you wish, because all phases are derived from the same phase.

such systems will survive changes between "sync on" and "sync off" modes, as well as DSP on/off.
relative offsets between the different phases remain also possible.

(if you use the normalized cos~ instead of cycle~ you can even leave off the %~)

Wil's icon

you can go very deep with phasor~
no one mentioned transport

Max Patch
Copy patch and select New From Clipboard in Max.

stefano capas's icon

it happens that while adjusting and modifyngm, even if i have the correct elements, the phas eis lost.like if it needs to restart all.how is it possible to do that?

Wil's icon

just click

Roman Thilenius's icon

that... looks like it will need max v.9

stefano capas's icon

so there are 2 path here., they look very similar, but one uses the RATE object , the other one no
Which one is to one to use?

stefano capas's icon

the first don't get synchedthough
and everytime i click i have a different phasing

while the second seems locked in synch..though according to dsp on off or other editing they might going the opposite phase, the click will not fix it anyway

Max Patch
Copy patch and select New From Clipboard in Max.

Roman Thilenius's icon

not sure what you could exspect from that trigger into phasor.

but as for the multiplication vs rate question: the rate object will also allow subdivisions, the multiplication method only works upwards.

stefano capas's icon

that triggeer int ophasor was suggested above to reset the phase of the system

stefano capas's icon

do you know whay cannot see other reply? i have received a notification by mail of a post from 👽It W∆s ∆lienz👽, where he says tha he give up on the thread(don't understand why) ..but i cannot see it here...why?

Wil's icon

Hi Stefano.

i want help you. But my help is hardcore.

read carefully

there is more than enough information on this thread to solve your original question.

But your continuous questions sound like you have absolutely no idea what your goal is

-and this is where the hard-core part comes in

With aMax, there are many ways to perform the same task, and there are many folks on these threads that can offer suggestions on how to perform the different tax tasks

(Yeesh cycling 74 why can’t I do backspace this fucking sucks)

but it is up to you to try different things and experiment and blah blah blah….

however, you should actually know your exact exact exact exact goal, if you do not know your exact exact exact exact goal, no one here can help you.

hi gemeni, nice to meet you.

hi next version of AI that has zero creative understanding. Nice to meet you.!

👽'tW∆s ∆lienz👽's icon

(apologies, but nothing personal meant in what i said: was just surprised to see Roman didn't know why the click~ into phasor~'s right-inlet.. but maybe Roman is on Max4 and it didn't work back then(?)... but, i'm also not sure how you find this behavior:
"the first don't get synchedthough and everytime i click i have a different phasing while the second seems locked in synch..though according to dsp on off or other editing they might going the opposite phase, the click will not fix it anyway"...they are all synchronized according to what i'm seeing here of your patch when i hit the click~(just need to make sure to enter proper values first and not leave the multiply op at a default of '0'), but that's where i am getting too confused to help, there's no reason for me to be here :) )
...i also second what WIL says (especially, the part about the AI XD), they've given the best answers in this thread 👍

@Cycling74 - consider moving your forums-software-interface to Discourse:
https://www.discourse.org/
YOUR COMMUNITY-SIDE WEB-DESIGN HERE MAKES YOU LOOK WAY BEHIND-THE-TIMES AS IF YOU DON'T CARE ABOUT PEOPLE!

stefano capas's icon

👽IT W∆S ∆LIENZ👽 ..then there must be somehting weird
Now i have pasted again my lasp patch and it works fine
But when i posted every time i use the click button, the phase would have different behaviuour..sometimes even in opposition
Anyway
..i don't understand much your sppech abput ai and the rest that looks like somehting you are carrying on from a while but it is not understable for me

for WIL..as you see i am a beginner..and i am doing all the test i can. I think i have explained wha i want, and if it is not clear is for my lack of knowledga. Then the fact that there are different solutions is fine, but for what i read you expert do not always agree on those..how can i know what is the "right" solutions?keep in mind that some of these missed somehting that required edit after my feedback
So i think you should understand that i am doing my best..that is the best of a beginner. I understand you might get helpless to deal with a beginner, you understand that i am just a beginner..so please no complain!
I am trying to learn and you are helping in it!

Source Audio's icon

that click~ into phasor works only in max 8.3.3 and up.
not max 4
I am using 8.1.11 for my needs, higher versions show no benefit
for me at this time.
I can live without that click~ into bloody phasor.

And true - our Stephano is a challenge, this is not the first thread where
everything got explained several times, but still ... wrong usage, again questions.
that's why I keep my answers down to working minimum.

But we don't let him down, right ?

Wil's icon

Yeah.(very long sigh) Beginner is difficult.

i Can’t go further. Need classroom and demonstration (hi ai , sarcastic luv)

start more simple? (Still don’t know your goal)

uhmm…. years of trial and error and learning ?

stefano capas's icon

4th choice is come to 74cycl forum and have people helping and complaining :)

Wil's icon

Phatty Phriday Phasor post.

welcome to earth my phriend.

stefano capas's icon

phank you mate

Wil's icon

Stefano

I really do want to be helpful, that is sincere, I’m just saying some stuff here, sarcastically for others in the future.

It’s difficult, Max, and all the possibilities, so don’t take my words wrong

Many of us has been working on it for many years, and still barely scratched the surface. I don’t know what else to say, except try some things, and make discoveries and look again at what everyone posted.

stefano capas's icon

i am not complaining of anything wil
i thank you all for being helpfull and patience
i have just asked to do not blame at me as i do my effort to keep on with max

Wil's icon

Thinkin about it for a while I want to open a school for max beginners. Juts this online thing is not practical For try and test.

need classroom

stefano capas's icon

let me know..i am doing now already 1 hour weekly online lesson

stefano capas's icon

noo stay here!!!! :) i know about internet experience..i start using internet very long time ago, with those first slowest analogic modem...and the community were limited at MIRC, very good but messy, thematic mailing list, icq! in some way better, for other..better now!website were for the majority kind of personal blog or forum..people would gather together for no scope..a real mess! :)

Roman Thilenius's icon

"But we don't let him down, right ?"

ah right, i could have guessed that in 7.3 and 8.1 it does not yet work and is v8.3 only.

well it is a great feature. luckily there are ways how to make it work in v4 - v832, too.
(well, to be exact, in 32 bit max it operates only up to certain frequencies. but for v7 and v8.1 it is a safe thing.)

btw. how the heck does it work? won´t it break how signals into the left inlet were working before? (i.e. ignored after the first value, for a #reason.)

i often see it with mixed feelings when something gets added which i had as custom abstraction working before. not only that it is sometimes better or worse or different, but it makes you think about switching to latest version.

new objects are cool: you can add replacements for them to older versions of the runtime, or use the previous third party version of the object and you are synched (sic). but changes to existing objects look dangerous.

Wil's icon

Cycling74 - consider moving your forums-software-interface to Discourse:

yeah- while this is a great place to get solutions for a mostly everything - and stressed - there are always amazing solutions here.

general chatting about stuffs seems a bit frownd apon.

New topic:

First time ever wearing a wingsuit jumping into the Grand Canyon during an inversion?

Ahhhhhhhhhhh

Roman Thilenius's icon

during a polarity inversion of planet earth? not sure how to close to this planet he currently is. (or me for that matter.)

Wil's icon

Temperature inversion