Conversion in Max/MSP


    Oct 05 2007 | 12:38 pm
    Hello,
    I must convert a PD file in a Max/MSP file...
    There are objects where I don't find correspondence under Max/MSP.
    Somebody knows it which are the objects max which represents:
    tabread4~
    tabosc4~
    tabwrite~
    delread~
    delwrite~
    hip~
    samphold~
    wrap~
    noisi~
    graph
    Thanks a lot !!!

    • Oct 05 2007 | 12:49 pm
      Hello,
      I have a PD patch and I must do it in Max/MSP but any objects have not correspondence in Max/MSP.
      Can you help me... In attachment I put the PD patch...
      Thanks a lot !
    • Oct 05 2007 | 7:18 pm
      Some Pd ---> Max/MSP conversions (maybe with errors)
      tabread4~ ---> play~, (also groove~, wave~ or similar things)
      tabosc4~ ---> wave~ (probably)
      tabwrite~ ---> record~
      delread~ ---> tapin~
      delwrite~ ---> tapout~
      hip~ ---> see the HP filter thread (also biquad~ and filtercoeff~, and many others)
      samphold~ ---> sah~ (works differently in Max, I prefer the Pd style)
      wrap~ ---> don't remember
      noisi~ ---> does not exist in Pd
      graph ---> ?
    • Oct 09 2007 | 3:28 pm
      Ok thanks a lot!
      Do you know the conversion Max/MSP of SOUNDFILER and an other possibility to convert in Max/MSP a tabwrite~, tabread~ and tabosc4 ?
      Best regards...
    • Oct 09 2007 | 5:04 pm
      I think the soundfiler is Pd-specific. FIle operation in Max may be done with buffer~ (or maybe similar objects): see the help file of buffer~ and the manual (you can do more or less the same things as the Pd soundfiler).
      tabXXX~ can (also) be replaced by index~ (warning, no interpolation at all so it's not good for the tabread4~) but why not use play~, wave~ or groove~ ?
    • Oct 10 2007 | 1:00 pm
      Hello Julien,
      I don't can use these objects (play~ groove~ wave~) because in my PD patch tabread4~, tabwrite~ and tabosc4~ write or read in a array...
      With play~, groove~ and wave~ we use a buffer...
      Do you know how to do for using an array?
      Thanks...
    • Oct 14 2007 | 11:18 am
      Cunha Claudio schrieb:
      > Somebody knows it which are the objects max which represents:
      >
      > tabread4~
      > tabosc4~
      cycle~ (can be replaced directly...)
      > tabwrite~
      > delread~
      > delwrite~
      > hip~
      > samphold~
      > wrap~
      [%~ 1.]
      > noisi~
      > graph
      waveform~
      > Thanks a lot !!!
      Thanks for the suggestion to include them into my Pd abhaXions... ;-)
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com
    • Oct 14 2007 | 11:33 am
      Cunha Claudio schrieb:
      > I don't can use these objects (play~ groove~ wave~) because in my PD
      > patch tabread4~, tabwrite~ and tabosc4~ write or read in a array...
      > With play~, groove~ and wave~ we use a buffer...
      >
      > Do you know how to do for using an array?
      array is just another name for buffer~ (or the other way around for the
      Pd perspective... ;-)
      You won't get far, if you don't understand the underlying principles...
      see my other post with examples...
      Stefan
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com
    • Oct 14 2007 | 11:39 am
      Quote: ccunha wrote on Wed, 10 October 2007 15:00
      ----------------------------------------------------
      > I don't can use these objects (play~ groove~ wave~) because in my PD patch tabread4~, tabwrite~ and tabosc4~ write or read in a array...
      > With play~, groove~ and wave~ we use a buffer...
      >
      > Do you know how to do for using an array?
      >
      >
      > Thanks...
      ----------------------------------------------------
      In Pd, you use the same kind of data structure ("array" or "table") for storing both signals AND messages.
      In Max, "buffer~" is one equivalent to the Pd "array" for signals and "table", "multislider" or such are equivalents for messages. That said, you can use "buffer~" like the Pd "array" thanks to the "peek~" and "poke~" objects ("index~" also)
    • Oct 17 2007 | 12:32 pm
      thanks to all for your help...
      Hello Stephan Tiedje,
      I use your patches for tabread4, tabwrite, etc and I have a problem. In the window max I have the messages :
      - #N: bad arguments for the message "record~" -
      - #N: bad arguments for the message "play~" -
      - #N: bad arguments for the message "r" -
      - #N: bad arguments for the message "s".
      Is this an error ? And how to do for remove this error?
      Could you help me please...
      Thanks a lot and best regards.
    • Oct 17 2007 | 1:29 pm
      Hello Stephan,
      I have seen that the problem comes because I use subpatches in subpatches but I don't know how to do to resolve this problem...
      Could you help me please....?
    • Oct 17 2007 | 3:43 pm
      That is ok...
      I've resolved the problem.
    • Jan 14 2012 | 2:15 pm
      here are some pd-filters ported to Max by barry threw:
      (despite to the text on the site: the .zip contains Mac AND windows-compiled externals!)
    • Apr 22 2013 | 12:37 pm
      Hi. It will be very nice if somebody could help me with analog to PD's wrap~
    • Apr 22 2013 | 12:49 pm
      see Stefan Tiedje's post :
      > wrap~
      [%~ 1.]
      also, if you dosomething with gen~, there's a [wrap] operator.
    • Apr 22 2013 | 1:03 pm
      Oh thanks )) Becoming a little bit blind with time ))
    • Apr 22 2013 | 6:01 pm
      > [%~ 1.]
      keep in mind it works different for negative numbers
      the closest to the pd's [warp~] is [pong~ 1 0 1]