• AfroGenius

    Hi All, much thanks for taking the time out to read this post. I have developed a voice recognition and speech synthesis objects for PD. I am trying to develop a small application to demo my work.

    What I need to be able to do is feed my voice recognition component to return a result which triggers an action within pd. My problem now lies with decision making.... Are there any structures that will allow me to perform an if / else iteration? I need to be able to compare two strings and perform an action kind of how moses works with strings.

    I have tried several different implementations using route, pack, receive and can not come up with anything. Can someone please help???????? This is high priority stuff.

    Much thanks in advance

    posted in technical issues read more
  • AfroGenius

    Really? I'll check that out. Well that was a huge wasted effort on my part doing all those patches. Wish it was well documented somewhere thou. Anyhow, thanx again friend.

    posted in technical issues read more
  • AfroGenius

    Got an even better solution using route lists. "route list" will tear off the list prefix and you could then feed that into another route.

    For example if the options were: list A blah blah OR list B blah blah

    Then feeding into "route list" would output A blah blah OR B blah blah

    You could then feed that into "route A B" which will give you what you want. Remember route strips away the matching symbol.

    More nickels & dimes....

    posted in technical issues read more
  • AfroGenius

    Hi much thanks for your speedy response. Take nothing for granted my good friend, the fact I've developed speech recognition externals doesn't count for much these days am afraid. Hehehehe.

    That been said I will try out your approach as it seems interesting. In the mean time while waiting for a response I found a hack using some of the objects already available if anyone is interested. I'll attach it here. Its not pretty but it does work. What I do is convert 2 string list object to symbols using list2symbol. Feed both into a compare-any object then feed the result into a moses 0.5 object. The positive result triggers a bang. There you go, my 2cents.

    Thanks again friend.

    posted in technical issues read more
  • AfroGenius

    P.S. I have had a look through the forum as well and can't find anything definitive. Found something in following post but does not do much to alleviate my worries. Post: http://puredata.hurleur.com/sujet-609-possible-use-else-arguments. Still anxiously holding out for a response.....

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!