Hello.
I need to play audio using filestream when something happens, and I have do-seek on, I need to click do-seek button just once. When I try to do it, it keeps sending 1 endlessly, therefore audio file stays at 0 all the time. How can I replay audio file?
My logic is like:
if 1 is equal to 1 then send signal to do-seek and replay the audio. Hope you understood.
Thank you.
yes, use a TogEdge after the = and connect the Up Edge OR to combine the three… but its moire easy to use Change node in your case on the number directly.
for that you can use 3 FilesStreams and 3 AudioOut and connect each TogEdge to the Do Seek of the appropriate FileStream.
or use the WavePlayer, it can handle a spread of audio files and you can trigger each one individually. see its help patch…
if you only get the number of the selected language but not the button click, then you don’t have the information of pressing the same button again. so what you need is the up edge of the buttons this would solve the problem directly.