Shop OBEX P1 Docs P2 Docs Learn Events
Vocal Tract #sine error — Parallax Forums

Vocal Tract #sine error

mctriviamctrivia Posts: 3,772
edited 2009-01-11 19:49 in Propeller 1
every time I try to compile the VocalTract object I get an error on line 326 saying

"Expected a DAT symbol."

the line says "call #sine"

not sure why it does not work for me. anyone know how to fix?

Comments

  • cgraceycgracey Posts: 14,141
    edited 2009-01-11 09:06
    Download the latest Propeller Tool. A change was made in the compiler a while back to allow a label like sine_ret to be a 'res'. Or, you can change that 'call #sine' to 'jmpret sine_ret,#sine'. That might be easiest, for now.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Chip Gracey
    Parallax, Inc.
  • mparkmpark Posts: 1,305
    edited 2009-01-11 17:09
    What was the reason for the compiler change?
  • cgraceycgracey Posts: 14,141
    edited 2009-01-11 17:26
    Just wanted to be able to use 'res' declarations as ???_ret points. Nothing else.
    mpark said...
    What was the reason for the compiler change?
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Chip Gracey
    Parallax, Inc.
  • mctriviamctrivia Posts: 3,772
    edited 2009-01-11 19:39
    This is a great object you have writen but using it is not to easy. Do you know of any table or and notes I could use to learn how to make it reproduce different words? I am currently trying to get it to audibly say the time of day.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-01-11 19:49
    This thread may help you a little. It's a phonetic speech synthesizer I wrote that uses Chip's vocal tract object. It's pretty rough and not very well documented, but it may give you some ideas.

    -Phil
Sign In or Register to comment.