#151 audio math objects don't handle one-element lists as floats

v0.42
open-fixed
puredata (320)
5
2009-04-25
2007-06-08
sistisette
No

If you send a one-float-element list, such as [list 123(, into the right inlet of a [*~], [+~], [-~], etc., you get the following error message:

"error: inlet: expected 'signal' but got 'list'"

Instead, the one-element list should be treated just as a float, since:
1) [*~], [+~] etc. accept floats on its right inlet
2) a one-float-element list is supposed to be equivalent to a float to all effects in PD.

All control objects (including [route] and math operators) handle one-float-element lists as floats, and one-symbol-element lists as symbols.

Discussion

    • status: open --> open-fixed
     
  • Confirmed on Mac OS X 10.5.6/Intel using Pd version 0.41.4-extended-20090422
    and Pd-vanilla 0.42-4.

     
    • labels: --> puredata
    • milestone: --> v0.42
    • assigned_to: nobody --> millerpuckette
     
  • Do you mean the fix is confirmed, Hans? If so this issue should be closed.

     


Anonymous


Cancel   Add attachments