Forums > MaxMSP

ext midi/sync~ irregularity

May 30, 2007 | 9:00 am

Hi,

Can someone pls tell me why the output from sync~ is not a perfect sawtooth wave when coming from an external midi source.

And if you are do get one with this patch – why I would be getting irregularities with its output. I’m using a Korg Rmk II as the midi source.

Thanks.

midisampler

max v2;
#N vpatcher 151 152 435 487;
#P user ezdac~ 180 61 224 94 0;
#P user scope~ 41 146 171 276 256 3 128 -1. 1. 0 0. 0 0. 102 255 51 135 135 135 0;
#P window setfont "Sans Serif" 9.;
#P message 89 68 31 9109513 120.;
#P window setfont "Sans Serif" 12.;
#P flonum 89 87 54 12 0 0 4 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window setfont "Sans Serif" 9.;
#P message 7 68 14 9109513 5;
#P newex 7 42 44 9109513 loadbang;
#P user umenu 7 87 44 9109543 1 64 103 1;
#X add 32;
#X add 16;
#X add 8;
#X add 4;
#X add 2;
#X add 1;
#X add 0.5;
#X add 0.25;
#X add 0.125;
#X add 0.0625;
#X add 0.03125;
#P newex 41 108 58 9109513 masterclock;
#P connect 2 0 3 0;
#P connect 3 0 1 0;
#P connect 1 1 0 0;
#P connect 0 0 6 0;
#P fasten 2 0 5 0 12 64 94 64;
#P connect 5 0 4 0;
#P connect 4 0 0 1;
#P pop;

masterclock

max v2;
#N vpatcher 279 151 445 337;
#P window setfont "Sans Serif" 9.;
#P newex 49 140 32 9109513 edge~;
#P newex 49 118 33 9109513 ==~ 1.;
#P newex 49 95 42 9109513 change~;
#N comlet bang at phasor’s zero;
#P outlet 49 163 15 0;
#N comlet midi offset;
#P inlet 23 26 15 0;
#P newex 4 95 29 9109513 rate~;
#N comlet midi out;
#P outlet 134 163 15 0;
#N comlet bpm out;
#P outlet 96 163 15 0;
#N comlet phasor 0-1;
#P outlet 5 163 15 0;
#N comlet bpm in (if no midi in);
#P inlet 118 26 15 0;
#P newex 81 53 40 9109513 sync~;
#P newex 81 26 21 9109513 rtin;
#P fasten 1 0 6 0 86 83 9 83;
#P connect 6 0 3 0;
#P connect 7 0 6 1;
#P fasten 1 0 9 0 86 84 54 84;
#P connect 9 0 10 0;
#P connect 10 0 11 0;
#P connect 11 0 8 0;
#P fasten 2 0 1 0 123 48 86 48;
#P connect 0 0 1 0;
#P connect 1 1 4 0;
#P fasten 1 2 5 0 116 85 139 85;
#P pop;


May 31, 2007 | 11:51 am

Hi again,

I neither thought this was a stupid question or a difficult problem. Can anyone give me a bit of insight – my patch design?, midi device?, sync~? scope~?

please.


Viewing 2 posts - 1 through 2 (of 2 total)