Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sound() volume

edited September 2012 in Questions Posts: 58

Is there any way to adjust the volume of the sound() function, or even of the iPad in general (with in the program)?

Tagged:

Comments

  • SimeonSimeon Admin Mod
    Posts: 5,054

    Unfortunately I haven't documented this, but sound can accept a third parameter between 0.0 - 1.0 specifying the volume. So:

    -- The third parameter is volume
    sound( SOUND_JUMP, 1234, 0.5 )
    
  • Thank you @Simeon . This will really let me be able to help make my program less annoying for those people who don't like my sounds.

Sign In or Register to comment.