Alpha Video Training
Results 1 to 6 of 6

Thread: Sound and Xdialogs - Where/what is the sound for Warning symbol (!)?

  1. #1
    "Certified" Alphaholic Mike Wilson's Avatar
    Real Name
    mike wilson
    Join Date
    Apr 2005
    Location
    Grand Rapids, Michigan
    Posts
    4,212

    Default Sound and Xdialogs - Where/what is the sound for Warning symbol (!)?

    Good afternoon,

    I can't seem to find much in the docs and on the board regarding dialog box sounds.

    I am trying to build my own message box with xdialog so I can customize the button texts. I still, however, would like for consistency purposes, to have the same image and sound combinations that are seemingly combined in the ui_msg_box() function. The one I am interested in at the moment is the UI_ATTENTION_SYMBOL which I have deduced form the list achieved with a5.bitmap_enum(1024) uses the &sys_warming bitmap. What I can't find is the sound file for this warning. If I knew what it was and where it was, I'm thinking I could use play_sound() before running the Xdialog, if it's a wave file. There is accomodations in Xdialog for images, but I do not find anything about sound in Xdialog.

    Any guidance is appreciated, thank you.

    Mike w

  2. #2
    Volunteer Moderator Steve Workings's Avatar
    Real Name
    Steve Workings
    Join Date
    Apr 2000
    Location
    The Dreaded Chair
    Posts
    5,629

    Default Re: Sound and Xdialogs - Where/what is the sound for Warning symbol (!)?

    You might be interested in the ui_beep() function.
    -Steve


  3. #3
    "Certified" Alphaholic Mike Wilson's Avatar
    Real Name
    mike wilson
    Join Date
    Apr 2005
    Location
    Grand Rapids, Michigan
    Posts
    4,212

    Default Re: Sound and Xdialogs - Where/what is the sound for Warning symbol (!)?

    Steve,

    That's got it, thanks. Why beep() is not found in searching the docs for sound is a mystery. I'll suggest it.

    Mike W

  4. #4
    "Certified" Alphaholic Marcel Kollenaar's Avatar
    Real Name
    Marcel
    Join Date
    Apr 2003
    Location
    Twente
    Posts
    1,514

    Default Re: Sound and Xdialogs - Where/what is the sound for Warning symbol (!)?

    Quote Originally Posted by Mike Wilson View Post
    Steve,

    That's got it, thanks. Why beep() is not found in searching the docs for sound is a mystery. I'll suggest it.

    Mike W
    Use *sound* or *beep* as search item.
    Marcel

    I hear and I forget. I see and I remember. I do and I understand.
    ---- Confusius ----

  5. #5
    "Certified" Alphaholic Mike Wilson's Avatar
    Real Name
    mike wilson
    Join Date
    Apr 2005
    Location
    Grand Rapids, Michigan
    Posts
    4,212

    Default Re: Sound and Xdialogs - Where/what is the sound for Warning symbol (!)?

    Marcel,
    Thanks for the wildcard search ideas. I was thinking that in the section of the Help Files the Sound section on Sound which gives you only info about play_sound(), there might be in the "See Also" a reference to ui_beep() so that seekers of Sound functions could be directed to this function.

    Mike W

  6. #6
    "Certified" Alphaholic Marcel Kollenaar's Avatar
    Real Name
    Marcel
    Join Date
    Apr 2003
    Location
    Twente
    Posts
    1,514

    Default Re: Sound and Xdialogs - Where/what is the sound for Warning symbol (!)?

    On my machine the wav files are located in folder C:\WINDOWS\MEDIA\
    Marcel

    I hear and I forget. I see and I remember. I do and I understand.
    ---- Confusius ----

Similar Threads

  1. Adding sound to error message
    By kimkenm in forum Alpha Five Version 5
    Replies: 2
    Last Post: 02-20-2005, 04:38 AM
  2. Sound files possibilities in a database
    By David Morgan in forum Alpha Five Version 6
    Replies: 11
    Last Post: 01-28-2005, 10:51 AM
  3. Recording and playing sound
    By Dan Jenkins in forum Alpha Five Version 5
    Replies: 4
    Last Post: 04-19-2004, 07:36 AM
  4. A5 Quick Look Tutorial -Sound
    By Al Walker in forum Alpha Five Version 5
    Replies: 4
    Last Post: 05-22-2003, 09:08 AM
  5. Sound like some users of your apps?
    By Jeff Moses in forum Alpha Five Version 4
    Replies: 0
    Last Post: 05-05-2001, 06:43 AM

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
  •