playMaker

Author Topic: How to make rising pitch sound effect for coins? [SOLVED]  (Read 2168 times)

Neikke

  • Full Member
  • ***
  • Posts: 134
How to make rising pitch sound effect for coins? [SOLVED]
« on: October 10, 2017, 04:51:23 AM »
Is there a way to make a pitching sound effect in PM? When you collect the coins and with each coin in a row - coin sound gets higher and higher? Thanks in advance!
« Last Edit: October 10, 2017, 06:52:05 AM by djaydino »

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: How to make rising pitch sound effect for coins?
« Reply #1 on: October 10, 2017, 05:02:21 AM »
Put play audio and timer (float variable + add float) on the first coin, on the second coin put compare float, if timer float > defined value for triggering higher pitch sound play higher pitch sound (or rise sound pitch) and restart timer by setting float to 0. If timer float < defined value, play regular pitched clip or lower pitch value, or however you want it to function. Rinse and repeat.
« Last Edit: October 10, 2017, 06:25:11 AM by krmko »
Available for Playmaker work

Neikke

  • Full Member
  • ***
  • Posts: 134
Re: How to make rising pitch sound effect for coins?
« Reply #2 on: October 10, 2017, 06:23:48 AM »
Aha I see! Now I start to understand it! By the way did you mean ">" in the first case?

Thanks a lot!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: How to make rising pitch sound effect for coins?
« Reply #3 on: October 10, 2017, 06:25:22 AM »
Yes, >, sorry about that.
Available for Playmaker work

Neikke

  • Full Member
  • ***
  • Posts: 134
Re: How to make rising pitch sound effect for coins?
« Reply #4 on: October 10, 2017, 06:39:03 AM »
Thanks a lot man!

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: How to make rising pitch sound effect for coins? [SOLVED]
« Reply #5 on: October 10, 2017, 07:00:44 AM »
NP, yell if you need some more help. Great thing is that you can make prefabs of 3, 5, 10, 15 coins, whatever. But if you're laying groups of coins close to each other, make sure the first one in every group also has timer checking so it can be compared to the timer of the last coin in the previous group.
Available for Playmaker work

Neikke

  • Full Member
  • ***
  • Posts: 134
Re: How to make rising pitch sound effect for coins? [SOLVED]
« Reply #6 on: October 10, 2017, 07:09:00 AM »
Yep that definitely makes sense! I'll try it! :)