Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Example: song_freq is 44100 for normal speed and 5000 for slow-mo
- */
- //Set frequency of song:
- FMODInstanceSetFrequency(ins_song,ceil(song_freq));
- //Set pitch of all sounds in effects-group:
- FMODGroupSetPitch(2,0.3 + ((song_freq/44100)*0.7));
Advertisement
Add Comment
Please, Sign In to add comment