ipoke bug?


    Oct 06 2006 | 3:49 pm
    Hello,
    I can't seem to get ipoke~ to behave if I'm using only part of the
    buffer it is assigned to. Am I doing something extremely stupid?
    Reproduceable for anyone?
    The patch is below. On the left, I use all of the buffer, on the
    right just the first part:
    Thanks!
    Best,
    Erik
    --
    www.hecanjog.com / www.cedarav.com
    www.luvsound.org / www.lovelymedia.org

    • Oct 06 2006 | 4:44 pm
      Dear Erik and al.
      The way you use control-domain objects (metro) to trigger audio-
      domain objects (count~) is a bit strange.
      In the left-hand side of your patch, the looping is working because
      your are lucky enough that index~ wraps around when the index input
      generated by the count~ object is greater than the buffer size.
      I would strongly recomment you to check the ipoke~.help sub-patch
      called a_typical_musical_usage, in which the reading indexing is
      circular, with the help of the phasor~ object. In your case, if you
      want to limit to a certain portion of a buffer, you have to offset
      the index input value of ipoke~
      I hope this helps. If it doesn't, please send what you intend to do
      (on the list) and I will send you a little demo patch.
      Cheers
      pa
    • Oct 06 2006 | 5:30 pm
      I Pierre -
      Appreciate your help - I'm on my way simply using poke~ which doesn't
      seem to have the same trouble. I know I should probably keep
      everything strictly in the audio domain, but the patch I'm building
      will eventually swap out the metro for midi events, so it works fine
      for my purposes.
      best,
      Erik
      On 10/6/06, Pierre Alexandre Tremblay
      wrote:
      > Dear Erik and al.
      >
      > The way you use control-domain objects (metro) to trigger audio-
      > domain objects (count~) is a bit strange.
      >
      > In the left-hand side of your patch, the looping is working because
      > your are lucky enough that index~ wraps around when the index input
      > generated by the count~ object is greater than the buffer size.
      >
      > I would strongly recomment you to check the ipoke~.help sub-patch
      > called a_typical_musical_usage, in which the reading indexing is
      > circular, with the help of the phasor~ object. In your case, if you
      > want to limit to a certain portion of a buffer, you have to offset
      > the index input value of ipoke~
      >
      > I hope this helps. If it doesn't, please send what you intend to do
      > (on the list) and I will send you a little demo patch.
      >
      > Cheers
      >
      > pa
      >
      --
      www.hecanjog.com / www.cedarav.com
      www.luvsound.org / www.lovelymedia.org