[PD] mrpeach tcpclient float to string decoder, mayby str ?

Martin Peach martin.peach at sympatico.ca
Sun Jan 6 22:58:15 CET 2008


Damien Henry - Voxler wrote:
> Hello !
>
> I'm testing tcpclient from mrpeach, my goal is to use julian
> (http://julius.sourceforge.jp/en_index.php?q=en/index.html) as an hmm
> decoder for realtime speech recogition.
> I use tcpclient to establish the link beetween julian and it works
> perfectly.
> Of course tcpclient returns lists of floats as it is designed for this,
> but i need to convert thoses lists of floats to list of symbols.
>
> I've guess that the str object (also from mrpeach) is there for this
> purpose, is it right ?
>   
That's one reason for it.
> Anyway I don't succed to create some outlets of the str object (I've
> read the doc, the lib is well installed, and some dummy str are created,
> even when I pass an argument to it).
>
>   
If you're getting dummy strs it's because the pd you're using doesn't 
have strings/blobs. You need to patch the source with the 
add_string_support_patch, which is in cvs under packages/patches. Or use 
pd extended, which is built using all the patches.

> So here my 2 questions :
> 1) is STR the solution, and then how to use it ?
>   

Make a [str to_symbol] object and feed it a list of floats.

Martin




More information about the Pd-list mailing list