Generating sound in-GameSalad
Fang
Member Posts: 33
Heya folks
I have this idea of a little game revolving around musical tunes, and I was wondering, is there any way to have GameSalad generate a short tone related to the position of an actor on the screen?
As in, when my ball bounces onto a pad, I want the game to take the position of the ball, use it to create a sound (x,y ; distortion,pitch level (or something similar)), and play said sound.
Is that even possible?
Thanks,
~ Fang
I have this idea of a little game revolving around musical tunes, and I was wondering, is there any way to have GameSalad generate a short tone related to the position of an actor on the screen?
As in, when my ball bounces onto a pad, I want the game to take the position of the ball, use it to create a sound (x,y ; distortion,pitch level (or something similar)), and play said sound.
Is that even possible?
Thanks,
~ Fang
Comments
********************************************
GS CHAT ROOM HERE:http://gsgame.epiggames.com/chat
Also, is there an easy way of entering a bit of your own javascripts into GameSalad or something? Might be a solution...
Ace
There aren't any other audio "filters" unfortunately, but this is a "game making program", not a "synth making program"! I wish!
the way "pitch" works in GS is so:
Original pitch is set at value "1"
To lower the pitch by a semi tone (half tone) change to: 0.95
To lower by a full tone step, change to: 0.9
To lower by one and a half tones, change to: 0.85
The same goes for raising the pitch as then, you use 1.05 for a semi tone up and 1.1 for a full step up (as in C > D) and so on ....
Now here is the tricky part. Unfortunately, depending on the sound (some sounds are easier to pitch shift than others) you will need to tweak those settings.
This means that up to three digits (after the comma) are needed to get the precise sound you want. Example: 0.945 (instead of 0.95)
I simply play the sounds in the simulator and use a tuner on my iphone or ipad to get the right value. It doesn't take long to get the hang of it
Ace
I use the "n-Track Tuner" which for my needs, works best!
But as Ace says, any tuner will do just fine.