[PD-dev] [ pure-data-Bugs-1733623 ] audio math objects don't handle one-element lists as floats

SourceForge.net noreply at sourceforge.net
Mon Apr 7 11:25:03 CEST 2008


Bugs item #1733623, was opened at 2007-06-08 17:36
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1733623&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Matteo Sisti Sette (sistisette)
Assigned to: Nobody/Anonymous (nobody)
Summary: audio math objects don't handle one-element lists as floats

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2008-04-07 11:25

Message:
Logged In: YES 
user_id=564396
Originator: NO

i posted a fix as  patch-#1936157
https://sourceforge.net/tracker/index.php?func=detail&aid=1936157&group_id=55736&atid=478072

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1733623&group_id=55736




More information about the Pd-dev mailing list