[PD] route outputs lists instead of floats

Tim Blechmann TimBlechmann at gmx.net
Sun Feb 13 23:53:24 CET 2005


> route outputs a list with one argument instead of outputting a float.
> this is then a problem, when you try to connect a [route] to the right
> inlet of an audio-obj like [+~]. doing this will cause the error
> 'inlet: expected 'signal' but got 'float' '. this can easily be solved
> by inserting a [f  ] before the audio-obj. but is this behaviour of
> route intended?

well, seems that the list to float conversion isn't really working when
converting messages to signals ...

i would consider it as bug, but i'm not sure, if miller does ... anyway,
please file a bug report at sf, that this won't get lost somewhere in
the archives...

more generally, it might be a good idea to think of an improved list
handling (similar to scheme or python) ...
or forbid empty lists (= bang, which is done) and one element lists
(which should be atoms)

cheers ... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

latest mp3:
http://jokebux.klingt.org/gro.tgnilk/mp3s/2317/index.html

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-list mailing list