Using trapezoid~ to declick play~


    May 17 2006 | 12:33 pm
    Hi all,
    I know this topic has been covered a bunch of times, but I'm completely new to Max/MSP, and I'd appreciate a few veteran eyes looking at what I'm doing. As my first project, I'm trying to build an effect that continuously loop records into a buffer, and then whenever the button is pressed, the buffer is played out in reverse. Here's the code:
    max v2;
    I'm getting two kinds of clicks:
    1) A click each when I start or stop playback. I tried using trapezoid~ to duck the signal as described many times here on the forums, but not only does it not seem to work, it distorts the signal quite a bit. Any advice?
    2) I also get occasional clicks when the buffer recording loops back around- it seems somehow tied to the playback signal path, but i ehar the clicks even when I'm not playing anything. Any advice here would be appreciated as well. Is this because the record head is crossing the play head at 0? I'm intentionally stopping recording during playback to try to avoid this.
    I know this is wordy, but thanks in advance for any help.
    -Al

    • May 17 2006 | 9:40 pm
      blargh wrote:
      > Hi all,
      >
      > I know this topic has been covered a bunch of times, but I'm
      > completely new to Max/MSP, and I'd appreciate a few veteran eyes
      > looking at what I'm doing. As my first project, I'm trying to build
      > an effect that continuously loop records into a buffer, and then
      > whenever the button is pressed, the buffer is played out in reverse.
      > Here's the code:
      You would want to feed the trapezoid with a ramp going from 0 to 1, not
      with the signal you want to control...
      the send pos object is a messagebox and the position output of xrecord~
      isn't connected at all.... It's better to clean up a patch from
      nonfunctional or not yet functional parts before posting. Cleaning up is
      good for you as well, usually you find the traps while doing that...
      You migh come along with normal record~ and wave~ eventually as well...
      Stefan
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com
    • May 18 2006 | 1:38 pm
      Thanks for the advice- I got it to work pretty well now!
      -Al