Change pitch of sound cue while playing, without starting travk over?

Hi guys. Im trying to change the pitch of my game’s background music while its playing without stopping or restarting the sound cue. I need the pitch multiplier variable to increase to 1.5 once there are less than x number of collectibles left in the level.

I saw a video that uses a continuous modulator inside the cue, but he sets the volume each time that sound cue is fired. I need it to be done on the same instance of the same track.

I know this is possible since it was done in the first super mario brothers in the 80s.

Do you guys know how to accomplish this? It would be a big win if i could figure this out.

Thanks guys

Does a pitch multiplier node not do it?
image

Well it needs to fire the play sound node again to check the pitch variable again i think. I need it to check that pitch input while its playing, or somehow let a play sound node fire again without starting the track over. Any ideas? Thanks for the reply.

You can tie parameters of the sound to the multiplier node used in the sound playback, and then update that parameter on the playing sound instance.

OK I’m not quite sure what you mean. I know about parameters in a sound cue, but what is this multiplier node? You mean the pitch pin? And how would I update the parameter? Not sure what you mean by on the playing sound instance. Thanks for your reply and I hope to hear from you again.