Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 9 of 9

Thread: sound control

  1. #1
    Join Date
    Jan 2008
    Posts
    9

    sound control

    Howdy all
    i have managed to put a couple of buttons on which control the sound.
    1 left click to mute and right click to restore the sound Audio.Pause(CHANNEL_BACKGROUND);
    Audio.Play(CHANNEL_BACKGROUND);
    2 left click to reduce sound and right click to increase sound
    Audio.SetVolume(CHANNEL_BACKGROUND, 50);
    Audio.SetVolume(CHANNEL_BACKGROUND, 150);
    what i would like to do now is use a slider to control the sound but can find no such thing in the program, can anybody help me?.

  2. #2
    Join Date
    Jan 2008
    Posts
    9

    audio control

    I have found the slider now, thanks to reading your forums, just have to work out the script to make it work.

  3. #3
    Join Date
    May 2006
    Posts
    5,380
    look at the menu on the main application window, click objects>plugins>slider

    lol, dident see that


    set the slider max to 255 and put this
    Audio.SetVolume(CHANNEL_NARRATION, e_Pos);
    in slider on pos change event
    Last edited by RizlaUK; 01-27-2008 at 02:02 PM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  4. #4
    Join Date
    Jan 2008
    Posts
    9

    audio control

    Thankyou for the help, works okay but wanted to preset sound to 25 on slider, did it on onshow page Slider.SetSliderPos("Plugin1", 25); if this is not how you would achieve this please let me know.

  5. #5
    Join Date
    May 2006
    Posts
    5,380
    if this is not how you would achieve this please let me know.
    no, thats exactly how i would do it

    but make sure you set the volume to the same lvl as the slider

    Code:
    StartUpVol=25
    Slider.SetSliderPos("Plugin1", StartUpVol); 
    Audio.SetVolume(CHANNEL_NARRATION, StartUpVol);
    Open your eyes to Narcissism, Don't let her destroy your life!!

  6. #6
    Join Date
    Jan 2008
    Posts
    9

    audio control

    Thankyou i did set them at the same level,wanted to put some text on the slider but it will not come to the front, but made a button and put the slider in the button but would have been better to be alble to put text or change the colour of the slider. Thankyou again for you guidance.

  7. #7
    Join Date
    Oct 2007
    Posts
    7
    Hello,
    I guess I am doing something wrong - I added slider, but for some reason it doesn't control the background audio (Project > Audio > Background music). Please advise. Thanks!!!

  8. #8
    Join Date
    Jan 2008
    Posts
    9

    audio control

    Howdy
    change the narration to background

  9. #9
    Join Date
    Dec 2007
    Location
    Baton Rouge, LA
    Posts
    65
    Somehow I can't create a new post but I have a similar question. I have alot of buttons on my apps and I want to have a setting to turn the sound of those buttons off? Can it be done?

Similar Threads

  1. Control System Sound
    By stickck in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 01-22-2006, 06:51 AM
  2. Bonus: Something to Share
    By sside in forum AutoPlay Media Studio 5.0 Examples
    Replies: 79
    Last Post: 03-10-2005, 07:25 AM
  3. Unusual request..
    By M626 in forum AutoPlay Media Studio 5.0
    Replies: 11
    Last Post: 01-07-2005, 07:57 PM
  4. INFO: Troubleshooting ActiveX Control Installation
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-03-2002, 10:19 AM
  5. HOWTO: Register an ActiveX Control
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-27-2002, 02:13 PM

Posting Permissions

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