Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 2 of 2
  1. #1
    telex is offline Registered User
    Join Date
    Mar 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    needing help with SimpleSpeechRecExample code

    Greetings mac developer community!
    First, its a relief to see many clear answers here on this board; thanks for reading this - you didnt have to! Now my question, beginning with my problem: i've tried all I know how to do with languages to change the example code in "SimpleSpeechRecExample" (part of the developer's package that comes with os 10.2) into a new desired form with no luck. Here's what Im trying to make happen:

    1 words/phrases are recognized from mic from a list of words(how SimpleSpeechRec currently works)
    2 words/phrases detected are stored in a variable (right? yikes)
    3 variable loads specific tiff or jpeg to a 10x10 window from hd

    An example of these changes would be someone saying "cat", cat being detected, and then in window "cat.tiff" would load from the hd.
    I am really stuck here, and any kind of code example/hint would be of utmost help! Can anyone help me figure this thing out?

    thanks much
    josh
    Last edited by telex; March 3rd, 2003 at 06:45 PM.

  2. #2
    symphonix's Avatar
    symphonix is offline Scratch & Sniff Committee
    Join Date
    Jul 2001
    Location
    The Australian Jungles
    Posts
    4,025
    Thanks
    2
    Thanked 6 Times in 5 Posts
    Another bit of sample code you might want to look at in the developer tools is the cocoa-java tutorial for a Celsius-Farenheit converter. I seem to remember it had a few different images stored as tiffs, and would substitute these into an image placeholder according to the temperature entered, so as to show a thermometer going from icy to steaming hot.

    You'll find it in Developer/Documentation/Cocoa/JavaTutorial/

    You should be able to adapt this idea for your project.
    - iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
    - Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white

 

 

Similar Threads

  1. DVD Player acts up (region code)
    By robertkowalenko in forum Mac OS X System & Mac Software
    Replies: 4
    Last Post: May 31st, 2003, 10:05 AM
  2. Qn: Interface Builder -> Java code
    By bbos in forum Software Programming & Web Scripting
    Replies: 0
    Last Post: April 29th, 2003, 10:33 PM
  3. Jaguar vs. Linux: Same code, different output!?
    By cyberkazoo in forum Software Programming & Web Scripting
    Replies: 1
    Last Post: February 25th, 2003, 04:27 AM
  4. simple "hello world" code using c++
    By huck in forum Unix & X11
    Replies: 3
    Last Post: October 1st, 2002, 01:25 PM
  5. Code Red III
    By fiznutz in forum Mac OS X System & Mac Software
    Replies: 17
    Last Post: December 31st, 2001, 02:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •