I’m trying to switch between two variables for the velocity pin when a key is pressed - I want to start the note at 0, switch to 120 with the F key, and then go back to 0 with the F key again, while the timer is already playing, so that it’s in sync with another timer. Can’t get it working for some reason… I’ve attached an image of the blueprint
Here’s video - sound is bad but you can see what’s happening
Two synths set to timers that trigger when the player enters a trigger box - the first synth plays random notes from a C major scale, the second plays a single repeated C note. The second synth begins at velocity 0, then when F is pressed it should switch to 120, and vice versa.
So I’m trying to change the velocity variable of the second synth with a key press but it doesn’t work. It seems like the velocity variable is changing as I want it to, because the string is printing correctly but it’s not actually changing the audible volume of the synth. When I press F the velocity integer seems to be switching between 0 and 120 but I can’t hear the second note that’s on a timer