[PD] [Pd] [swap] help incorrect

Frank Barknecht fbar at footils.org
Mon Nov 19 20:56:45 CET 2007


Hallo,
Chuckk Hubbard hat gesagt: // Chuckk Hubbard wrote:

> [swap] help says:
> The swap object stores numbers from its left inlet to output on its
> right inlet -- after repeating its right hand input out the left.
> 
> It should say:
> The swap object stores numbers from its left inlet to output on its
> right inlet -- before repeating its right hand input out the left.
        ^^^^^ outlet

However: numbers in the left inlet aren't stored, only numbers coming
in on the right, cold inlet are stored. So I'd rather write it like
this:

  The swap object stores numbers from its right inlet to output on its
  left outlet -- after repeating its left hand input out the right.

Or maybe the more verbose version (there's still room in that help
patch):

  The swap object swaps the positions of two incoming numbers. The
  number coming in through the right inlet will come out the left
  outlet and the number coming in left will come out right. Only the
  left inlet is hot and triggers output on both outlet. Output order
  is right to left as in [trigger].

  A common use of swap is to reverse the operands in arithmetic
  objects like this:
  
  [swap]
  |   /
  [- ]

Who does the bug report? ;) Patch is attached.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swap-help.pd
Type: application/puredata
Size: 1398 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071119/09fa7c4e/attachment.bin>


More information about the Pd-list mailing list