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 ? 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).
So here my 2 questions :
does somebody has already done this and whant to share it with me ?
Thanks in advance, Cheers, Damien.
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 :
- is STR the solution, and then how to use it ?
Make a [str to_symbol] object and feed it a list of floats.
Martin
moin moin,
On 2008-01-06 22:02:47, Damien Henry - Voxler damien.henry@voxler.fr appears to have written:
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.
If you're using vanilla pd, you could also use [any2string], included in the [pdstring] library, which is available here:
http://www.ling.uni-potsdam.de/~moocow/projects/pd/pdstring-0.03.tar.gz
or in sourceforge cvs. If you're willing to patch your pd sources, I think Martin's [str] objects are a better solution, though.
marmosets, Bryan