|
Post by tonytony on Feb 12, 2016 17:40:49 GMT
Hi all,
We're trying to create a scratching sound effect in our game. I'm thinking of doing this by speeding up/down tempo of the current song by multiplier x but I don't see this functionality yet.
Can you help me achieve this please?
Thanks,
|
|
|
Post by DarkTonic Dev on Feb 12, 2016 18:14:58 GMT
There are no tempo controls in this product. In fact its on the anti-roadmap (2nd post in roadmap thread). You can directly set the pitch of current playlist song, but nothing knows about tempo or BPM.
The code should be:
PlaylistController.Instances[0].ActiveAudioSource.pitch = 2f;
|
|