Signal sequencing/queuing

Maciej Lis's icon

Hi
I want to achive a wave containing:
4 full sine cycles with cycle~ and then 2 phasor~ cycles and then repeat

Source Audio's icon

Record output of cycle and phasor and then edit that audio file in some
wave editor.
Or ist it something else that You need to "achive" ?
If so, then form Your question so that it is
understandable.
More I read this forum's posts I get a feeling
that generation grown with mobile phones and SMS
language lacks of proper communication.

kLSDiz's icon

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

This is a naïve "on-line" implementation. For an efficient solution I would generate the combined waveform into a buffer, and then just play it back.

PS. Da się? Da się. A podobno to my jesteśmy narzekającym narodem... Koledze źródłowy dźwięk pewnie urlop się kończy ;-)

Maciej Lis's icon

@KLSDIZ works perfectly, that is exacly what I need.

Thank you very much!

PS. Też tak myślę :). Jeszcze raz dziękuję za pomoc.

Roman Thilenius's icon

"language lacks of proper communication."

hehe, but sometimes less is more! i got him immediately.

however, i would do it like this:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 402 316 47 9109513 cos~;
#P comment 493 318 243 9109513 turn the subphases into different waveforms;
#P window linecount 2;
#P comment 505 178 160 9109513 use the main phase to distribute the subphase onto different channels;
#P window linecount 1;
#P newex 403 256 80 9109513 gate~ 2;
#P newex 402 197 80 9109513 +~ 1.;
#P newex 402 167 80 9109513 >=~ 0.666667;
#P newex 442 388 68 9109513 *~ 0.25;
#P newex 251 192 68 9109513 %~ 1.;
#P newex 251 166 68 9109513 *~ 6.;
#P message 144 62 50 9109513 0.5;
#P flonum 203 64 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 386 407 15 0;
#P newex 441 423 80 9109513 dac~;
#P newex 300 80 86 9109513 phasor~;
#P comment 90 181 160 9109513 #make one phase six phases;
#P connect 1 0 6 0;
#P connect 6 0 7 0;
#P connect 5 0 1 0;
#P connect 4 0 1 0;
#P connect 1 0 9 0;
#P connect 9 0 10 0;
#P connect 11 0 14 0;
#P connect 10 0 11 0;
#P connect 8 0 2 0;
#P connect 3 0 2 0;
#P connect 11 1 8 0;
#P connect 14 0 8 0;
#P connect 7 0 11 1;
#P window clipboard copycount 15;

kLSDiz's icon

Thanks Roman – great idea, I didn't spot the simplest solution – just slow down the main phasor and use it as wave indexing signal.

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

Roman Thilenius's icon

i have not made sure if the phase mutiplication method gives you the highest possible accuracy for the "breakpoints" (i.e the same accuracy than "true" nonzero to zero transition) - i just think that >~ is generally much easier to deal with (compared sah~).