how to build a analog-style frequency divider


    Jun 08 2006 | 8:43 pm
    I want to build an octave down effect in max msp, one which produces a pulse
    wave for every 4 zero-crossings. (omitting DC) any audio wave will cross
    zero two times, so in two periods it crosses 4 times. So the problem boils
    down to counting zero crossings at sample-perfect timing.
    my guess is that it will have something to do with +=~ feeding sah~ or
    count~ or something, but i can't figure it out.
    of course it's fairly trivial to simply pitch down any input by half, there
    are very many ways of doing it, but this particular way interests me b/c it
    sounds ugly.

    • Jun 08 2006 | 9:53 pm
      This is how I achieved this... as dirty as possible!
      pa
    • Jun 09 2006 | 1:05 am
      sweet. For some reason i thought that zerox~ output a float, but this is
      awesome. ty :)
    • Jun 09 2006 | 4:07 am
      please don't do that, it doesn't get through to the forum.
      can you post it as text?
      thanks
      isj
    • Jun 09 2006 | 7:39 am
      Isn't there a PerColate object that does this ? Weave~ ?? Not as much fun as building your own, of course...
      cheers
      Roger
    • Jun 09 2006 | 8:30 am
      > i assume you attached to your e-mail?
      > please don't do that, it doesn't get through to the forum.
      > can you post it as text?
      I did send a picture of the patch. Sorry, I tried to help ;-)
      pa
      ---
      max v2;
    • Jun 09 2006 | 4:37 pm
      On 9-Jun-2006, at 10:30, Pierre Alexandre Tremblay wrote:
      >> i assume you attached to your e-mail?
      >> please don't do that, it doesn't get through to the forum.
      >> can you post it as text?
      >
      > I did send a picture of the patch. Sorry, I tried to help ;-)
      There are times when the image is actually quite helpful (for
      instance, trying to demonstrate something that needs a variety of
      3POs, or for simple patches where rebuilding is more informative than
      mere Copy & Paste). But it is hard on the poor forum readers.
      -------------- http://www.bek.no/~pcastine/Litter/ -------------
      Peter Castine +--> Litter Power & Litter Bundle for Jitter
      iCE: Sequencing, Recording & |home | chez nous|
      Interface Building for |bei uns | i nostri|
      Max/MSP Extremely cool http://www.castine.de
    • Jun 10 2006 | 4:13 am
      Quote: Peter Castine wrote on Fri, 09 June 2006 10:37
      ----------------------------------------------------
      > On 9-Jun-2006, at 10:30, Pierre Alexandre Tremblay wrote:
      > >> i assume you attached to your e-mail?
      > >> please don't do that, it doesn't get through to the forum.
      > >> can you post it as text?
      > >
      > > I did send a picture of the patch. Sorry, I tried to help ;-)
      >
      > There are times when the image is actually quite helpful (for
      > instance, trying to demonstrate something that needs a variety of
      > 3POs, or for simple patches where rebuilding is more informative than
      > mere Copy & Paste). But it is hard on the poor forum readers.
      >
      ----------------------------------------------------
      i agree, they should allow it on the forum too. how about the archives? does it get through there?
      anyway, thanks for the patch...
    • Jun 12 2006 | 2:12 pm
      small optimization: i think if you just subtract 1 from the bitand~ output
      then you can skip the selector and get the same output with a few fewer
      signals tied up. (it'd be phase inverted as compared with the selector
      output)
      but this totally sounds like teh shit. ty.