How do I add gain to a sound

0 favourites
  • 5 posts
From the Asset Store
ADD ME ALL
$29 USD
A super duper mental math activity to practice addition with unlimited combinations.
  • Hi there !

    i have a pretty simple question, yet i can't find any way to do it : How can i add gain to a sound?

    i managed to reduce the volume by adding negative Dbs, like "add effect to tag"" (-3db)", but adding 3 db dosen't seem to work. i don't know what's wrong here, but it's pretty crazy. here is a capx to show you this : http://www.mediafire.com/download/xt8z1 ... s+son.capx

    the only thing i'd like to do is to add more volume (more gain if you prefer) to the sounds everytime i click on the middle ou right button. but it doesn't work at all. i tried to add +3db, but the + isn't accepted, and -(-3)db dosen't work too, so i'm stuck.

    i suppose there is a really simple solution, but i tried a lot of things before posting here, and could'nt find any .

    thank you for your future help

  • E=mc^2

    E_k=1/2mv^2

  • Use a global variable,

    Every time you left click on text,add +1 to it.

    Then play the sound at that Global variable value

    That's the power of Global Variables.

  • that's... just... perfect .

    thanks a lot, it's been a while since i used construct 2 and i completely forgot this!.

    on the other hand, it doesn't answer why the gain audio effect only works for decreasing the audio...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • on the other hand, it doesn't answer why the gain audio effect only works for decreasing the audio...

    If it works perfectly,why do you even bother using gain again?

    Anyway,when you press the left mouse button,you again set it to -30 db.So gain does not have any effect.

    I think gain works for already playing sounds.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)