I used visual logic to put sounds on a game show lower third.
If the score is 0 points, there's a "loose" sound and everything over 0 has a "win" sound.
It's working fine until I close the project an open it again. Everytime the scene is played the first time, the 2 sounds come together. The only workaround I found for now is to tap UP and DOWN once on every widget. After that everything is working fine. But this can't be a durable solution.
Here is the logic I made for the audio part of the scene:
This is a perfect scenario to use Dashboard. It can change the score, play the sounds with a single click on the dashboard. I know this isn't the answer to your question, but it's a way to get it done simply.
Thanks for the input Malcolm, but we are not using Dashboard in this project.
Triggering audio in XPression based on Visual Logic can be a daunting task, I know.
Using Dashboard could be a solution, but sometimes you don't want to go through all of that hassle of setting up Dashboard and you just want it to work from inside XPression.
From what I can tell from your screenshots, you're using the materials Play and Stop-actions inside your Visual Logic.
Since you say they start to play as soon as your scene is put online, my first guess would be that the videoclips are set to Autoplay? They should be set to Stopped.
If that doesn't solve the issue, you could try a slightly different approach by putting your video's on a separate Scene Director. So for example use one Scene Director for the "AUDIO_RICHTIG" and another one for "AUDIO_FALSCH".
Then instead of using the Material Actions in your Visual Logic, you need to use the Scene Director Actions which you can find under the Scene-menu.
This is my preferred approach, especially because it also gives you the opportunity to use a simple audio file for your soundFX instead of a transparent videofile which makes the scene less heavy. Also using an audio-file you have a little bit control on the volume level as well by adjusting the volume level in the Scene Director itself.
But one word of caution when you use audio files on a Scene Director track, don't put it on position 0, otherwise everytime you recue the Scene Director, you'll hear the first frame of the audio. If you put it on frame position 1, you won't have that issue.
Sorry for the late reply, I could only continue to work on that project since yesterday.
Setting the video files on «stopped» didn't work, the clips stood stopped. BUT the second solution, with different Scene Directors worked out great. Now it's exactly how I imagined it should be.
Best regards and many thanks for your help!
Passionate about live production, Ross Video designs, manufactures and delivers dependable technology and services that power exceptional live video productions seen by billions of viewers around the world every day.
62 Auriga DriveNepean, OntarioCanada, K2E 7W6
Phone+1 613 228-0688Emailcommunity@rossvideo.com