Controlling Sound Volume

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Worm
    Indigo Rose Customer
    • Jul 2002
    • 3971

    Controlling Sound Volume

    I just finished writing my first C++ DLL.

    It's nothing spectacular, but it is something I wanted to be able to do from within AMS4. So here it is in all it's glory in a sample application. I hope others can find a use for it too.

    wSoundDLL.dll

    Allows you to control the Wave Volume from within your application. I know you can execute the SndVol32.exe to get a volume control, but I wanted to be able to make the volume control integrated in my design.

    Download it here
  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Re: Controlling Sound Volume

    Sweet, I can hardly wait to try it out. Thanks!

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment

    • kpsmith
      Forum Member
      • Jul 2000
      • 332

      #3
      Re: Controlling Sound Volume

      Really cool...

      The Volume control works great. Now I just have to come up with a project to use it for.

      Comment

      • tbybee
        Indigo Rose Customer
        • Jul 2000
        • 100

        #4
        Re: Controlling Sound Volume

        That's very nice. Good Job. I've looked at the source, but I cannot figure out how you are swapping the background image. I see you have an image on top of, but I don't see what's causing it to show/hide in the app.

        Thanks

        Tony

        Comment

        • Worm
          Indigo Rose Customer
          • Jul 2002
          • 3971

          #5
          Re: Controlling Sound Volume

          Look in the OnProgress of the MP3 player and you'll see the code.

          Comment

          • eric_darling
            Indigo Rose Customer
            • Jun 2002
            • 1805

            #6
            Re: Controlling Sound Volume

            Worm, you have my nomination for the AMS developer of the year - keep it coming, my mud munchin' man!
            Eric Darling
            eThree Media
            http://www.ethreemedia.com

            Comment

            • Corey
              Indigo Rose Staff Alumni
              • Aug 2002
              • 9745

              #7
              Re: Controlling Sound Volume

              I'll second that...

              Corey Milner
              Creative Director, Indigo Rose Software

              Comment

              • tbybee
                Indigo Rose Customer
                • Jul 2000
                • 100

                #8
                Re: Controlling Sound Volume

                Thank You! Very good stuff....

                What about a "mute" toggle button. How would one go about that?

                Thanks

                Comment

                • Worm
                  Indigo Rose Customer
                  • Jul 2002
                  • 3971

                  #9
                  Re: Controlling Sound Volume

                  I'm working on that right now. Hopefully when I'm done the DLL will control the Master Volume, Wave Volume and Muting. If I'm lucky, I can get the other volumes too (CD, Line In, Mic, etc..)

                  Comment

                  • Corey
                    Indigo Rose Staff Alumni
                    • Aug 2002
                    • 9745

                    #10
                    Re: Controlling Sound Volume

                    If you can tweak it so it works on mother-in-laws too you'll be a rich man...

                    Corey Milner
                    Creative Director, Indigo Rose Software

                    Comment

                    • Lorne
                      Indigo Rose Staff Member
                      • Feb 2001
                      • 2729

                      #11
                      Re: Controlling Sound Volume

                      LOL Corey. I nearly spit lunch all over my monitor. [img]/ubbthreads/images/icons/smile.gif[/img]
                      --[[ Indigo Rose Software Developer ]]

                      Comment

                      • yosik
                        Indigo Rose Customer
                        • Jun 2002
                        • 1858

                        #12
                        Re: Controlling Sound Volume

                        Forget about volume control for Mother-inLaw.
                        Just a mute button should be enough.... in self activating mode as the default.

                        Comment

                        • Worm
                          Indigo Rose Customer
                          • Jul 2002
                          • 3971

                          #13
                          Re: Controlling Sound Volume

                          I was just informed that the ZIP file for this project was a little mixed up. Files weren't being placed where they were supposed to and it made for an ugly scene when the project was run. SORRY!

                          Anyhow, I fixed the zip file and it should work properly now.

                          Comment

                          • Corey
                            Indigo Rose Staff Alumni
                            • Aug 2002
                            • 9745

                            #14
                            Re: Controlling Sound Volume

                            Ka-ching!

                            (Not to be confused with I-Ching, chinese book of changes)

                            Corey Milner
                            Creative Director, Indigo Rose Software

                            Comment

                            Working...
                            X