Play MP3 or WAV sounds via Visual Lisp

Discussion in 'AutoCAD' started by DonB, Jul 19, 2003.

  1. DonB

    DonB Guest

    I would like to have a voice confirm the user's selection.

    In my case, they are selecting a plumbing fitting from a listbox.

    When they select a 2" Elbow for instance, the computer would say "2 Inch
    Elbow".

    I can convert the text to MP3 or WAV with a Text-To-Speech program.

    Does anyone know of a method to play this sound transparently without
    bringing up a player?


    Thanks,

    Don
     
    DonB, Jul 19, 2003
    #1
  2. DonB

    DonB Guest

    Thanks.

    I understand that there's no way to access this from Vlisp.

    Bummer!

    Would there be a way to build a hybrid app to call this VBA function from
    Vlisp?

    Thanks again,

    Don
     
    DonB, Jul 21, 2003
    #2
  3. DonB

    Michel Guest

    If you have DosLib...there's a function to play a wav file...(dos_wav
    filename)

    DonB a écrit :
     
    Michel, Jul 21, 2003
    #3
  4. Hi Don,

    Interesting idea. Curious if you are dealing with some visually
    impaired users, confirming what they selected visually with a
    voice prompt seems like, well, extra.
     
    Jason Piercey, Jul 21, 2003
    #4
  5. DonB

    DonB Guest

    Hey, I didn't know that.

    Great

    Don

     
    DonB, Jul 21, 2003
    #5
  6. DonB

    DonB Guest

    It doesn't seem to work for me.

    It returns T, but no sound :-(

    Oh well...

    Don
     
    DonB, Jul 21, 2003
    #6
  7. DonB

    Michel Guest

    I dont know why it didnt work for you, but i did a test and it did work here

    (dos_wav "c:\\winnt\\media\\tada.wav")

    DonB a écrit :
     
    Michel, Jul 21, 2003
    #7
  8. DonB

    Murph Guest

    I gotta ask, will they (wav files) be in a sweet Marion Monroe voice or the
    rough Drill Sgt. voice?

    Murph
     
    Murph, Jul 21, 2003
    #8
  9. DonB

    DonB Guest

    What's wrong with using both.

    For errors, I'll use the Drill Sgt. voice and a mechanical hand to slap them
    upside the head. :)

    Don
     
    DonB, Jul 21, 2003
    #9
  10. DonB

    DonB Guest

    Luis,

    If I told you, everybody would have one, Ha Ha

    Take Care,

    Don
     
    DonB, Jul 21, 2003
    #10
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.